Commit Graph
99 Commits
Author SHA1 Message Date
Terry Sutton f78ef97583 Merge pull request #8163 from supabase/fix-toast-event-bubbling
add outside interaction control to radix dialog based ui
2022-08-09 16:24:24 -02:30
Terry Sutton 1f8efad295 Merge pull request #7812 from Hallidayo/studio-editor-long-column-name
feature: editor long column name and hover
2022-08-09 13:47:28 -02:30
Ollie Halliday d71203191e placeholer for input added 2022-08-09 17:12:28 +01:00
Francisco Mazzoni 5db6220dc9 add outside interaction control to radix dialog based ui 2022-08-09 10:23:44 -03:00
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 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
Ollie Halliday 689fcf84f2 icon now seperate and on hover has column name 2022-07-20 13:55:04 +01: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
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 c6019bbc8b Fix DateTimeEditor in Grid 2022-07-01 12:31:28 +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 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
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
Joshen Lim cd3d124e23 Assign HTML type to input field button 2022-05-20 17:47:07 +08:00
Joshen Lim da68f15139 Column editor default value field to be mono if type selected is json 2022-05-20 17:47:07 +08:00
Joshen Lim bf0a2ccb54 fix: unescape literal util method returning wrongly for functions which are longer than one word, and json + added tests 2022-05-20 17:47:07 +08:00
Joshen Lim 1a793805ea Update logic for isNativeDataType in ColumnType 2022-05-20 17:18:02 +08:00
Joshen Lim eb171d2043 Add helper text communicating about changingnon native psql data types via studio editor 2022-05-20 17:18:02 +08:00
Joshen Lim 62f3a0a207 fix:minimally show type in column editor if column type is not a native psql type 2022-05-20 17:18:02 +08:00
Joshen Lim 3f9278eacb Update tailwind colors 2022-05-20 17:05:11 +08:00