Commit Graph
1290 Commits
Author SHA1 Message Date
Joshen Lim 88bbe7042a Chore/update filter sort table editor to new popover (#25832)
* Update table editor FilterPopover to new popover component

* Update table editor SortPopover to new popover component

* Don't close popovers

* Address feedback
2024-05-13 12:36:51 +08:00
Joshen LimandTzeYiing d025e0f739 chore/fix studio jest tests (#25872)
* Fix tests in tests/unit, tests/components and files under tests, looking into tests/pages

* Fix tests under pages/projects root

* Fix

* Comment out broken tests that im stuck with

* Fix api-report.test

* Fix storage-report-test

* chore: fix some tests

* chore: remove logging

* Fix LogsPreviewer.test.js

* Fix most of logs-query-test

* Skip broken tests instead of false positiving them

---------

Co-authored-by: TzeYiing <ty@tzeyiing.com>
2024-05-11 12:05:25 +02:00
Alaister Young 155570bfa7 fix: allow sql language functions (#25986) 2024-05-10 09:48:49 -02:30
Wen Bo Xie db24eb2e90 fix: revert renaming vector to pgvector on the client (#25911)
* Revert "docs: rename vector to pgvector (#23308)"

This reverts commit c30d5f0b1f.

* Revert "docs: update vector reference to pgvector (#23305)"

This reverts commit b2bae1351c.

* Revert "Fix vector extension (#23386)"

This reverts commit 7341b30c27.

* Revert "Rename vector to pgvector on client side (#23286)"

This reverts commit b48b6e201b.

* docs: add note to pgvector docs that ext name is vector

* fix: add link to vector ext card
2024-05-09 21:19:02 -07:00
Jonathan Summers-MuirandJordi Enric e19b3f53bf Chore/tidy s3 creds (#25871)
* chore: use standard primitives for dialog

* chore: remove gap-4 from dialogs

* chore: missing DialogSection

* update stories

* Update S3Connection.tsx

* Update S3Connection.tsx

* Update S3Connection.tsx

* Update S3Connection.tsx

* add which credential youre deleting in the dialog

---------

Co-authored-by: Jordi Enric <jordi.err@gmail.com>
2024-05-08 17:08:04 +02:00
ec86bbc4fe feat: new auth ia (#22812)
Co-authored-by: Kang Ming <kang.ming1996@gmail.com>
Co-authored-by: Joel Lee <lee.yi.jie.joel@gmail.com>
2024-05-07 20:15:06 +00:00
Charis e8ae1a4dd7 chore: add app router favicon data (#25789)
Common package currently exports pages router favicons, but not app
router favicon data. Makes an app router version.

Usage:

```
// app/layout.tsx

const basePath = getBasePathForThisApp()

const metadata: Metadata = {
  icons: genFaviconData(basePath),
  ...
}
```
2024-05-07 10:27:23 -04:00
Kamil Ogórek b18be7e4d2 feat: Allow for configuring target envs for Vercel integration (#25782) 2024-05-07 21:19:07 +10:00
1afaae6447 Chore/reports read replicas filter (#23711)
* Scaffold for API reports

* Add support for filtering database reports by replicas

* midway adding read replica support for custom reports

* Refactor reports page to use react query and deprecate project content mobxstore

* Reports add chart labels if metric is read replica specific

* Give an easier way to remove charts from reports

* make reports layout non-blocking

* Update apps/studio/components/interfaces/Reports/Reports.tsx

Co-authored-by: Alaister Young <alaister@users.noreply.github.com>

---------

Co-authored-by: Alaister Young <a@alaisteryoung.com>
Co-authored-by: Alaister Young <alaister@users.noreply.github.com>
2024-05-07 16:44:23 +08:00
Terry SuttonandJoshen Lim 02c0d75dfb Add comboboxes to the index side panel dropdowns (#25821)
* Add comboboxes to the index side panel dropdowns

* Add loading state for create index panel select a table field

* Add placehholder for columns field in create index side panel

---------

Co-authored-by: Joshen Lim <joshenlimek@gmail.com>
2024-05-07 15:15:06 +08:00
Charis 94c906b377 refactor: clean up useClient (#23280)
Move useClients to the actual file instead of index files, so that (a) we don't
ship unnecessary client-side code and (b) we don't get the "can't dot into
client component from server" error when trying to use MDX in RSCs.
2024-05-06 15:57:44 -04:00
Terry SuttonandJonathan Summers-Muir d7d90f81e8 Chore/connect font colours (#23450)
* Fix connect tab colours

* update tabs

* Update styles

---------

Co-authored-by: Jonathan Summers-Muir <MildTomato@users.noreply.github.com>
2024-05-03 16:38:27 -02:30
Charis 2f4f0adbd1 rework tabs query state to work better across both routers (#23253)
Refactor tabs so that:

- Behavior add-ons, such as query params, are HOCs in ui-patterns, to keep the basic Tabs minimal
- No dependency on next/router (this is to smooth out a separate App Router migration PR)
- No dependency on useSearchParams either (this is to preserve static generation of as much HTML content as 
  possible, for SEO purposes -- see comment about client-rendering bailout when using useSearchParams)
- Syncing behavior better localized in a hook

Minor enhancement to save tab preferences to local storage so they are remembered between sessions
2024-05-02 14:50:07 -04:00
pqoqubbw b149fa975d docs: fix CodeBlock width on initial render (#23668) 2024-05-02 16:25:04 +00:00
855a117f5c feat: add advanced teams / enterprise auth settings (#23418)
* feat: add advanced teams / enterprise auth settings

* tweaks + upgrade prompt

* update codegen

* Fix newline at end of file in api.d.ts

---------

Co-authored-by: Alaister Young <alaister@users.noreply.github.com>
Co-authored-by: Alaister Young <a@alaisteryoung.com>
2024-05-02 09:23:15 +02:00
Joshen Lim 0d292c668d Contextual error toasts for deleting referenced rows (#23135)
* Contextual error toasts for deleting referenced rows

* Update message
2024-05-02 13:58:52 +08:00
Kamil Ogórek c74ba90576 ref: Use better error message for SSO provider mismatch for invites (#23438) 2024-04-30 21:17:09 +10:00
Joshen Lim 154632921f update walg chekc on read replicas page (#23283) 2024-04-30 17:49:39 +08:00
Ziinc dc9b484acc docs: logs identifier field (#23410)
docs: add identifier field to reference
2024-04-30 08:35:42 +08:00
Alaister Young d7f6fc6970 feat: branching on pricing page (#23213) 2024-04-27 13:37:51 +08:00
Jonathan Summers-MuirandJoshen Lim 8f44716e72 feat: TreeView primitive (#21960)
* init TreeView

* init

* update stories and type

* editing capability

* Update TreeView.tsx

* Add multiselect example

* clean

---------

Co-authored-by: Joshen Lim <joshenlimek@gmail.com>
2024-04-26 16:33:29 +07:00
Kevin Grüneberg 10c1bc7959 chore: bump next/turbo (#23285) 2024-04-26 13:08:38 +08:00
Terry Sutton a5d00f9923 Chore/rename open ai key name (#21856)
* Rename OPENAI_KEY to OPENAI_API_KEY

* Force a redeploy
2024-04-25 09:38:56 -02:30
Jonathan Summers-MuirandIvan Vasilov c73af5ec8f move to shared types (#23210)
* move to shared types

* Rename the package to api-types.

* Fix a forgotten dependency.

* Add more forgotten deps.

---------

Co-authored-by: Ivan Vasilov <vasilov.ivan@gmail.com>
2024-04-24 11:03:17 +02:00
Pedro CarlotoandCharis 0116711a8a Update cli.mdx (#22564)
* Update cli.mdx

Added details on how to install the Supabase CLI

* Update apps/docs/content/guides/cli.mdx

---------

Co-authored-by: Charis <26616127+charislam@users.noreply.github.com>
2024-04-23 13:25:47 +00:00
Francesco Sansalvadore 9c452145ae Eagle end (#22992) 2024-04-20 20:45:06 +02:00
Charis 19b64ef9b2 refactor: move docs search logic into own hook (#22914) 2024-04-19 12:44:46 -04:00
731f9d703e Eagle 5 (#22907)
* d5 announcements

* Adds both posts

* Add YC logo

* change names

* fix slugs

* Adds content

* images

* Update Quote.tsx

* clarity

* d5 assets

* banner link

* ga link in footer

* Grammar and spelling

* move image up for consistency

* grammar

* fix my mistake

* markdown formatting

* Fix details tag

* blog img optimizations

* blog img optimizations

* fix blog link

---------

Co-authored-by: Copple <10214025+kiwicopple@users.noreply.github.com>
Co-authored-by: Jonathan Summers-Muir <MildTomato@users.noreply.github.com>
Co-authored-by: Terry Sutton <saltcod@gmail.com>
2024-04-19 16:24:21 +02:00
Thomas 124205b27f Show correct subscription plan features for AWS billed org [GEN-8844] (#22824) 2024-04-19 09:49:39 +02:00
Terry Sutton 8916d8022b Chore/linter v3 (#22842)
* Add links to docs, new categories and update lint script

* Split linter into security and performance

* Move not found to own component

* Move type

* Split linter into two pages, DRY components

* Cleanup
2024-04-18 14:23:11 -02:30
Ivan Vasilov 5e5f73af50 chore: Make the category names uppercased in the Studio sidebar (#22871)
Make the category names uppercased.
2024-04-18 13:42:23 +00:00
8864e5633c docs: storage s3 protocol (#22647)
* docs: storage s3 protocol

* fix: edits

* docs(storage): added ownership,management,custom-roles docs

* chore: fix prettier

* docs: fix formatting & rephrase some bits

* fix: edits

* add error codes documentation

* update docs

* Adds blog post

* Adds embeds

* chore: update images

* parquet video

* Update thumb.png

* some doc updates

* Adds compat list

* guide: cyberduck

* doc updates

* ga page data

* blog updates

* update image

* Update 2024-04-18-s3-compatible-storage.mdx

* Update supabase-contributions.png

* blog update

* moves cyberduck to integrations

* updated multipart section blog

* Update 2024-04-18-s3-compatible-storage.mdx

* update blog

* fix link

* blog updates

* update blog

* docs update

* update announcement banners

* update

* update build stage

* update

---------

Co-authored-by: Charis <26616127+charislam@users.noreply.github.com>
Co-authored-by: Kang Ming <kang.ming1996@gmail.com>
Co-authored-by: Inian <inian1234@gmail.com>
Co-authored-by: Copple <10214025+kiwicopple@users.noreply.github.com>
Co-authored-by: Jonathan Summers-Muir <MildTomato@users.noreply.github.com>
Co-authored-by: Francesco Sansalvadore <f.sansalvadore@gmail.com>
Co-authored-by: Francesco Sansalvadore <francescosansalvadore@mac.wind3.hub>
2024-04-18 14:57:16 +02:00
Jonathan Summers-MuirandIvan Vasilov c59141f83c chore: Reorder database links (#22835)
* chore: move column priv

* update docs

* Minor fixes for column privileges. Add an explanation alert.

* Add a right icon to productMenuItem component.

* Rename the database replication into publications.

* Change the order for the database menu.

* Fix various links to db publications.

* Remove duplicate entry.

---------

Co-authored-by: Ivan Vasilov <vasilov.ivan@gmail.com>
2024-04-18 09:38:24 -02:30
Osama AkhtarandCharis 6d165f45d8 fix: Escape new lines for DocsSearch (#22655)
* fix: Escape new lines for DocsSearch

* chore: remove console.log

* fix: replace with encodeURIComponent

---------

Co-authored-by: Charis <26616127+charislam@users.noreply.github.com>
2024-04-17 15:35:27 +00:00
34d152ce78 Eagle 3 (#22834)
* update d3 data

* feat: add blog post

* fix: update title & add admonition

* image update

* update SVGs

* fix: update title and codeblocks

* add build item

* remove comment

* fix: add video iframe

* better blog thumb quality

* correct yt id

* Update apps/www/_blog/2024-04-17-anonymous-sign-ins.mdx

* Update apps/www/_blog/2024-04-17-anonymous-sign-ins.mdx

* fix: format codeblocks

---------

Co-authored-by: Francesco Sansalvadore <francescosansalvadore@MacBook-Pro-2.local>
Co-authored-by: Kang Ming <kang.ming1996@gmail.com>
Co-authored-by: Jonathan Summers-Muir <MildTomato@users.noreply.github.com>
Co-authored-by: Terry Sutton <saltcod@gmail.com>
2024-04-17 21:13:24 +07:00
Kang Ming 2bf347a585 fix: update pricing for anonymous users (#22826) 2024-04-17 18:22:33 +07:00
Bobbie Soedirgo 1d58f2a11b chore: use @supabase/pg-meta for role queries (#22821)
* chore: use @supabase/pg-meta for role queries

* chore: prettier

* fix: typo
2024-04-17 16:19:49 +07:00
Bobbie SoedirgoandAlaister Young f327f2b234 chore: use @supabase/pg-meta for schema mutation (#22619)
* chore: use @supabase/pg-meta for schema mutation

* fix schemas query invalidation

---------

Co-authored-by: Alaister Young <a@alaisteryoung.com>
2024-04-17 11:04:21 +07:00
Charis 9159bcf455 fix: future-proof sending of feedback query (#22754) 2024-04-16 20:03:39 -04:00
Francesco SansalvadoreandFrancesco Sansalvadore d00e9c7f9b d2 cleanup (#22791)
* update announcement

* set today

---------

Co-authored-by: Francesco Sansalvadore <francescosansalvadore@MacBook-Pro-2.local>
2024-04-16 17:09:35 +02:00
88f26ef22f eagle 2 (#22789)
* init

* deep dark on dark mode

* add twitter spaces

* bg color

* improve hp hero badge spacing

* blog outline

* updates title

* some text updates

* Adds more details

* first images

* update images

* restore dark theme on unmount

* update announcement banners

* update

* update illustrations

* ga week summary blog card

* update d2 blog link

* update d2 blog link

* hide vid atm

* add link to guide

* Adds links

* add correct video id

---------

Co-authored-by: Jonathan Summers-Muir <MildTomato@users.noreply.github.com>
Co-authored-by: Francesco Sansalvadore <francescosansalvadore@MacBook-Pro-2.local>
Co-authored-by: Copple <10214025+kiwicopple@users.noreply.github.com>
Co-authored-by: Inian <inian1234@gmail.com>
2024-04-16 16:35:19 +02:00
Kevin Grüneberg efde463826 chore: upgrade to next 14.2 (#22662) 2024-04-16 14:13:55 +08:00
f569a46528 feat: add docs and creds management for storage connections (#22620)
* add docs, and creds management

* FIx api types.

* add accesskey to table

* cmt

* fix issues, url, styles, rm unused mutation keys

* Apply suggestions from code review

Co-authored-by: Jonathan Summers-Muir <MildTomato@users.noreply.github.com>

* renaming of things and use correct compos

* Update apps/studio/components/to-be-cleaned/Storage/StorageSettings/S3Connection.tsx

Co-authored-by: Inian <inian1234@gmail.com>

* rename storage url to endpoint

* when a user clicks the X after creating a credential, reset the form

* Fix button component disabled state when loading is true, and add docs url to s3 connection section

* Fixes

* fix btn disabled prop not reaching btn

---------

Co-authored-by: Jonathan Summers-Muir <MildTomato@users.noreply.github.com>
Co-authored-by: Ivan Vasilov <vasilov.ivan@gmail.com>
Co-authored-by: Inian <inian1234@gmail.com>
Co-authored-by: Joshen Lim <joshenlimek@gmail.com>
2024-04-15 19:32:06 +02:00
Guilherme Souza c7217582ab chore: official supabase-swift (#22678)
* chore: remove community badge from supabase-swift

* chore: update realtime swift reference

* fix typo

* chore: update swift references

* chore: fix misspelling of behavior
2024-04-16 00:01:01 +10:00
35de059bbd Feat/eagle 1 (#22730)
* content structure

* remove component

* reorder sections

* eagle new path

* nav

* meetups

* update lw11-og function with service key

* add ticket button in sticky nav

* disable and exit game when not in view

* enable light mode

* add placeholders

* highlights

* update

* typo

* fix mainDays import

* update og image

* update sections

* add hackathon link

* add video id

* add spaces and update ga

* remove highlights

* enterprise section

* highlights

* Adds the bootstrap post

* Updates the desc

* fixing tags

* fixing authors

* fix the admonition

* Adds the AWS post

* fixing categories

* Adds LW number

* Adds the branching post

* fix description

* chore: minor typos in blog post

* swift scaffold

* fix dates on all posts

* adds chris as the author

* Adds the branching tagline

* Adds oriole post

* updates oriole

* Fix caption

* Adds the YT video

* update GA page

* adds branching publicly available post

* bootstrap image update

* updated AWS images

* first section in GA

* update CLI bg

* Updates community

* fix build

* Adds scale section

* Adds all the sections

* updated images

* chore: adds partners and integrations

* padds out the swift post

* chore: whats new

* chore: whats next

* add chart

* updates AWS page

* chore: ai names

* section numbering

* Adds some stats for the community

* Adds humat

* edits

* edits

* update announcements

* add star growth

* update videoid

* Adds edits

* Update ga.tsx

* build stage svg color

* remove meetups link

* remove backticks

* update chart

* Add PWC

* add community stats

* Adds full URLs

* fix charts

* fix whats new

* fix broken HTML

* Fix orderign

* Fix swift video

* fix list

* spelling

* Update ga.tsx

* merge

* update community stats

from Ants feedback

* chore: links and small changes

* Change the category for Oriole

* add bg support

* Update ga.tsx

* fixes formatting on the quote

* update cta

* fixes

* add vercel partner

---------

Co-authored-by: Francesco Sansalvadore <f.sansalvadore@gmail.com>
Co-authored-by: Francesco Sansalvadore <francescosansalvadore@MacBook-Pro-2.local>
Co-authored-by: Francesco Sansalvadore <francescosansalvadore@mac.wind3.hub>
Co-authored-by: Copple <10214025+kiwicopple@users.noreply.github.com>
Co-authored-by: Han Qiao <sweatybridge@gmail.com>
Co-authored-by: Alaister Young <a@alaisteryoung.com>
Co-authored-by: awalias <antwilson@hotmail.co.uk>
2024-04-15 12:16:43 +02:00
Charis 54e0fcc719 fix: code block styling (#22679)
Code blocks are also used for inline code in docs, and are broken with
the wrapping div because they become block elements.

The div was added in PR ##22641 (the index advisor PR), so I checked for
regressions on Query Performance page and none found.
2024-04-12 12:59:39 -04:00
b07f8304e0 Feat/integrate index advisor (#22641)
* Update

* Clean up + fix UI

* Add data values to tab

* Add comment

* Format sql query in query details

* Clean uo

* Deprecate old files

* Address comments

* chore: update styles (#22591)

* Midway integrating index advisor

* Add feature flag, reinstate old UI for feature flag

* First iteration of integrating index advisor

* Add more details in index advisor and add feature flag

* Shift explain_query function into pg_temp

* Clean uo

* fix padding

* Update apps/studio/components/interfaces/QueryPerformanceV2/QueryPanel.tsx

Co-authored-by: Alaister Young <alaister@users.noreply.github.com>

* Update UI

* Address some feedback

* Moar addressing feedback

* Update docs url

---------

Co-authored-by: Jonathan Summers-Muir <MildTomato@users.noreply.github.com>
Co-authored-by: Alaister Young <alaister@users.noreply.github.com>
2024-04-11 23:27:34 +08:00
ec59752bc0 Query Performance Facelift (#22568)
* Update

* Clean up + fix UI

* Add data values to tab

* Add comment

* Format sql query in query details

* Clean uo

* Deprecate old files

* Address comments

* chore: update styles (#22591)

* Add feature flag, reinstate old UI for feature flag

* Update apps/studio/components/interfaces/QueryPerformanceV2/QueryPerformance.tsx

Co-authored-by: Alaister Young <alaister@users.noreply.github.com>

* Update apps/studio/components/interfaces/QueryPerformance/QueryPerformance.tsx

Co-authored-by: Alaister Young <alaister@users.noreply.github.com>

* Address feedback

---------

Co-authored-by: Jonathan Summers-Muir <MildTomato@users.noreply.github.com>
Co-authored-by: Alaister Young <alaister@users.noreply.github.com>
2024-04-11 12:57:46 +08:00
Francesco Sansalvadore 3b11b9e1d7 update functions page (#22111)
* add products pag subnav

* functions page first sections

* new functions page sections

* functions dx section images

* functions hero layout setup

* functions page hero animation

* final cta

* revisit functions page structure

* functions realtime logs animation

* functions query logs animation

* function metrics chart

* finish edge functions hero animation

* finish edge functions metrics graph

* update products cta section

* edge functions page code cleanup

* restore Panel

* restore code block bg

* pause timed sections when not in view to optimize perf

* create new code window component and add functions code snippets

* finish edge functions

* update functions page

* improve animation timing in functions page

* fix type error

* clean up functions page code

* update swiper and fix hydration errors

* fix swiper module import

* fix swiper css import

* image bg

* edge functions page details fix

* fix scroll bug

* edge functions page

* finalize edge functions page

* add anchors and improve semantics

* remove double prop

* add links to docs

* add link to edge runtime

* fix timed panel progress bar retrigger

* fix timed accordion progress bar retrigger
2024-04-10 11:51:26 +02:00
Inian deb74b34cf fix: add cdn to the pricing page (#22557) 2024-04-08 04:21:27 +00:00