Commit Graph
32294 Commits
Author SHA1 Message Date
kemal 23fdb10163 fix: toast when token is created
Forgot to include the toast when an access token is created.
2025-08-15 10:45:03 +01:00
kemal 091424a5ff fix: adding individual permission selection
Adding inidividual permissions wasnt selecting the default access type, it does now.
2025-08-15 10:45:03 +01:00
kemal 2ffd12be9c feat: add reset for all permissions.
Good catch Jordi. I added a button that can reset all your permissions if you decide you need to clear them all.
2025-08-15 10:45:03 +01:00
kemal 113a7616bf chore: clean up unused deps 2025-08-15 10:45:03 +01:00
kemal bc1cc630ad chore: organize folders
Move form components into their own folder so we can isolate them.
2025-08-15 10:45:03 +01:00
kemal 20473a40b4 fix: padding for experimental api admonition
This fixes the padding around the experimental API admonotion when you select that option to generate a token.
2025-08-15 10:45:03 +01:00
kemal 199187e1c1 chore: remove console log 2025-08-15 10:45:03 +01:00
kemal bf6a775d50 feat: quick re-do of the view access sheet
This one is a bit cleaner to parse as a user. Now all I need is the generate token endpoint updated.
2025-08-15 10:45:03 +01:00
kemal 149d53b06a style: little bit more love to the access panel 2025-08-15 10:45:03 +01:00
kemal d28e05fc54 fix: prettier warnings and errors
Some token files are not being formatted correctly with prettier, had to re-run manually
2025-08-15 10:45:03 +01:00
kemal c456495220 fix: form tests for generate
All the tests should be passing now, fingers crossed
2025-08-15 10:45:03 +01:00
kemal ca840e759a fix: some small fixes for custom date field
This fixes the custom date fields formatting for date once you select it as well as adding a missing enum from zod
2025-08-15 10:45:03 +01:00
kemal d1b4e6ac4f chore: remove unused constants from tokens
Removes two unused constants from our tokens section.
2025-08-15 10:45:03 +01:00
kemal 1f3f9ba9d7 feat: update sorting of permission adder
The sorting of the permissions adding has been simplified.
2025-08-15 10:45:03 +01:00
kemal f8c657655a style: simplify the view access sheet 2025-08-15 10:45:02 +01:00
kemal b8fec187f6 chore: remove unused token dialog
Remove some more remnants from prototyping.
2025-08-15 10:45:02 +01:00
kemal 99781d2bf4 feat: add ability to delete from view permissions
From the view panel after token creation, you can also delete the tokens
2025-08-15 10:45:02 +01:00
kemal 3d22914df2 style: some token permissions ui clean up
Cleans up token permissions part of the form and fixes the functionality of the popover search
2025-08-15 10:45:02 +01:00
kemal c65a47f822 fix: update test file for new access token button
This updates the test file for the ccess token button.
2025-08-15 10:45:02 +01:00
kemal acfc1da2be fix: error state for name field validation
Cursor did Cursor things, reverted this back to intended validation style.
2025-08-15 10:45:02 +01:00
kemal 4fa6f264c5 chore: remove more unused things 2025-08-15 10:45:02 +01:00
kemal bf8cad2153 chore: remove unused deps 2025-08-15 10:45:02 +01:00
kemal 0f515363cc feat: using the users projects and orgs for selector
This removes dummy data from resource selection and uses the orgs or projects the user has access to in the multi selector
2025-08-15 10:45:02 +01:00
kemal 5c9e2a72b4 style: another small padding adjustment
More in line with other sheet panels.
2025-08-15 10:45:02 +01:00
kemal 4a768fc686 feat: add custom date field for token expiry
Re-introduce the custom date field picker for custom token expiry dates
2025-08-15 10:45:02 +01:00
kemal 3edfbacf10 style: small padding update on token form
Added separators so needed to adjust the padding.
2025-08-15 10:45:02 +01:00
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