Commit Graph
28194 Commits
Author SHA1 Message Date
Charis 4fbcd61e95 feat: new command menu pt 1 (#23699)
Introduces the first (very small) slice of the new command menu as a `ui-pattern`.

This slice just handles state for available commands. It isn't hooked up to anything yet.
2024-06-04 14:32:13 -04:00
Liam BirkinandCharis 87863d8173 docs:update broken links to GoTrue to go to Auth (#26989)
update broken links to GoTrue to go to Auth

Co-authored-by: Charis <26616127+charislam@users.noreply.github.com>
2024-06-04 18:28:08 +00:00
f00fandCharis ff7b2909a7 Update supabase_js_v2.yml (#26992)
Co-authored-by: Charis <26616127+charislam@users.noreply.github.com>
2024-06-04 18:15:47 +00:00
Charis 0c1ab7e2e5 refactor: factor out markdown processing utils (#26729) 2024-06-04 14:00:24 -04:00
Charis 3ceb6c5a66 docs: correct max storage upload size (#26976) 2024-06-04 13:51:02 -04:00
Tyler e402fb90ad docs: Add missing sample responses to the Flutter reference docs (#26935)
* reformat the existing responses

* change the format of the code block to json

* Add responses for the select query

* docs: Adds response and data to basic postgrest methods

* docs: Add sample response to all postgrest methods

* docs: Add MFA responses

* Add responses for auth admin methods
2024-06-05 00:59:07 +09:00
Tyler 1cb2d90727 docs: Add JSON and pg_jsonschema videos to the docs (#26926)
docs: add json query video and pg_jsonschema video to the relevant docs page
2024-06-05 00:58:58 +09:00
Kevin Grüneberg 56c9b5e651 chore: adapt to new payment endpoints (#26990) 2024-06-04 21:13:11 +08:00
Alaister Young 99af0e4483 Revert "[Dashboard] New project form now using react-hook-form" (#26995)
Revert "[Dashboard] New project form now using react-hook-form (#26808)"

This reverts commit 2dc2178dcc.
2024-06-04 13:09:43 +00:00
Alaister Young 6547f02d14 Revert "Project creation pre select region" (#26994)
Revert "Project creation pre select region (#26991)"

This reverts commit 8886f011c0.
2024-06-04 13:01:24 +00:00
Ivan Vasilov 09b4e2b336 fix: Check the message if it's a string when handling API errors (#26436)
Check for string when handling API errors.
2024-06-04 13:22:46 +02:00
Joshen Lim 8886f011c0 Project creation pre select region (#26991) 2024-06-04 19:07:33 +08:00
Jonathan Summers-MuirandJoshen Lim 2dc2178dcc [Dashboard] New project form now using react-hook-form (#26808)
* init layouts in project settings

* Update general.tsx

* update gap

* Update Scaffold.tsx

* Update PostgrestConfig.tsx

* Update PostgrestConfig.tsx

* spacing issues

* now added a enabled switch

* Revert "now added a enabled switch"

This reverts commit f22050302a.

* Update PostgrestConfig.tsx

* Update PostgrestConfig.tsx

* revert

* Update project-postgrest-config-update-mutation.ts

* add bottom padding

* init changes

* Update PostgrestConfig.tsx

* Update [slug].tsx

* Update PostgrestConfig.tsx

* fix

* Update PostgrestConfig.tsx

* Update PostgrestConfig.tsx

* Update PostgrestConfig.tsx

* Pull updates, resolve conflicts

---------

Co-authored-by: Joshen Lim <joshenlimek@gmail.com>
2024-06-04 17:41:38 +07:00
Jonathan Summers-MuirandJoshen Lim 79c5bb9788 [Dashboard] Data API on/off switch (#26796)
* init layouts in project settings

* Update general.tsx

* update gap

* Update Scaffold.tsx

* Update PostgrestConfig.tsx

* Update PostgrestConfig.tsx

* spacing issues

* now added a enabled switch

* Revert "now added a enabled switch"

This reverts commit f22050302a.

* Update PostgrestConfig.tsx

* Update PostgrestConfig.tsx

* revert

* Update project-postgrest-config-update-mutation.ts

* add bottom padding

* Update PostgrestConfig.tsx

* Update PostgrestConfig.tsx

* fix

* Update PostgrestConfig.tsx

* Update PostgrestConfig.tsx

* Update PostgrestConfig.tsx

* Update PostgrestConfig.tsx

* Update PostgrestConfig.tsx

* add collapible

* update FormPanel component to be more composable

* Update PostgrestConfig.tsx

* Update PostgrestConfig.tsx

* update callout to warning variant

* Update FormLayout.tsx

* Update PostgrestConfig.tsx

* Small copy changes

---------

Co-authored-by: Joshen Lim <joshenlimek@gmail.com>
2024-06-04 16:02:47 +07:00
Joshen Lim 9e45053d25 Chore/sql editor pagination of results (#26857)
* Add pagination to SQL editor for results longer than 100 rows

* Change pagination to automatically setting a limit

* Fix

* Address initial comments

* Compress SQL editor actions when ai assistant is open and screen is of a certain width

* Fix checking

* Add some fixes and tests

* Add a message if the query had an error and the limit was applied

* Rename to suffixWithLimit

* Small refactor and fix
2024-06-04 15:20:18 +07:00
Joshen Lim 403c981aae Update physical backups enable flow for read replicas (#26981)
* Only show physical backups CTA if project already has a small compute

* Update physical backups UX flow

* Revert modal, go back to alert
2024-06-04 15:00:00 +07:00
Hieu f5af2e6193 fix: mgmt api docs gha (#26985)
* fix: use sparse-checkout

* fix: always run on master
2024-06-04 14:31:38 +07:00
Joshen Lim e904030bd1 Improve enabled check on ongoing queries (#26984) 2024-06-04 14:19:11 +07:00
HieuandJoshen Lim aa9d5fe5e1 fix: remove invalid command (#26957)
Co-authored-by: Joshen Lim <joshenlimek@gmail.com>
2024-06-04 13:45:18 +07:00
Joshen Lim 63493daa65 Allow viewing ongoing queries and aborting them (#26887)
* Allow viewing ongoing queries and aborting them

* Fix

* Add refresh button + shift view running queries CTA

* Fix scrolling in SqlEditorMenu

* Small styling fix for table editor menu schema selector error state
2024-06-04 13:07:55 +07:00
Lakshan Perera c44b9fe54e fix: show execution ID in Function invocation details (#26982)
fix: show execution ID in Function invocations details
2024-06-04 12:46:02 +07:00
Meir RothandCharis 4c589fe1c7 docs: quicker ci (#26810)
as suggested here: https://github.com/supabase/setup-cli/issues/88#issuecomment-1370519155

Co-authored-by: Charis <26616127+charislam@users.noreply.github.com>
2024-06-04 03:45:50 +00:00
Julien GouxandCharis Lam f5c48ef650 docs: update Snaplet instructions (#26328)
* update snaplet docs

* typo

* format

---------

Co-authored-by: Charis Lam <26616127+charislam@users.noreply.github.com>
2024-06-04 03:41:25 +00:00
Ivan VlatkovićandCharis 1b6a32458f [docs] SvelteKit tutorial - do not throw redirect (#26396)
do not throw redirect

`throw redirect` is not used in SvelteKit v4 it's just `throw`

Co-authored-by: Charis <26616127+charislam@users.noreply.github.com>
2024-06-04 03:38:03 +00:00
Jacint VargaandCharis 07bfcfbc3c docs: updated with-expo-react-native.mdx (#26705)
The `react-native-url-polyfill` is not needed in Expo anymore since SDK 50 (the latest SDK is 51).

You can read more about it here:  https://docs.expo.dev/versions/unversioned/sdk/url/

Co-authored-by: Charis <26616127+charislam@users.noreply.github.com>
2024-06-04 03:37:44 +00:00
f00fandCharis c4f90f68cc Update uuid-ossp.mdx (#26965)
Co-authored-by: Charis <26616127+charislam@users.noreply.github.com>
2024-06-04 03:28:57 +00:00
ryuandCharis e259e4f2f6 docs: improve routing examples with Hono (#26933)
* docs: fix routing examples with Hono

* Update apps/docs/content/guides/functions/routing.mdx

---------

Co-authored-by: Charis <26616127+charislam@users.noreply.github.com>
2024-06-04 03:26:51 +00:00
Michael ChicheandCharis e9750aa07c Update custom-claims-and-role-based-access-control-rbac.mdx (#26948)
Co-authored-by: Charis <26616127+charislam@users.noreply.github.com>
2024-06-04 03:22:00 +00:00
eecff51ecf docs: Added missing dashboard generated types alternative (#26961)
* Add section on generating types from Supabase dashboard

* Added whitespace

Co-authored-by: Charis <26616127+charislam@users.noreply.github.com>

---------

Co-authored-by: Terry Sutton <saltcod@gmail.com>
Co-authored-by: Charis <26616127+charislam@users.noreply.github.com>
2024-06-04 03:20:44 +00:00
cylussandCharis bfa54a2ca1 docs: Fix incorrect RLS original word in examples (#26937)
Fix incorrect RLS original word

Co-authored-by: Charis <26616127+charislam@users.noreply.github.com>
2024-06-04 01:08:30 +00:00
Punith G 4e7ff2a245 docs: wrap url and anon key strings in quotes for flutter connection example (#26939)
docs: wrap url and anon key strings in quotes
2024-06-03 23:33:45 +00:00
Liam BirkinandCharis 7527f3a71d docs: Fix broken link (#26972)
fix broken link

Co-authored-by: Charis <26616127+charislam@users.noreply.github.com>
2024-06-03 23:33:28 +00:00
Jimin (Aaron) SonandFrancesco Sansalvadore 18b72f3756 fix(www/components): does not match other buttons and styles (#26922)
Co-authored-by: Francesco Sansalvadore <f.sansalvadore@gmail.com>
2024-06-03 18:12:01 +02:00
Jordi EnricandTerry Sutton 7c1d83e910 add panel to show selected log in logs explorer, and some ui fixes (#26925)
* add panel to show selected log in logs explorer, and some ui fixes

* fix type error

---------

Co-authored-by: Terry Sutton <saltcod@gmail.com>
2024-06-03 17:31:44 +02:00
Alaister Young 8e47d317fa chore: pg-meta functions (#26881)
* start pg-meta functions

* pg meta create function

* pg meta database functions update and delete

* fix ts

* update execute sql error type

* update execute sql error type

* remove duplicate database functions query
2024-06-03 23:21:19 +08:00
O-AdityaandCharis Lam 1775dd17de Fix #26802: Implement client-side only JWT secret generation (#26831)
* Fix #26802: Implement client-side only JWT secret generation

* generate random string with getRandomValues

---------

Co-authored-by: Charis Lam <26616127+charislam@users.noreply.github.com>
2024-06-03 14:56:55 +00:00
Jordi Enric 4e394de864 add link to configuration docs, simplify text. (#23437) 2024-06-03 16:54:11 +02:00
Jonathan Summers-Muir 5e6a3438eb [Design System] chore: add scroll example of Navigation Menu (#26974)
* init

* Update navigation-menu.mdx

* Update navigation-menu.tsx
2024-06-03 16:40:32 +02:00
Ivan Vasilov 4a43f3b854 Fix: Try to fix the prettier github action (#26970)
* Try to fix the prettier github action.

* Revert "Try to fix the prettier github action."

This reverts commit 3a3fbe51e1.

* Fix the prettier dependency in package-lock.json.

* Run prettier format over the whole repo.

* Revert "Fix the prettier dependency in package-lock.json."

This reverts commit 8c6b241907.

* Revert the prettier format changes.

* Add a command for checking prettier. Use it in the github action. Use npm ci in the github action.

* Fix another accidental formatting.
2024-06-03 12:32:57 +00:00
Joshen LimandAlaister Young 4637140e72 Fix downgrade network error causing UI crash (#26919)
* Fix downgrade network error causing UI crash

* Ensure that all try blocks have at least a catch block and not an empty finally block

* Update apps/studio/components/interfaces/Organization/BillingSettings/Subscription/PlanUpdateSidePanel.tsx

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

* Update

---------

Co-authored-by: Alaister Young <alaister@users.noreply.github.com>
2024-06-03 11:08:39 +08:00
Thor 雷神 SchaeffandCharis 1a571a2368 docs: edgy bedrock. (#26909)
* docs: edgy bedrock.

* fix: nav.

* Apply suggestions from code review

Co-authored-by: Charis <26616127+charislam@users.noreply.github.com>

---------

Co-authored-by: Charis <26616127+charislam@users.noreply.github.com>
2024-06-01 22:28:39 +08:00
Jordi Enric aa84f7f60b fix warehouse rows & update UI for event detail (#26891)
* ui fixes, rendering data in warehouse table fixed

* reduce padding in header

* rm test of copy button since it was moved elsewhere
2024-05-31 20:59:28 +02:00
hallidayo e252b4ec00 feat: creating/editing enums margin (#26843)
top and bottom margin
2024-05-31 18:05:49 +00:00
Wen Bo XieandJoshen Lim cd930f5a2f feat: add IPv4 add on direct conn notice (#26903)
* feat: add IPv4 add on direct conn notice

* feat: add session mode warning

* fix: remove statement from Supavisor-related types

* Revert change in api types file

* Revert change in api types file

* Update API types file via codegen

* Smol feex

* Temp lint fix

* Fix

* fix: include serverless mention

---------

Co-authored-by: Joshen Lim <joshenlimek@gmail.com>
2024-05-31 17:07:25 +00:00
Imran GardeziandCharis d2bd47a32a Adds documentation for edge-functions quickstart set up with Intellij IDEA (#26911)
* Adds documentation for edge-functions quickstart set up with intellij idea

* update copy

---------

Co-authored-by: Charis <26616127+charislam@users.noreply.github.com>
2024-05-31 17:00:55 +00:00
Dan RylandandCharis 92b7a33b49 fix: switch undefined variable ref from countries to todos (#26743)
* fix: switch variable ref from countries to todos

* fix: duplicate const

---------

Co-authored-by: Charis <26616127+charislam@users.noreply.github.com>
2024-05-31 16:24:17 +00:00
Charis 4c9c96a159 fix(sveltekit ssr docs): createBrowserClient use (#26872)
In the abbreviated SvelteKit SSR instructions, `createBrowserClient` is
used in hybrid code that runs on both the server and client, with
changes in the configuration depending on where it's run. That's just
confusing, because the name implies it should not run on the server.

Change it to match the full SvelteKit SSR tutorial, which selectively
runs `createBrowserClient` or `createServerClient` depending on the
current environment.
2024-05-31 11:43:29 -04:00
Alaister Young c8c52bbca9 feat: disable project upgrade (#26920) 2024-05-31 17:10:47 +08:00
Bobbie Soedirgo ea9cfb921a docs(js): add example for deleting a record and returning it (#26855)
* docs(js): add example for deleting a record and returning it

* docs(js): clarify response object

Make it more obvious that `status` and `statusText` comes from the whole
response object, not from `data` or `error`
2024-05-31 16:53:44 +08:00
Bobbie Soedirgo b90ddcef21 docs(js): add example on setting timeout (#26825) 2024-05-31 16:53:34 +08:00