Andrew Valleteau
31aad403de
fix(studio): early fail query when x-connection-encrypted is invalid ( #35331 )
...
* fix(studio): early fail query when x-connection-encrypted is invalid
* fix(studio): uniformize readDatabase and projectDetails connString handling
* chore: update api types
* chore: add connectionString null option
* fix: only enforce x-connection-encrypted on platform
* chore: refactor connString check in a single point
* chore: fix guard logic
* chore: fix pgMetaGuard
* chore: fix types
2025-05-08 12:11:03 +02:00
21bbc93afa
Chore/table editor filter sorts logic moved to hooks ( #35138 )
...
* init
* update Popovers to use new hooks
* Update Header.tsx
* made primitive components for filter and sorts
* Delete FilterPopoverWrapper.tsx
* Delete SortPopoverWrapper.tsx
* remove
* Create README.md
* Update README.md
* fix sort popover issues
* Update SupabaseGrid.tsx
* move DeleteConfirmationDialogs into context
* fix issue with
* more stuff for alaister
* fix ts and tables pages
* First round of clean up
* Update README.md
* Smol fix
* Fix issues identified
* Smol fix
* Fix updating table name in database/tables not invalidating
* Improve SQL editor invalidation logic
* Add fix to reopen last opened table when landing on table editor
* Smol fix
---------
Co-authored-by: Alaister Young <a@alaisteryoung.com >
Co-authored-by: Joshen Lim <joshenlimek@gmail.com >
2025-04-30 14:19:21 +08:00
Alaister Young
f18b08d241
fix: multiple unique constraints on single column ( #35326 )
2025-04-28 16:38:58 +08:00
Joshen Lim
58a9db9db5
Chore/fix searching in table editor clearing tabs ( #35198 )
...
* Fix searching in table editor clears tabs
* Clean
* clean
* Make close button slightly bigger
2025-04-22 17:33:21 +07:00
Joshen Lim
1473517b4a
Fix using camel case enum from public schema erroring out in ColumnEditor ( #31303 )
...
* Fix using camel case enum from public schema erroring out in ColumnEdiotr
* Update Table editor sql query to prefix the enum type schema if not from public schema
* Remove conosle log
2025-01-06 13:59:23 +07:00
Alaister Young
0e3bc5804b
chore: remove useExecuteSqlQuery (part 1) ( #30437 )
...
* chore: remove useExecuteSqlQuery part 1
* fix invalidation
* fixes
* more fixes
* I fixed it, but tested on preview instead of local 🤦🏻
* only refetch table rows and not count on row updates
* removed unneeded invalidations and prefetched new table after create
2024-11-14 15:21:29 +08:00
Alaister Young
754af17e06
fix: table editor fallback to undefined ( #30323 )
2024-11-06 17:33:51 +08:00
a5a2873302
chore: table editor optimisation 2 ( #30295 )
...
* chore: table editor query optimisation 2
* fix editing tables from tables page
* Small style fixes
* Small style fixes
* address feedback
---------
Co-authored-by: Terry Sutton <saltcod@gmail.com >
Co-authored-by: Joshen Lim <joshenlimek@gmail.com >
2024-11-06 08:31:35 +00:00
Alaister Young and Joshen Lim
3a27070dc2
chore(perf): table editor query optimisation ( #30184 )
...
* chore: table editor query optimisation
* removed unused queries and fix invalidations
* address feedback
* fix filtering for foreign tables
* Update
---------
Co-authored-by: Joshen Lim <joshenlimek@gmail.com >
2024-10-31 15:20:40 +08:00