Commit Graph
62 Commits
Author SHA1 Message Date
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
Copple ef243c46cc Merge pull request #6156 from supabase/chore/update-drag-and-drop
Chore: update drag and drop text color
2022-04-05 12:23:13 +02:00
Isaiah Hamilton b4ad708e20 chore: update drag and drop text color 2022-03-29 21:55:23 -04:00
Bo Lu c89795eb84 fix style for long text label 2022-03-28 12:29:32 +11:00
Jonathan Summers-Muir 164dde056d fix: shows an 'active' state for columns with a foreign key assigned 2022-03-03 11:34:08 +08:00
Joshen Lim f6aa72a2de Adjust colors in table side panel editor 2022-03-02 10:38:06 +08:00
Joshen Lim c68d51d095 Update styling for reference row viewer component 2022-03-01 13:58:55 +08:00
Joshen Lim 67986923fe Fix ReferenceRowViewer padding 2022-03-01 13:58:55 +08:00
Jonathan Summers-Muir 9b83e31ddd fix: build errors and misc issues 2022-03-01 13:58:55 +08:00
Joshen Lim b824457e93 Update color for PK columns in table side panel editor 2022-03-01 13:58:55 +08:00
Joshen Lim 08ca63ba97 Fix missing tooltip in table side panel editor 2022-03-01 13:58:55 +08:00
Jonathan Summers-Muir 5b6890496c chore: update Member invite to be more accessible
• had to remove the text search popover as it wasn't using a correct react portal popover. Also not keyboard accessible.
2022-03-01 13:58:55 +08:00
Jonathan Summers-Muir 7d2a8bcee0 chore: updated SidePanels. replaced more text. updated Grid. updated Menus 2022-03-01 13:58:55 +08:00
Jonathan Summers-Muir 0c777badfa feat: new supabase ui features
• WIP so far. need to update Modals, Sidepanels and fix various things
• Tailwind v2 👉 v3
2022-03-01 13:58:55 +08:00
Joshen Lim c840d088c3 Add numeric data type and refactor some repeated logic 2022-02-21 15:41:11 +08:00
TzeYiing cc12c7aaa8 added more InformationBox apis 2022-02-15 16:27:22 +08:00
Isaiah Hamilton bbbf770747 improve RLS description 2022-01-24 19:28:48 -05:00
Ziinc 2e89b37a41 Merge pull request #4491 from w0wka91/bugfix/#4490
Bugfix[#4490]: fix options toggle hover state
2022-01-24 23:49:51 +08:00
Joshen Lim 11d0c9569e Add guard in RowEditor.utils (https://sentry.io/organizations/supabase/issues/2921318702/) 2022-01-13 19:09:26 +08:00
Joshen Lim 5e15eb41f7 Add guard in ColumnManagement https://sentry.io/organizations/supabase/issues/2830518290 2021-12-22 14:42:26 +07:00
Joshen Lim 43f464d2d5 Fix type inference for spreadsheet text import 2021-12-21 16:04:59 +07:00
Joshen Lim e241dad2e0 Lint 2021-12-21 16:04:59 +07:00
Joshen Lim b04d6a623d Improve UX for errors when validating uploaded CSV (prior to saving) 2021-12-21 16:04:59 +07:00