Ali Waseem
3c2206fddd
chore: update wording to match docs ( #41370 )
...
update wording to match docs
2025-12-15 20:31:53 +00:00
Ali Waseem
143b1c4e14
fix: update name and description to be selectable in secrets ( #41365 )
...
update name and description to be selectable
2025-12-15 13:10:43 -07:00
Jordi Enric
9685711519
chore(query-perf): better error handling and sentry tracking ( #41278 )
...
* add retry
* handle and capture errors
* adds tests
* improve Sentry integration
* remove SQL logging from query performance error capture
* fix error msg prop handling
* add max and baseline to alert
* undo change meant for other branch oops
2025-12-15 20:39:09 +01:00
Francesco Sansalvadore
09ae9038ec
chore(studio): realtime settings form patterns ( #41275 )
2025-12-15 18:33:58 +01:00
Joshen Lim
34b5e0bf07
Fix deleting a user shows User not found toast error ( #41339 )
2025-12-15 07:42:08 -07:00
Joshen Lim
3a4c160a1f
Fix replica panel closing when clicking new replica CTA from database selector ( #41341 )
...
* Fix replica panel closing when clicking new replica CTA from database selector
* Add comment
* Fix
2025-12-15 07:38:35 -07:00
Ignacio Dobronich
9ddeb3af03
chore: auth hooks entitlement ( #41036 )
2025-12-15 11:20:15 -03:00
Kevin Grüneberg and Joshen Lim
8d3c3cd7e9
chore: use platform SSO entitlement ( #41158 )
...
* chore: use platform SSO entitlement
* Update platform.d.ts
* Update platform.d.ts
* Smol fix
* Fix
---------
Co-authored-by: Joshen Lim <joshenlimek@gmail.com >
2025-12-15 22:10:37 +08:00
Joshen Lim
84e5df97ea
Fix log drains error handling ( #41343 )
2025-12-15 21:13:36 +08:00
Francesco Sansalvadore
7b86edfe54
chore(studio): update storage settings forms layout ( #41285 )
2025-12-15 09:26:54 +01:00
Francesco Sansalvadore and Joshen Lim
3b7a7e4455
chore(studio): auth settings form patterns ( #41303 )
...
* chore(studio): oauth server form styling
* chore(studio): auth sessions form pattern
* chore(studio): auth rate-limits form pattern
* chore(studio): auth mfa form styling
* chore(studio): preposttab lowercase
---------
Co-authored-by: Joshen Lim <joshenlimek@gmail.com >
2025-12-15 09:26:23 +01:00
Kevin Grüneberg
4b948672a3
feat: support platform plan usage insights ( #41185 )
...
- Adds missing log and active compute hour insights in both usage summary and daily stats (only Platform Plan)
- Adds database size usage insights for platform orgs
- Hide the circular progress bar if the usage item has no included usage (otherwise always 100% filled with any usage)
- Hide percentage if usage item has no included usage
- Adjust upcoming invoice breakdown to properly handle compute and active compute hours
- Hide subscription change button for platform/enterprise orgs (we already have a callout saying they gotta reach out to us)
- Adjusted database size insights for platform to no longer display 0.5 GB per project being included
2025-12-15 16:14:46 +08:00
e98ba379b8
Use page and form components general settings ( #41192 )
...
* use page and form components general settings
* prettier
* Update apps/studio/components/interfaces/Settings/General/General.tsx
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
* update custom domain
* card content
* Update apps/studio/components/interfaces/Settings/General/General.tsx
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
* Address coderabbit comments
* Update apps/studio/components/interfaces/Settings/General/General.tsx
Co-authored-by: Francesco Sansalvadore <f.sansalvadore@gmail.com >
* Update apps/studio/components/interfaces/Settings/General/General.tsx
Co-authored-by: Francesco Sansalvadore <f.sansalvadore@gmail.com >
* Update apps/studio/components/interfaces/Settings/General/General.tsx
Co-authored-by: Francesco Sansalvadore <f.sansalvadore@gmail.com >
* Update apps/studio/components/interfaces/Settings/General/General.tsx
Co-authored-by: Francesco Sansalvadore <f.sansalvadore@gmail.com >
* Update apps/studio/components/interfaces/Settings/General/CustomDomainConfig/CustomDomainsConfigureHostname.tsx
Co-authored-by: Francesco Sansalvadore <f.sansalvadore@gmail.com >
---------
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
Co-authored-by: Joshen Lim <joshenlimek@gmail.com >
Co-authored-by: Francesco Sansalvadore <f.sansalvadore@gmail.com >
2025-12-15 03:28:54 +00:00
Ali Waseem
3a41846044
Feature: Pretty explain in SQL Editor ( #41289 )
...
* added cleaner explanation
* update UI
* refactored components
* updated logic
* removed steps
* updated UI
* updated read
* updated node render styles
* added tests
* updated file naming
* updated utility method
* updated description
* updated spacing
* updated to include header
* updated logic
* added flag to hide pretty explain
* updated cost width
* added aria label
* move index scan down
* updated to catch schema and qoutes
* remove node
* forgot the missed node
* addressed PR feedback
* updated bad slop
* removing tests
* updated node to be undefined, null remove it makes the logic cleaner
* updated function name
* updated row indicator to be separate components
* updated code rabbit feedback
* added divide by zero check
* updated test description
2025-12-12 20:35:18 +00:00
Danny White and Joshen Lim
73ece8a470
chore(studio): improve projects presentation ( #41179 )
...
* improve admonition
* remove redundant loader
* copywriting
* table empty states
* improve integrations presentation
* match integration styling
* fix clipping and h-full container
* revert test
* improve status presentation
* nicer status
* card status improvements
* comment clarification
* prettier lint
* fix testes
* comment
* Fix infinite loading behaviour
* Clean u0p
* Replace NoFilterResults with NoSearchResults
---------
Co-authored-by: Joshen Lim <joshenlimek@gmail.com >
2025-12-12 20:35:43 +11:00
28e4473953
Update account/me page components ( #41193 )
...
* update account me page
* copy
* Update apps/studio/components/interfaces/Account/Preferences/ProfileInformation.tsx
Co-authored-by: Francesco Sansalvadore <f.sansalvadore@gmail.com >
* Update apps/studio/components/interfaces/Account/Preferences/ProfileInformation.tsx
Co-authored-by: Francesco Sansalvadore <f.sansalvadore@gmail.com >
* Update apps/studio/components/interfaces/Account/Preferences/ProfileInformation.tsx
Co-authored-by: Francesco Sansalvadore <f.sansalvadore@gmail.com >
* fixes
* fix sizes
* Smol fix
---------
Co-authored-by: Francesco Sansalvadore <f.sansalvadore@gmail.com >
Co-authored-by: Joshen Lim <joshenlimek@gmail.com >
2025-12-12 17:32:38 +08:00
3fdacb2cca
chore(studio): delete Confirm Modal component ( #41295 )
...
* docs
* naming
* docs
* mini fix
* update policies component
* use destructured prop
* rls policies dialogs
* custom domain dialogs
* restart server dialog
* remove ConfirmDialog (aka ConfirmModal)
* remove unrelated changes
* delete unrelated file
* language
* Update apps/studio/components/interfaces/Storage/StoragePolicies/StoragePolicies.tsx
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
* fixed broken test
---------
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
Co-authored-by: Ali Waseem <waseema393@gmail.com >
2025-12-12 17:23:24 +08:00
Joshen Lim
27188c147c
Support creating multiple publishable keys, and deleting publishable keys ( #41186 )
...
* Support creating multiple publishable keys, and deleting publishable keys
* FIx types
* Smol
* Smol fix
* Address issues
* Update comment
* Replace all usage of useApiKeysVisiblity for checking permissions to just call useAsyncCheckPermissions directly
* Clean up and deprecate useApiKeysVisibility hook
* ADdress
2025-12-12 16:07:36 +08:00
Joshen Lim
77944aca9a
Decouple foreign schema creation from vector buckets ( #41258 )
...
* Decouple foreign schema creation from vector buckets
* Clean up
* Fix ts
* Fix issues
2025-12-12 14:42:56 +08:00
9f3af6e502
Generate policies experiment ( #40881 )
...
* policy generation
* add ai
* refactor
* table create performance
* policy list
* style
* simplify
* refactor
* flag
* tracking
* track
* ts
* fixes
* connection string
* re-add rls and realtime toggle
* restore old logic
* base path
* badge
* false rls
* copy
* add permissions button
* Refactor based on comments
* Fix TS
* More nudge
* Update tests
* Fix test
* Fixx
* Fix
* Address feedback
* Address issues
* Improve experiment telemetry for generate policies A/B test (#41172 )
* Address code rabbit catch
---------
Co-authored-by: Joshen Lim <joshenlimek@gmail.com >
Co-authored-by: Sean Oliver <882952+seanoliver@users.noreply.github.com >
2025-12-12 12:44:11 +08:00
Charis
85dde8f7db
fix(studio): use older supported syntax rather than Map.groupBy ( #41284 )
...
Some users' browsers do not support Map.groupBy (used in
Storage.utils.ts)
2025-12-11 22:02:43 +00:00
Charis
c0c824809e
feat(studio): add infinite pagination for buckets policies ( #41277 )
...
## Summary of changes
Buckets policies page at /project/_/storage/files/policies now uses the
paginated buckets endpoint to fetch buckets.
## Before
Used a non-paginated query.
## After
To support a paginated query, we now have:
- Infinite scroll loading behavior
- Fixed some of the buckets utilities to account for policy references
to buckets that haven't loaded yet
2025-12-11 15:45:16 -05:00
Charis
39e21ebef6
fix(studio): flash of sign in for join organization page ( #41283 )
...
The join organization page flashes the sign in screen briefly because it
does not check for loading status. Fixed so it goes directly from
loading skeleton to join confirmation view.
Resolves FE-2220
2025-12-11 20:14:07 +00:00
Marouane Souda and Ali Waseem
41ed95bde4
Edit functions protected ( #41203 )
...
* fix(studio): block editing database functions on protected schemas
* modify disabled db function button style
* remove unused import useDatabaseFunctionsQuery
* prettier
* prevent users without permission to edit f unctions
---------
Co-authored-by: Ali Waseem <waseema393@gmail.com >
2025-12-11 12:41:35 -07:00
Joshen Lim
511229f7a6
Fix creating users not invalidating users list and count ( #41254 )
2025-12-11 11:06:06 -07:00
Francesco Sansalvadore
40af66c39d
chore: db settings form pattern ( #41263 )
...
* chore(studio): update connection pooling form layout
* chore(studio): ssl config form pattern
* chore(studio): database settings form styling
* chore(ui): add contrast to PrePostTab text
2025-12-11 17:21:30 +00:00
Francesco Sansalvadore
754af51312
chore: form patterns cursor rules ( #41225 )
...
* chore(studio): integrate cursor rules with form patterns
* chore(studio): update FormLayout inner styling
* chore(studio): align actions form field to the right
* chore(design-system): wrap each form field in a CardContent
2025-12-11 18:03:30 +01:00
Francesco Sansalvadore
263730a8b8
chore: uniform card and panel padding-x ( #41237 )
2025-12-11 09:18:21 +00:00
Danny White and Joshen Lim
7d93a1951a
chore(studio): improve table presentation ( #41217 )
...
* billing improvements
* wrapper improvements
* border fix
* Nit adjustments
* fixes
* fix aria
* fix loading
* fixes
* fix
---------
Co-authored-by: Joshen Lim <joshenlimek@gmail.com >
2025-12-11 03:52:36 +00:00
Ivan Vasilov
581ae07120
fix: Hide favourites and share snippets on self-hosted variant ( #41227 )
...
* Hide favorite and share actions for self-hosted version.
* Rename the query on save only on platform.
* Simplify useCheckOpenAiKeyQuery.
* Rename with AI now depends if the OPENAI_API_KEY is set.
* Minor fixes.
* Fix the tests to use .skip for skipping tests. Remove extra port params.
* Make the test for favourites work only on platform variant.
2025-12-10 10:12:15 -07:00
Ali Waseem and Charis
e7a4ca9b74
Feature: show index advisor in table editor ( #41166 )
...
* added table advisor query
* updated to include table editor performance
* updated JSON B
* added side panel
* updated query indexes to show highlights context
* show index advisor in table editor
* updated invalidation logic
* added color updates
* added query indexes
* updated query performance type
* updated overflow and title
* put behind flag
* remove gap
* added on close
* Update apps/studio/data/database/table-index-advisor-query.ts
Co-authored-by: Charis <26616127+charislam@users.noreply.github.com >
* updated styling
---------
Co-authored-by: Charis <26616127+charislam@users.noreply.github.com >
2025-12-10 09:28:45 -07:00
Ivan Vasilov
f01deddb49
fix: Fix minor issue in the foreign key selector ( #41235 )
...
Change the isPending state to isLoading.
2025-12-10 15:27:58 +00:00
Etienne Stalmans
7ba95d27f3
chore: hide additional schemas from data API ( #41233 )
2025-12-10 07:18:26 -07:00
Joshen Lim
e0febdadcb
Change flag for API keys last used ( #41221 )
2025-12-10 17:20:49 +08:00
Ivan Vasilov
0d5be306ef
chore: Bump React Query to v5 ( #40174 )
...
* Bump the deps, refactor deprecated code.
* Migrate keepPreviousData usage.
* Migrate all uses of InfiniteQuery.
* Fix refetchInterval in queries.
* Migrate all use of isLoading to isPending in mutations.
* Fix accessing location in claim-project.
* Fix a bug in duplicate query keys.
* Migrate all queries to use isPending.
* Revert "Fix accessing location in claim-project."
This reverts commit 2a07df64b5 .
* Revert the rss.xml file to master.
2025-12-10 10:10:29 +01:00
Stojan Dimitrovski
3f885d0531
feat: add auth db connection strategy linter ( #41165 )
2025-12-10 09:41:06 +01:00
Danny White and Joshen Lim
11dc1324aa
chore(studio): improve alert composition and usage ( #41147 )
...
* finesse optical alignment
* improvements
* actions styling
* improvements
* margins
* improvements
* fix docs
* fix
* improve schema warning admonition
* misc fixes
* tweaks
* docs and improvements
* alphabetical sidebar navigation
* remove alert-error
* fix build error
* Tiny fixes
* tiny docs update
* semantic description
* handle intro pages
* note NoPermission component
* docs sidebar ordering
---------
Co-authored-by: Joshen Lim <joshenlimek@gmail.com >
2025-12-10 08:05:30 +00:00
Danny White
1f84a19608
chore(studio): improve Edge Functions layout ( #41176 )
...
* subtitle clarity
* improve secrets presentation
* presentation improvements
* consistency
* improve NoPermission component
2025-12-10 09:41:31 +11:00
Charis
d08f4c6aca
refactor(studio): remove unnecessary buckets query ( #41211 )
...
Remove unnecessary unpaginated buckets query from bucket delete modal.
2025-12-09 16:54:59 -05:00
Ali Waseem
f23f8d8594
fix: updated flag check for undefiend ( #41205 )
...
updated check
2025-12-09 13:13:02 -07:00
Ali Waseem
6f33a251f1
temp: added flag to hide last used ( #41204 )
...
* added flag to hide last used
* remove last used in 24 hours
2025-12-09 18:47:01 +00:00
Charis
9225eebccb
feat(studio): use bucket pagination for api docs ( #41090 )
...
* feat(studio): use bucket pagination for api docs
API docs V2 updated to use pagination for fetchign storage buckets.
Also some refactoring to split up large components for docs V2
interfaces.
* fix(studio): use bucket endpoint for getting single bucket
2025-12-09 13:17:59 -05:00
Joshen Lim
9c244df9f1
Add columns to database indexes UI ( #41152 )
...
* Add columns to database indexes UI
* Nit
* Update codeowner
2025-12-09 22:27:23 +08:00
d30f85b495
feat: update @supabase/*-js libraries to v2.87.0 ( #41160 )
...
* feat: update @supabase/*-js libraries to v2.87.0
* fix: do not import internal constants from supabase-js
---------
Co-authored-by: supabase-releaser[bot] <223506987+supabase-releaser[bot]@users.noreply.github.com>
Co-authored-by: Katerina Skroumpelou <sk.katherine@gmail.com >
Co-authored-by: Ivan Vasilov <vasilov.ivan@gmail.com >
2025-12-09 14:01:30 +02:00
Kevin Grüneberg
878ba0f4a0
chore: typo ( #41181 )
2025-12-09 07:57:29 +00:00
Joshen Lim
0b517360cb
Use timestamp info for api keys last used ( #41180 )
2025-12-09 14:47:17 +08:00
Joshen Lim
fa099b201d
Fix missing labels in version selector for new project page ( #41043 )
...
* Fix missing labels in version selector for new project page
* Clean
2025-12-09 14:04:44 +08:00
Kevin Grüneberg and Joshen Lim
6b2d789284
chore: use simplified support form for platform orgs ( #41177 )
...
* chore: use simplified support form for platform orgs
* Nit
* Nit
---------
Co-authored-by: Joshen Lim <joshenlimek@gmail.com >
2025-12-09 12:57:04 +08:00
Kevin Grüneberg
28803acb32
chore: do not show projected cost if not set ( #41131 )
...
API can return undefined or 0 for projected cost, in that case we do not want to display it.
2025-12-09 12:01:08 +08:00
8e705ecdbc
fix(export all rows): use cursor pagination if possible ( #40536 )
...
Exporting all rows (in CSV, SQL, or JSON format) currently uses offset pagination, which can cause performance problems if the table is large. There is also a correctness problem if the table is being actively updated as the export happens, because the relative row offsets could shift between queries.
Now that composite filters are available in postgres-meta, we can change to using cursor pagination on the primary key (or any non-null unique keys) wherever possible. Where this is not possible, the user will be shown a confirmation dialog explaining the possible performance impact.
---------
Co-authored-by: Ali Waseem <waseema393@gmail.com >
Co-authored-by: Joshen Lim <joshenlimek@gmail.com >
2025-12-08 13:39:10 -05:00