Commit Graph

126 Commits

Author SHA1 Message Date
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
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
Terry Sutton
b6b4ef5ab0 Merge branch 'feat/rls-link-when-enabled' of github.com:supabase/supabase into feat/rls-link-when-enabled 2022-05-02 14:35:44 -02:30
Terry Sutton
0d74ae67bc Only show RLS link on public schema tables 2022-05-02 14:35:35 -02:30
Jonathan Summers-Muir
c3b6443374 Merge branch 'master' into feat/rls-link-when-enabled 2022-04-29 11:08:50 +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
Terry Sutton
f4a5314f6e Add a link to the RLS settings page when RLS is enabled 2022-04-25 16:07:57 -02:30
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
e33b5e292f Misc styling fixes 2022-03-01 16:48:24 +08:00
Joshen Lim
c68d51d095 Update styling for reference row viewer component 2022-03-01 13:58:55 +08:00
Jonathan Summers-Muir
93bcf9ed62 fix: build errors and misc issues 2022-03-01 13:58:55 +08:00
Jonathan Summers-Muir
533ca2b2cf chore: updated SidePanels. replaced more text. updated Grid. updated Menus 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