Commit Graph

84 Commits

Author SHA1 Message Date
Terry Sutton
56da65fab8 Add data types table to docs site old and new, link to it from the Dashboard 2022-06-16 22:20:54 -02:30
Terry Sutton
1c8e059d7f Format link to docs 2022-06-16 21:44:14 -02:30
Terry Sutton
02450e3abf Merge branch 'master' into feat/improve-column-creating-experience 2022-06-16 21:25:34 -02:30
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
f60cfd66ee Add data types link to table creation panel 2022-06-06 08:56:00 -02:30
Terry Sutton
b184f15471 Add placeholder for column name input 2022-06-06 08:55:37 -02:30
Terry Sutton
b609120dcd Move link to proper panel 2022-06-06 08:55:19 -02:30
Terry Sutton
bc1662338b Merge branch 'master' into feature/rfc-improve-column-creating-experience 2022-06-03 16:42:47 -02:30
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
Terry Sutton
7dbfd69b13 Add link to data types 2022-05-30 09:17:08 -02:30
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
Joshen Lim
f677f55fe1 Updates as per PR comments 2022-05-20 17:05:11 +08:00
Joshen Lim
5ad9cecbea Add tiny empty state in ColumnEditor for foreign key, if column has no name yet in the form 2022-05-20 17:05:11 +08:00
Joshen Lim
ffaed9888a Fix ForeignKeySelector not showing updated foreign key config after initial round of saving 2022-05-20 17:05:11 +08:00
phamhieu
f5c3eee5f2 refactor: extend dayjs once on _app
https://github.com/iamkun/dayjs/issues/931#issuecomment-644584535
2022-05-18 20:14:20 +07:00
Joshen Lim
082eeb1835 fix: rendering and saving issues for RowEditor pertaining to time and timestamp fields 2022-05-17 13:02:34 +07:00
Joshen Lim
e41246ef0b Fix invalid date issue if seconds are set to 0 in html input datetime 2022-05-13 15:19:15 +08:00
Joshen Lim
6a469c66d8 Updates as per PR comments 2022-05-12 16:48:35 +08:00
Jonathan Summers-Muir
88e28376ae fix: move form submit button into a form. native browser validation catches issue with date input incomplete state
• todo: move to @supabase/ui Form
originally tried to do that but it was too troublesome and required more refactor than anticipated.
this is a quicker fix for now.
2022-05-12 16:48:35 +08:00
Joshen Lim
09e659bf8a DateTimeInput component to leave formatting to page level, do not format within the component itself 2022-05-12 16:48:35 +08:00
Joshen Lim
e1e8d1dc6c fix: table creation not updated table name when adding foreign key 2022-05-11 21:37:25 +08:00
Joshen Lim
6f39a2284b Fix drag drop for spreadsheet import 2022-04-28 16:29:04 +07:00
Joshen Lim
be3134b1ac Resolve https://sentry.io/organizations/supabase/issues/2956926689conflicts 2022-04-28 11:31:59 +07:00
Joshen Lim
8b032abe5e Fix JSON side panel edit0r 2022-04-19 16:19:00 +08:00
Joshen Lim
d889b46ebf Implement enum types store and hide system enum types from table editor 2022-04-19 16:19:00 +08:00
Joshen Lim
55579a1b0f Fix table editor hiding errors when updating columns 2022-04-19 16:19:00 +08:00