Commit Graph

114 Commits

Author SHA1 Message Date
Joshen Lim
b234d4a2fd Fix updateTable whereby the check against defualt value is wrong 2022-08-03 21:48:46 +08:00
Joshen Lim
37343f1de7 Clean console logs 2022-08-01 14:38:40 +08:00
Joshen Lim
31077670d0 Merge branch 'master' of github.com:supabase/supabase into feat/abac-scaffold-ui 2022-07-27 12:16:29 +08:00
Joshen Lim
27ffd07fd0 Add types to resolve https://sentry.io/organizations/supabase/issues/2893351426 2022-07-26 21:48:32 +08:00
Joshen Lim
3d4b9a492c Fix check in SpreadsheetImport utils 2022-07-26 21:48:32 +08:00
Joshen Lim
b10aed8f2f Remove checking of permissions for places which are not in scope 2022-07-26 00:35:12 +08:00
Joshen Lim
bb9a3787bc Fix build errors 2022-07-22 16:22:11 +08:00
Joshen Lim
6ad6c85a1c Pull master and resolve conflicts 2022-07-20 15:14:02 +08:00
Joshen Lim
db5f5a6d23 Fix JSON side panel crashing when value is a number 2022-07-20 14:41:43 +08:00
Joshen Lim
95be697ea7 Fix incorrect parsing of column default value when default value is an expression that is a combination of values 2022-07-19 16:58:35 +08:00
Jonathan Summers-Muir
ea2653b94a Merge branch 'master' into feat/abac 2022-07-19 11:02:11 +08:00
Inian
8f217deeb6 add prettier to studio (#7615) 2022-07-08 12:46:46 +08:00
Joshen Lim
6e3892a478 Add more details to RLS description in table editor 2022-07-05 18:55:10 +08:00
Ollie Halliday
2c107b68f3 grammar change on description for composite primary key 2022-07-03 11:10:20 +01:00
Joshen Lim
5397bc9b66 Merge pull request #7465 from supabase/chore/shift-table-editor-sort-filter-page-state-to-url
Chore/shift table editor sort filter page state to url
2022-07-01 16:29:49 +08:00
Joshen Lim
c6019bbc8b Fix DateTimeEditor in Grid 2022-07-01 12:31:28 +08:00
Joshen Lim
a746804ac1 Update logic for protected schemas 2022-06-29 01:15:59 +08:00
Joshen Lim
3b49ea1bee Pull master and resolve conflicts 2022-06-28 15:44:19 +08:00
Joshen Lim
d960037708 Midway implementing sort filter through URL state 2022-06-27 13:00:38 +08:00
Joshen Lim
74c33be50f Lock schemas that are owned by supabase_admin, in studio 2022-06-24 21:09:59 +08:00
Joshen Lim
ab819041ac Make grid editable for non public schemas 2022-06-24 21:09:59 +08:00
Joshen Lim
035085bd98 TableEditor support managing tables outside of public schema 2022-06-24 21:09:59 +08:00
Joshen Lim
24928cc50c Update logic 2022-06-21 17:27:08 +08:00
Joshen Lim
287926d802 Add fix for spreadsheet import utils when infering boolean type column 2022-06-21 17:27:08 +08:00
Joshen Lim
8fccf1c18c Fix type errors and update type file for uuid 2022-06-21 12:07:25 +08:00
Joshen Lim
8748bf6d3c Ensure realtime toggling works for duplicating table as well 2022-06-21 12:07:25 +08:00
Joshen Lim
069379d053 Add option to toggle realtime for a table in table editor side panel 2022-06-21 12:07:25 +08:00
Joshen Lim
f74d40cb87 Leave numerical values as string in RowEditor when formatting query to work around js integer range limits 2022-06-21 11:57:25 +08:00
Joshen Lim
bfa5a986e3 Make error toasts not auto dismiss by default 2022-06-21 10:40:38 +08:00
Joshen Lim
6fc538d4ab Add a short circuit to skip updating if there's nothing to update in RowEditor 2022-06-08 10:39:34 +08:00
Joshen Lim
31f9014330 Fix row editor treating 0 as empty value and hence throws error when column is not nullable, midway writing tests 2022-06-08 10:39:34 +08:00
Terry Sutton
5deec590d8 Merge branch 'master' into chore/move-grid-into-main-repo 2022-05-31 09:32:50 -02:30
Joshen Lim
d09b5e386b Fix bild error 2022-05-31 17:52:00 +08:00
Joshen Lim
afe35bc3d3 adjust logic on setting default value to null when its an empty string 2022-05-31 17:52:00 +08:00
Terry Sutton
d0b2ab7b4c Convert empty string to null before saving 2022-05-31 17:52:00 +08:00
Jonathan Summers-Muir
7185112fdd Merge branch 'master' into chore/move-grid-into-main-repo 2022-05-30 21:35:13 +08:00
Jonathan Summers-Muir
328d72eda6 Update ActionBar.tsx 2022-05-30 21:07:56 +08:00
Joshen Lim
d0786d84a2 Fix small wrong logic in ActionBar 2022-05-30 17:20:32 +08:00
Joshen Lim
3f9509401f Small style fix 2022-05-30 17:20:32 +08:00
Joshen Lim
5b6ad90212 fix: view data button closes foreign key side panel 2022-05-30 17:20:32 +08:00
Beng Eu
2e4cc9c2e9 feat: add permissions to routes and support adding and removing roles 2022-05-27 18:39:41 +08:00
Terry Sutton
639214f13e Move grid files 2022-05-25 16:50:33 -02:30
Joshen Lim
7b0c872091 Fix errorneous POSTGRES_DATA_TYPES variable 2022-05-25 12:05:31 +08:00
Joshen Lim
6a9adfb8d9 Fix wrong default value when updated column in session 2022-05-25 12:05:31 +08:00
Joshen Lim
02de900aa2 Allow users to select between null and empty string as default values for text/varchar columns 2022-05-24 17:51:00 +08:00
Joshen Lim
70f356cced Fix table editor to render empty strings and null values properly, was mixing them up previously 2022-05-24 17:51:00 +08:00
Joshen Lim
68ede5a071 Fix user defined enum types not selecting 2022-05-24 11:05:46 +08:00
Joshen Lim
5d0b0a2eff Hide enum types from excluded schemas in column editor, and dont show user defined enum types in column types if there are none 2022-05-24 11:05:46 +08:00
Joshen Lim
5b88f35540 Fix column type wrong rendering 2022-05-24 11:05:46 +08:00
Joshen Lim
f75b16e721 Remove console log 2022-05-20 17:47:07 +08:00