Commit Graph
2012 Commits
Author SHA1 Message Date
Alaister Young 367ffdd893 fix: get table schema on click (#35989) 2025-05-28 11:00:43 +02:00
Terry Sutton 075bc01a35 Fix jwt infinitely loading (#35848) 2025-05-27 16:14:28 -02:30
9318404e61 Feat/api keys rollout prep (#35559)
* first pass

* init

* updated types

* fix up key reveal

* Update QuickKeyCopy.tsx

* remove quick key copy

* api key pill now only allows reveal and copy if you have perm

* Update LegacyAPIKeys.tsx

* fix up layouts

* fix copy

* Fix action menu dropdown position, few small nudges

* Remove unused files.

* Remove the hardcoded and rename the feature flag for basic API keys.

* add support for name and description, some smaller improvements

* Fix the trims for the description.

---------

Co-authored-by: Terry Sutton <saltcod@gmail.com>
Co-authored-by: Ivan Vasilov <vasilov.ivan@gmail.com>
Co-authored-by: Stojan Dimitrovski <sdimitrovski@gmail.com>
2025-05-27 15:50:42 +02:00
Pamela Chia f8b3bfc4d6 Feat/privacy policy update (#35923) 2025-05-27 18:42:35 +08:00
Jordi Enric 88066cec59 Add error boundary to AI Assistant (#35850)
* add error boundary

* fix typerr

* m

* use Alert

* update message
2025-05-27 12:20:29 +02:00
Jordi Enric 7eaaaae8f7 Add query ids to reports (#35836)
add query ids to reports
2025-05-27 10:02:44 +02:00
Jordi Enric d61d32f007 fix new replica click (#35808)
* add portal true

* fix new replica click
2025-05-27 10:02:36 +02:00
Peter e8f4273499 fix default enable state for auth hooks to be true (#35942) 2025-05-26 15:23:29 -05:00
Raminder SinghandIvan Vasilov b411ed3421 chore: rename sink to destination for the etl api (#35931)
Co-authored-by: Ivan Vasilov <vasilov.ivan@gmail.com>
2025-05-26 21:30:10 +05:30
Jordi Enric 2fa17afca3 Project Usage: fix types and component (#35934)
* fix types and component

* fix types
2025-05-26 16:38:26 +02:00
Jordi Enric 318280f2fe add copy table schema option to table dropdown (#35909)
* add table schema option

* change logic to fetch on render instead

* rm unnecessary check

* rm unused code

* readd check for tables
2025-05-26 16:13:35 +02:00
Ivan Vasilov 4add928dae chore: Update API types (#35879)
* Regenerate all types from develop branch.

* Fix all types in studio.

* Remove extra type.
2025-05-26 15:43:14 +02:00
Bo Lu 854f6d960d fix: broken link for HubSpot API key helper (#35791)
* fix: broken link for HubSpot API key helper

* format code
2025-05-26 13:53:02 +02:00
Alaister Young 50518c897a [FE-1648] fix: privacy settings failed to load state (#35869)
* fix: privacy settings failed to load state

* add dashboard state

* sort imports
2025-05-26 09:46:12 +00:00
Peter bd7334d085 add clearer doc links to disabled projects (#35587)
* add better doc links to disabled projects

* capitalization issue
2025-05-24 10:13:53 -05:00
Etienne Stalmans d23e6b78b4 fix: non-hipaa projects can disable PITR (#35880) 2025-05-23 15:45:00 +00:00
Stojan Dimitrovski 16785bb613 feat: add api key, role details to api gateway logs (#35800) 2025-05-23 13:36:01 +02:00
Francesco Sansalvadore 01503ea083 Chore/db report legend (#35871)
* fix ram chart valuePrecision

* fix total aggregation
2025-05-23 12:50:10 +02:00
Jordi Enric 49774acaa6 default to last 24h in free, 7 days in paid (#35799) 2025-05-23 11:48:14 +02:00
Ivan Vasilov 76b123cfb0 chore: Add a badge on extension card to deprecated extensions (#35868)
Add a badge on extension card to deprecated extensions.
2025-05-23 10:45:51 +02:00
Francesco Sansalvadore fda426b9ad Improvements to Reports > Database (#35477)
* improve legend items hover

* show yAxis label

* open range in logs explorer

* add provisioned disk size to Memory Usage chart

* temp new charts

* Network Traffic chart

* sync charts marker

* update api types

* fix layout

* add max memory

* add db size

* chore: remove unused properties

* disk_io_usage

* add max db and pooler connections

* chart header tooltip

* clean charts

* add cpu max

* refactor charts and change max color

* reference line on Database Size chart

* reference line text

* reference lines on Database Size chart

* fix aggregation

* legend spacing

* reference line

* add docsUrl
2025-05-23 10:32:33 +02:00
Kevin Grüneberg 3b771c5533 fix: hide credit balance section if billed via partner (#35841) 2025-05-22 15:44:01 +02:00
Jordi Enric 88c9bd6944 Add data-testid to log selection id (#35834)
add data-test-id to log selection
2025-05-22 14:09:21 +02:00
Terry Sutton 4eccdc182a Fix EF editor font size (#35839) 2025-05-22 09:26:42 -02:30
Terry Sutton 4fcc6f3026 Update user impersonation search (#35717)
* Update user impersonation search

* Fix spacing, make users unique in history

* Scrollable contaner
2025-05-22 09:00:57 -02:30
Jordi Enric 6ee89f79b1 update org invite error (#35832)
update error
2025-05-22 11:07:09 +02:00
Stojan DimitrovskiandIvan Vasilov 49c677dff4 feat: add sign in with solana (web3) configuration UI (#34909)
* feat: add sign in with solana (web3) configuration UI

* Regenerate the api types.

* fix tiny things

---------

Co-authored-by: Ivan Vasilov <vasilov.ivan@gmail.com>
2025-05-22 10:53:25 +02:00
Jordi Enric 08bde133e1 add portal true to database selector (#35807)
add portal true
2025-05-21 16:52:02 +02:00
Alaister Young c9ee6bc9c2 fix(studio): self-hosted assistant authorization header (#35804) 2025-05-21 22:33:47 +08:00
Andrew ValleteauandIvan Vasilov 23ead00826 fix(studio): fallback to count estimate if exact count query timeout (#35774)
* fix(studio): fallback to count estimate if exact count query timeout

* If the table is partitioned, use estimated count always.

* Minor cleanup.

* fix: add all dependencies to useEffect array

* chore: handle null

---------

Co-authored-by: Ivan Vasilov <vasilov.ivan@gmail.com>
2025-05-21 10:05:23 +02:00
Jordi Enric cb79c2a28c fix logs datepickers state not refreshing on page load (#35755) 2025-05-20 12:37:32 +02:00
Julien Goux b7057fa9d8 fix: move triggers requests to query route (#35667) 2025-05-20 15:41:43 +08:00
b09440bd47 fix: move table create update delete to query route (#35662)
* fix: move table create update delete to query route

* chore: implement query to fetch a single table

* fix: retrieve table after update

* chore: assign type to update table payload

* chore: use updated table columns for edit

* chore: make executeSql castable with generic (#35685)

* Chore/refactor derivate more types from queries (#35687)

* chore: make executeSql castable with generic

* chore: derivate types from performed queries

- It allows to decouple more the frontend logic and the pg-meta/sql-query logic allowing to reduce the number of cast
and get closer types between what we do fetch and what we expect in our components

* fix: remove existing check

* chore: handle null comment and check

* fix: format check name as identifier

---------

Co-authored-by: avallete <andrew.valleteau@supabase.io>
Co-authored-by: Andrew Valleteau <avallete@users.noreply.github.com>
2025-05-20 10:34:59 +08:00
Joshen LimandJordi Enric bae178ace8 Fix Table Editor non-existing table state (#35710)
* Fix tabs non existent table stuck state

* Fix

* Fix

---------

Co-authored-by: Jordi Enric <jordi.err@gmail.com>
2025-05-19 14:25:40 +00:00
Kevin Grüneberg a55ad3a434 fix: allow PITR removal with active read replicas (#35698)
Can be merged after https://github.com/supabase/infrastructure/pull/23073
2025-05-19 16:19:02 +08:00
Joshen Lim 3487831a48 Fix unnecessary GET content request when writing a new SQL query (#35709)
* Fix unnecessary GET content request when writing a new SQL query

* Gracefully handle landing on a snippet id that doesnt exist
2025-05-18 22:26:06 +08:00
Joshen Lim 009005c759 Minor fix database trigger header (#35666) 2025-05-18 15:28:33 +08:00
Terry Sutton 0f91196154 Add a notice for the planned middleware outage (#35723)
* Add a notice for the planned middleware outage

* Msg update
2025-05-16 17:55:04 +00:00
Ivan Vasilov b94ca1d53b fix: Minor fixes for the Cron integration (#35674)
* Fix the CronJob type because its name is optional.

* The Job previous runs page should be identified by job id, not job name because it can be undefined. Fix the tabs to show the job name by using additional query param.

* Add a tooltip explaining that cron jobs without names can't be edited.

* The parser for cron jobs should handle URLS with query params or hashes.

* Remove the .only description from the tests.

* Show Unknown for cron jobs which have "" as name.

* Fix a crash when a cron job has "1 second" (singular) as schedule.

* Calculate the next run properly when the schedule is "1 second".

* Show a simplified confirm modal when deleting a cron job without a name.
2025-05-16 11:49:29 +02:00
Joshen Lim 5c99584001 Chore/project wildcard route sort last visited org (#35680)
* Project wildcard route, sort last visited org first

* Add search and filter status

* Smol fix
2025-05-16 15:42:02 +08:00
angelicoandJoshen Lim 0880e0e1d0 chore: allow pausing for AWS_NEW projects regardless of pricing tier (#35493)
* chore: gitignore .pnpm-store/*

* chore: allow pausing for aws new projects

* fix: incorrect logic

* chore: clean up logic

* Small refactor

* chore: update conditions for useIsOrioleDbInAwsRevamped

---------

Co-authored-by: Joshen Lim <joshenlimek@gmail.com>
2025-05-16 14:16:53 +08:00
Terry SuttonandJoshen Lim cbafd4d48f Split index advisor hook into installed and enabled instead of just a… (#35589)
* Split index advisor hook into installed and enabled instead of just available

* TS error

* Some nits

* Revert

---------

Co-authored-by: Joshen Lim <joshenlimek@gmail.com>
2025-05-15 09:42:03 -02:30
Andrew Valleteau 45a239f1d5 fix: change the message for transient errors (#35691) 2025-05-15 09:03:59 -02:30
Han Qiao dc2f1270db fix: move column delete and update to query route (#35497)
* fix: move column create request to query route

* chore: replace table id with fully qualified name

* chore: consolidate default column value tests

* chore: consolidate array column tests

* chore: test setting default value to null

* fix: move column delete and update to query route

* chore: remove unused code
2025-05-15 11:42:29 +08:00
Alaister Young 22db2c323e chore: refactor tabs store (#35551)
* chore: refactor tabs store

* remove tabs from local storage when disabling preview
2025-05-15 11:42:18 +08:00
Charis aa9070c908 fix(project switcher page): stuck in loading state (#35675)
# Before

On project switcher pages (those with underscore URLs), the project list
is forever stuck in the loading state because it wants to filter by
selected organization, but there is no selected organization.

# After

Not stuck in loading state. Shows all projects sorted by organization.
2025-05-14 21:22:24 +02:00
Alaister Young 6c83f97478 fix: local api route fixes (#35642)
* fix: local api route fixes

* fix build

* fix tests

* address feedback

* remove unused debug
2025-05-14 15:26:50 +00:00
Joshen Lim bc4ca2e275 Remove unnecessary includeSystemSchemas, stay consistent with hosted (#35670)
* Remove unnecessary includeSystemSchemas, stay consistent with hosted

* Fix space

* Add error hanlding for function_name in trigger sheet

* Refactor
2025-05-14 22:35:23 +08:00
Monica Khoury afbc8bb3c2 fix: clarify restore project disk sizing behavior (#35607)
* fix: clarify restore project disk sizing behavior

* add disk can only be expanded
2025-05-14 15:30:50 +03:00
Joshen Lim 227bb54853 Improve auth policies RLS warnings granularity (#35579) 2025-05-14 18:02:07 +08:00