Commit Graph
245 Commits
Author SHA1 Message Date
Alaister Young 80ff7827dc fix ForeignRowSelector keys 2023-03-23 13:56:21 +08:00
Alaister Young f0de1b1829 fixes foreign row selector 2023-03-23 13:56:21 +08:00
Terry Sutton 0391ce9e8b Add a new warning about not having RLS policies in place 2023-03-23 11:42:52 +08:00
Joshen Lim 1a863eea7b Add RQ for database triggers and webnhooks 2023-03-22 21:38:20 +08:00
Joshen Lim 59e597a16f Remove logs 2023-03-22 12:12:23 +08:00
Joshen Lim 0fcb540f25 Fixrow editor bool column value gets set to null if no changes made + conditionally rendering listbox option for bool 2023-03-22 12:12:23 +08:00
Joshen Lim 7f1dade2ee Remove console log 2023-03-16 14:56:11 +08:00
Joshen Lim dcb8c8aeca Merge branch 'master' into chore/support-setting-to-null-in-table-editor 2023-03-16 09:49:07 +08:00
Alaister Young 7f84b07a07 adds optimistic updates for foreign row references 2023-03-15 15:24:16 +08:00
Alaister Young be4c29de5a adds double click to foreign keys on grid 2023-03-15 15:24:16 +08:00
Joshen Lim a1922fc4a3 More minor fixes 2023-03-15 15:24:16 +08:00
Joshen Lim 85bf421d31 More minor fixes 2023-03-15 15:24:16 +08:00
Joshen Lim 6ee5f9ccf6 Apply dynamic width to foreign row selector grid 2023-03-15 15:24:16 +08:00
Joshen Lim e344d0d086 Small styling 2023-03-15 15:24:16 +08:00
Alaister Young c7487ee512 remove initial filter when a value exists 2023-03-15 15:24:16 +08:00
Alaister Young f17d009da5 reset page to 1 on filters change 2023-03-15 15:24:16 +08:00
Alaister Young ed91d2b4d2 adds cursor pointer to clickable rows 2023-03-15 15:24:16 +08:00
Alaister Young e4442c2fa9 adds default filter to view referenced row 2023-03-15 15:24:16 +08:00
Alaister Young ed91bf5882 adds basic pagination to foreign row selector 2023-03-15 15:24:16 +08:00
Alaister Young 802741cfc4 adds filter and sort to foreign row selector 2023-03-15 15:24:16 +08:00
Alaister Young edd36ad47c feat: basic foreign key value selection 2023-03-15 15:24:16 +08:00
Alaister Young 0af811b105 renames ReferenceRowViewer to ForeignKeySelector 2023-03-15 15:24:16 +08:00
Joshen Lim bd43202645 Update row editor bool field to use listbox instead of a toggle 2023-03-15 14:02:28 +08:00
Joshen Lim 17c3672427 Add support in row editor side panel to set nullable boolean column value to null 2023-03-10 17:44:41 +08:00
Joshen Lim 7d07ae8932 Add set to null action in row side panel editor for text types 2023-03-10 16:51:56 +08:00
Joshen Lim 4962b4e78e Only show set to null action if column is nullable 2023-03-10 16:18:14 +08:00
Joshen Lim 32ad155ba1 Shift position of tooltip for restrict 2023-03-09 16:02:45 +08:00
Joshen Lim 894eeae12e lol misspell 2023-03-09 16:02:45 +08:00
Joshen Lim a17de10b7b Add tooltip for restrict action 2023-03-09 16:02:45 +08:00
Joshen Lim 505ab4b4fa Add info box to help users decide what sort of action they need 2023-03-09 16:02:45 +08:00
Joshen Lim af53f26134 First round of feedback address 2023-03-09 16:02:45 +08:00
Joshen Lim 8808ed700c Update desc for delete restrict 2023-03-09 16:02:45 +08:00
Joshen Lim 8f02734db9 Support all deletion actions instead of only cascade delete 2023-03-09 16:02:45 +08:00
Joshen Lim 4855bfe459 Add tooltips for grid column foreign key 2023-03-09 16:02:45 +08:00
Joshen Lim 5248435753 Add tooltips for foreign keys in table editor side panel 2023-03-09 16:02:45 +08:00
Joshen Lim 6084e0d39b Fix delete cascade setting in create table 2023-03-09 16:02:45 +08:00
Joshen Lim 10a10a5d7c Invalidate foreign key constraints query after saving column 2023-03-09 16:02:45 +08:00
Joshen Lim 1742c9b2aa Add query to fetch foreign key constraints meta and implement cascade deletes via column editor side panel 2023-03-09 16:02:45 +08:00
Alaister Young 9bfccb5bf7 fixes for feedback 2023-02-17 17:06:30 +11:00
Alaister Young 28fb7d6171 moves rows + rows count queries and create + update rows to react-query 2023-02-14 18:43:42 +11:00
Joshen Lim 21e0465dba Fix: 2023-02-10 17:22:49 +08:00
Joshen Lim 13d2b866f9 Fix table editor foreign key selector cannot select tables outside of public schema 2023-02-10 17:22:49 +08:00
Joshen Lim 4dbcd65fce Revert comment and remove unnecessary loading prop 2023-02-07 12:54:05 +08:00
Joshen Lim 078980accf Fix showing column recommendation breakingin table side panel editor 2023-02-07 12:54:05 +08:00
Joshen Lim 9d39338b31 Allow json editor in grid to expand to json side panel editor 2023-02-07 12:54:05 +08:00
Joshen Lim 3a7dc79a74 Improve experience for unrecommended data types 2023-02-02 14:00:44 +08:00
Qiao Han 35ee010407 chore: update null check 2023-01-27 14:56:54 +08:00
Ruggero Tomaselli af28a42fd6 Add type to import to be more explicit 2023-01-27 14:56:54 +08:00
Joshen Lim 1d1cabda36 Remove varchar, json, timetz and timestamp from being able to be selected when creating column in table editor 2023-01-21 15:21:14 +08:00
Joshen Lim befecabba9 Remove varchar, json, timetz and timestamp 2023-01-21 15:21:14 +08:00