Commit Graph
14714 Commits
Author SHA1 Message Date
kemal d23890759b chore: remove unused token files
This removes some AI slop from my Cursor prototype. There will be a few more of these commits cleaning up.
2025-08-15 10:45:02 +01:00
kemal 90c83ccce7 chore: some folder organising
Move all access token stuff to its own folder as its got quite a few files now
2025-08-15 10:45:02 +01:00
kemal 1d10e7ccc3 fix: bring old admonition back for copy token
This brings back the old admonition for copying of the token.
2025-08-15 10:45:02 +01:00
kemal 803cc99268 chore: tidying up some of cursors files
Cursor leaves behind unused files, cleaning up and cleaning up the final prototype in general.
2025-08-15 10:45:02 +01:00
kemal 60650dd72f feat: side panel concept 2025-08-15 10:45:02 +01:00
kemal d7b0854a2d feat: alternative no wizard option
This is a version where everything is inside the dialog without steps to guide you through. It is much more upfront.
2025-08-15 10:45:02 +01:00
kemal 616ab72ac4 feat: access token view layout feedback
Implements the feedback from Saxon on the page layout.
2025-08-15 10:45:02 +01:00
kemal bee496431e feat: step by step concept 2025-08-15 10:45:02 +01:00
kemal c210875e80 chore: slightly adjusted direction
As we can only configure permissions on create, this introduces beginnings for project access and permission settings in the create dialog. This also changes the update panel to a view only panel.
2025-08-15 10:45:02 +01:00
kemal 433490701f chore: add some dummy data for now
Adds some dummy data to play with while I prototype.
2025-08-15 10:45:02 +01:00
kemal 441764ba35 fix: add truncation to access token name column
This adds truncation the access token name as currently if you set a really long name it distorts the table.
2025-08-15 10:45:01 +01:00
kemal 1dba2b0147 feat: add manage tokens panel
This adds the sheet where the PATs will be managed.
2025-08-15 10:45:01 +01:00
kemal 2267e98826 feat: add delete token into more dropdown
To add a bit consistency with other table rows, we put the delete inside a more dropdown. Also useful if more general actions will come for tokens.
2025-08-15 10:45:01 +01:00
kemal df6210e6ec feat: introduce manage tokens entry point
This adds a button to trigger the eventual manage tokens tray
2025-08-15 10:45:01 +01:00
Ivan VasilovandChris Chinchilla a63e91255c Update the docs for domains on google oAuth screens (#37942)
* Update the docs for google domains.

* Apply suggestion from @ChrisChinchilla

Co-authored-by: Chris Chinchilla <chris@chrischinchilla.com>

* Apply suggestion from @ChrisChinchilla

Co-authored-by: Chris Chinchilla <chris@chrischinchilla.com>

---------

Co-authored-by: Chris Chinchilla <chris@chrischinchilla.com>
2025-08-15 08:44:18 +00:00
Drake CostaandJoshen Lim afd82d1ee0 [Replace yup] Refactor Sign In/Up forms to use shadcn and replace yup with zod (#37913)
* refactor sign-in forms, remove `yup-password`

* add missing disabled state to email field

* Fix zod validations for min length

* minor fix loading state sign up form, and use motion div for success state

* Remove unnecessary useState for isSubmitting

* Nit

* Nit

---------

Co-authored-by: Joshen Lim <joshenlimek@gmail.com>
2025-08-15 13:12:34 +07:00
Saxon Fletcher 0952d46d40 Fix so can change prod branch (#37937)
* fix so can change prod branch

* update to remove useEffect
2025-08-15 12:26:57 +07:00
Charis 41bfd35aba fix: write queries in ai assistant (#37938)
Some read-only errors from running SQL in the AI Assistant aren't being
properly detected, so the action item to review and confirm running the
SQL isn't showing up. Add test against another variant of read-only
error message that can show up.
2025-08-15 11:15:34 +07:00
Saxon FletcherandJoshen Lim f9a6af7a68 Table consistency (#37924)
* update project tables

* org team table

* Minor fixes

---------

Co-authored-by: Joshen Lim <joshenlimek@gmail.com>
2025-08-15 13:16:55 +10:00
Drake Costa ca4b3bc624 Refactor Storage Create/Edit/Empty/Delete Modals to use Shadcn components (#37517)
* Refactor `StorageMenu` modals to replace deprecated patterns

* add test for `DeleteBucketModal` and update test setup

Note: Because this component uses `useParams`, it's necessary to have the dynamic route segment passed to `next-router-mock`'s `createDynamicRouteParser`. In order not to have to manually list all of these as the application grows, I added a glob utility that uses the `pages/` directory  to automatically generate an array of dynamic route paths in this case.

* add test for `EmptyBucketModal`

* add test for `EditBucketModal` and add `isNonNullable` utility function

* add test for `CreateBucketModal`

* implement requested changes

* implement visual fixes
2025-08-14 21:23:08 +02:00
Guilherme SouzaandChris Chinchilla b6b906cff4 docs: add flutter phone factor reference doc and example (#37828)
* docs: add flutter phone factor reference doc and example

* Update apps/docs/spec/supabase_dart_v2.yml

Co-authored-by: Chris Chinchilla <chris@chrischinchilla.com>

* Update apps/docs/spec/supabase_js_v2.yml

Co-authored-by: Chris Chinchilla <chris@chrischinchilla.com>

* Update apps/docs/spec/supabase_dart_v2.yml

Co-authored-by: Chris Chinchilla <chris@chrischinchilla.com>

* Update apps/docs/spec/supabase_dart_v2.yml

Co-authored-by: Chris Chinchilla <chris@chrischinchilla.com>

---------

Co-authored-by: Chris Chinchilla <chris@chrischinchilla.com>
2025-08-14 15:03:01 -03:00
Ignacio Dobronich cfc99d7d4a chore: add BillingManagedBy constant (#37919)
chore/managed-by
2025-08-14 13:32:10 -03:00
Chris Chinchilla 7f50ee9dd2 docs: Improve the steps for NextJS quickstart (#37929)
* Improve the steps for NextJS quickstart

* Update apps/docs/content/guides/getting-started/quickstarts/nextjs.mdx
2025-08-14 15:43:06 +02:00
Jordi Enric 7b640dfab0 reduce stale time for permissions query (#37907) 2025-08-14 14:04:40 +02:00
Joshen Lim abf62572a4 Reinstate captureException in SessionTimeoutModal with lowered quota usage (#37925) 2025-08-14 15:41:28 +07:00
Joshen Lim 7a35ad3081 Bump temp API key expiry to an hour just for realtime inspector (#37896)
* Bump temp API key expiry to an hour just for realtime inspector

* Refresh temp api token whenever starting a refresh listen session in realtime inspector if current token in realtime config is a temp key
2025-08-14 15:24:30 +07:00
Joshen Lim 20f2471819 Chore/setup sentry for www (#37894)
* Set up Sentry for www

* Add Sentry captureEExceptions to API routes in www

* Prettier

* Fix TS

* Address feedback

* Clean

* Remove SENTRY_AUTH_TOKEN from turbo.json
2025-08-14 15:12:58 +07:00
Joshen Lim 1ab728e8e9 Remove captureException in SessionTimeoutModal (#37895) 2025-08-14 14:42:23 +07:00
shusank8 cec5c95381 Update websockets.mdx (#36603)
Comparing lower case
2025-08-14 07:07:36 +00:00
Joshen LimandCharis a3e585b4ae Chore/refactor database publications page (#37901)
* Refactor database publications page

* Use new page layout

* Update apps/studio/components/interfaces/Database/Publications/PublicationsList.tsx

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

* Address feedback

* Add tooltips

---------

Co-authored-by: Charis <26616127+charislam@users.noreply.github.com>
2025-08-14 13:24:06 +07:00
Ivan Vasilov e194c045c6 Fix: Use the state.editable instead of the semi-global editable variable in Table state (#37918)
Use the state.editable instead of the semi-global editable variable.
2025-08-14 11:01:11 +07:00
Andrew Valleteau c3298d8ca7 docs: add admonition for retrieving branch project id (#37861) 2025-08-13 18:14:15 -03:00
Charis 9551315f6a fix: search sync + sentry errors issues (#37912)
* fix: search sync + sentry errors issues

Fixes two issues:
1. Search sync: The embedded content now includes denormalized examples,
   so the examples codegen needs to be run before embeddings are
   created. Otherwise, the GitHub Action will fail because it cannot
   find the examples to use for content inclusion.
2. Sentry errors on pages that fail to load: Sentry errors were being
   sent for genuine 404s because the check for FileNotFoundErrors was
   wrong. The error that is caught is wrapped in a new Error by
   Result.unwrap(), so it's the child of this error, error.cause, that
   is potentially a FileNotFoundError, not the error itself.

* fix: remove double processing of mdx
2025-08-13 16:50:30 -04:00
Christian Butcher f3013222ff Update LinterPageFooter.tsx (#37890)
Fix missing "after" in reset suggestion
2025-08-13 15:54:07 +00:00
Charis db38e8ca63 docs(postgres changes): add sql method for adding tables (#37877) 2025-08-13 11:37:24 -04:00
Charis e46ab9c1a2 refactor: reading markdown docs files (#37774)
* refactor: reading markdown docs files

Refactor how Markdown docs files are read:
- Reuses the same logic across search index generation & page generation
- Improves the indexed content for search:
  - Stops removing MDX components, which often contain useful
    information like Admonitions
  - Denormalizes Partials and CodeSamples for more complete content

This is a prerequisite step for implementing the "Copy docs as Markdown"
functionality.

Only touches regular guides for now, not federated ones.

* fix: tailwind build error (#37728)

We changed to default to ESM imports a while ago, which means local
builds are now breaking because the Tailwind uses a require. Changed to
CJS for Tailwind config file. (I have no idea how this has been working
on Vercel all this time.)

* style: prettier
2025-08-13 11:37:14 -04:00
Matt Rossman 3635bc1fec Add Matt Rossman to humans.txt (#37906) 2025-08-13 15:36:19 +00:00
CharisandJoshen Lim e8a19faa03 feat: drop file to import data in Table Editor (#37888)
* feat: drop file to import data

In the Table Editor for an empty table, make the entire grid area a
dropzone so that files can be dropped onto the grid area for importing.
Dropping a file opens the SpreadsheetImport side panel with the dropped
file already loaded.

* refactor: drag and drop file import

Refactor logic into hooks and utility functions

* refactor: file drop import

Small changes caught in code review

* Opt to pass file through valtio store instead of event listener

* refactor: telemetry properties + cleaning up hook deps

---------

Co-authored-by: Joshen Lim <joshenlimek@gmail.com>
2025-08-13 11:32:06 -04:00
Jordi Enric c03dcc1ead remove effect for logs redirection (#37898)
* rm effect

* diff approach, rm effect for unified logs

* simplify, only redirect to explorer, keep unifiedlog check

* clean up

* dynamic url in the sidebar based on unified logs feature preview

* fix deep link missing ref
2025-08-13 15:37:16 +02:00
Joshen Lim e75c4b2960 Swap useCheckPermissions with useAsyncCheckProjectPermissions part 3 (#37899)
* Swap useCheckPermissions with useAsyncCheckProjectPermissions part 3

* Fix loading state in edge function secrets
2025-08-13 19:07:35 +07:00
Ignacio Dobronich 61379cbe2a chore: add confirmation modal when enabling SMS MFA (#37879) 2025-08-13 09:06:07 -03:00
Jordi Enric 6c4d3e6c52 use dynamic max values in database reports (#37874)
fetch db max instead of hardcode
2025-08-13 13:40:28 +02:00
TheOtherBrian1andChris Chinchilla b36315e62c Update broadcast.mdx | add security definer to example (#33533)
* Update broadcast.mdx | add security definer to example

* Run prettier

---------

Co-authored-by: Chris Chinchilla <chris.ward@supabase.io>
2025-08-13 12:56:48 +02:00
Kevin Grüneberg d60b3e3b9e feat: cached egress rollout (#37827) 2025-08-13 17:36:48 +08:00
Thomas 90b2288122 feat(billing): add onboarding page for AWS Marketplace 2025-08-13 11:31:14 +02:00
Pamela Chia 42e2e88fba update fair use policy (#37889) 2025-08-13 17:28:32 +08:00
Joshen Lim 89140e7c08 Chore/support copy row in table editor (#37863)
* Support copy row in table editor

* Add copy action in Table Editor header
2025-08-13 09:51:04 +07:00
Saxon FletcherandJoshen Lim af9310f5b3 ui consistency issues (#37823)
* ui consistency issues

* storage policies

* copy

* Fix storage policies y gap

* Small fixes

* Add deprecated comments

* Use Card component for S3 settings

---------

Co-authored-by: Joshen Lim <joshenlimek@gmail.com>
2025-08-13 10:55:09 +10:00
Douglas J Hunley 5e6362e88b chore(doc): Update humans.txt (#37884)
Add myself, a human, to humans.txt
2025-08-12 20:14:49 +00:00
HEXXT 4ade836032 fixed missing async keyword (#37882) 2025-08-12 19:51:02 +00:00