Commit Graph
64 Commits
Author SHA1 Message Date
Joshen Lim dd7a681dd7 Chore/standardize UI in database pages (#18300)
* Update database/tables to use SchemaSelector and add warning for protected schema

* Update database/triggers to use SchemaSelector and add warning for protected schema

* Update database/functions to use SchemaSelector and add warning for protected schema

* Update database/schemas to use SchemaSelector

* Small tweak to database/extensions page

* Update database/types to use SchemaSelector

* Add protected schemas warning for enumerated type and prevent edit/delete of types from protected schema

* Small style fix
2023-10-18 19:03:50 +08:00
Ivan Vasilov ae4a06f715 Change all occurences of text with text-foreground (#17890)
* Change all occurences of text with text-foreground.

* Minor fix.
2023-10-09 16:11:18 +00:00
Ivan Vasilov 7dea89cc35 Drop the _shadcn_ suffix from the the Dropdown component (#17804)
Replaced all occurrences of _shadcn_ for the Dropdown component.
2023-10-03 13:12:34 +02:00
Ivan Vasilov 18c11843ee Dropdowns migration followup (#17730)
* Remove text color from all dropdown items. The color was set by a class but it should be left to be decided by the parent.

* Make the text smaller in all dropdown elements.

(cherry picked from commit 9a71b3f987047ad26de6e5d496ccf53bc559f71d)

* Fix mismatched colors.

* Remove obsolete text-xs.

* Fix the button in the AI SQL editor.
2023-09-29 11:11:33 +00:00
Ivan Vasilov 282b08ba60 Migrate CSS classes for lighter text (#17728)
Change all occurences of text-scale-900 to text-foreground-lighter.
2023-09-27 12:01:25 +08:00
Ivan Vasilov 76db9f27b3 Migrate dropdowns to use the new Dropdown component (#17427)
* Remove unneeded component.

* Update the dropdown content to support size prop (medium by default). Add space-x-2 to the dropdown item. Add flex to DropdownTrigger so that it's more vertically centered.

* Migrate Insert row dropdown in the TableEditor.

* Refactor UserDropdown to use the new Dropdown from shadcn.

* Migrate the ColumnMenu to use the new dropdown.

* Migrate the rest of the dropdowns.

* Remove the size prop and set the w-64 as default.

* Fix build errors.

* More dropdown fixes.

* More fixes.

* More fixes to various dropdowns.

* Remove the flex from the DropdownTrigger and add it in where it's needed.

* Snapshot.

* Remove keys on dropdown separators.

* Fix the dropdown in the SQL editor.

* Minor type fix.

* Remove space-x-2 from DropdownMenuItem and add it to each item where it's needed.

* Remove the space from the dropdown item.

* Fix a build error.

* Fix the item text in some of the dropdowns.

* Remove duplicate CSS from all dropdown items.

* The SubMenuContent text should be lighter to match MenuContent.

* Fix various CSS issues.

* Revert "Remove unneeded component."

This reverts commit ef606f6695.

* Fix migrated CSS classes.

* Last round of feedback fixes.
2023-09-26 15:29:07 +02:00
Ivan Vasilov 6648acacea Migrate CSS classes for light text (#17725)
* Replace all occurences of text-scale-1100 to text-foreground-light.

* Replace all occurences of text-scale-1000 with text-foreground-light.

* Fix double uses of text-foreground-light.
2023-09-26 11:05:28 +02:00
Joshen Lim 7aee78a8b8 Replace all occurences of text-scale-1200 with text-foreground (#17723)
* Replace all occurences of text-scale-1200 with text-foreground

* Fix spelling
2023-09-26 15:53:03 +08:00
Joshen Lim f80d92fd6f Chore/protected schemas in database pages (#17636)
* Fix database tables schema not rendering listbox options + limit tables in triggers page to non excluded schemas

* Fix loading of triggers

* fix

* Only allow creation of functions in non excluded schemas

* Fix hooks empty state
2023-09-26 13:27:48 +08:00
Greg Richardson 75e1f75551 feat(dashboard): header wording on discard modal warnings 2023-09-18 13:04:01 -06:00
Greg Richardson f86fd17e64 feat(dashboard): button wording on discard modal warnings 2023-09-18 12:44:16 -06:00
Alaister Young 33dbaa2c50 Merge branch 'master' into chore/remove-pg-meta-table-store 2023-09-15 16:37:15 +02:00
Terry Sutton 6dd3d0b88b Fix empty state colspan 2023-09-13 14:26:06 -02:30
Joshen Lim 06693cdbcb Add enabled column in DB triggers list 2023-09-13 18:05:11 +08:00
Alaister Young f0a90120c5 Merge branch 'chore/remove-pg-meta-schema-store' into chore/remove-pg-meta-table-store 2023-09-11 18:08:07 +10:00
Alaister Young a9b5880d78 Merge branch 'master' into chore/remove-pg-meta-schema-store 2023-09-11 17:45:34 +10:00
Alaister Young 01af133bb6 Merge branch 'chore/remove-pg-meta-schema-store' into chore/remove-pg-meta-table-store 2023-09-07 18:05:33 +10:00
Joshen Lim 5d9cb05f82 Standardize page layouts across all database pages 2023-09-07 15:57:42 +08:00
Joshen Lim 7cbbe1c959 Clean uo 2023-09-07 15:37:37 +08:00
Joshen Lim 90f0f1fda8 Standardize UI in database triggers 2023-09-07 15:36:18 +08:00
Joshen Lim 012b1493be Remove all usage of FC part 2 2023-08-07 10:28:23 +02:00
Greg Richardson 189b1bb5eb Merge branch 'master' into refactor/suparesponse-types 2023-07-19 10:26:30 -06:00
Greg Richardson 6d93727f27 refactor: more isResponseOk updates 2023-07-17 12:25:02 -06:00
Joshen Lim 86edc92afa Refactor error handling for fdw mutations 2023-07-11 10:36:14 +08:00
Alaister Young 3bc70549c3 chore: checkPermissions -> useCheckPermissions 2023-06-30 15:15:09 +10:00
Terry Sutton 7bc8f05753 Merge pull request #14999 from supabase/feat/button-shadcn
Feat/button shadcn, fix double tabbing in menu nav items
2023-06-19 10:27:49 -02:30
Terry Sutton f0f7b8873f Merge pull request #13916 from 3ru/feature/add-ConfirmationModal-to-triggers
Confirmation modal to triggers
2023-06-15 16:54:12 -02:30
Jonathan Summers-Muir f68e79ff71 fixed errors with Button from new changes 2023-06-13 17:36:36 +08:00
Terry Sutton 3995f20a11 Make consistent with CreateFunction.tsx 2023-05-16 14:46:18 -02:30
Jonathan Summers-Muir a2e0b64871 Merge branch 'master' into jsm/design-tokens-poc-2 2023-05-06 18:57:59 +08:00
Alaister Young 7e9079af22 swaps meta store read methods for react-query 2023-05-03 22:35:45 +10:00
3ru 6757345b88 css refactoring 2023-04-23 23:35:50 +09:00
3ru 44f4d3bc82 add confirmation modal to the trigger sidepanel 2023-04-23 23:18:15 +09:00
Joshen Lim 0319394599 Add error handling for permissions + small style fix on triggers UI 2023-04-20 15:33:47 +07:00
Jonathan Summers-Muir 30fb43b669 Merge branch 'master' into jsm/design-tokens-poc-2 2023-04-01 03:41:09 +08:00
Jonathan Summers-Muir c81e0c9098 update radix and tailwind to correct versions. update all tooltips with Portal subcomponent 2023-03-24 14:48:01 +08:00
Jonathan Summers-Muir c22b81a805 Merge branch 'master' into jsm/design-tokens-poc-2 2023-03-22 18:13:35 +08:00
Alaister Young 20d49c5bab swaps Router.basePath for BASE_PATH constant 2023-03-22 19:38:42 +11:00
Alaister Young 7bb2977a28 adds basePath to images 2023-03-22 19:38:42 +11:00
Jonathan Summers-Muir ac6388ae41 remove old tailwind config 2023-03-22 15:01:44 +08:00
romoo 43a707c20c fix: add break-all for triggers list table 2023-01-07 23:23:15 +08:00
Sara Tavaresandgithub-actions[bot] 80d0624262 fix(typos): add github action to prevent typos + fix typos (#9598)
* feat(ci): fix typos

* [create-pull-request] automated change

* Update index.tsx

* Update README.fr.md

* Create .misspell-fixer.ignore

* Update constant.dart

* [create-pull-request] automated change

* Update database.tsx

* [create-pull-request] automated change

* [create-pull-request] automated change

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2022-10-27 23:32:02 -03:00
Ollie Halliday 66686b4622 trigger activation event appearing 2022-10-14 13:46:26 +01:00
Jonathan Summers-Muir 55329d540e move to ui package drectory 2022-09-19 14:00:05 +02:00
Jonathan Summers-Muir a4d37836a5 update all imports 2022-09-19 12:24:59 +02:00
Jonathan Summers-Muir bc73301b8e revert 2022-09-16 12:57:56 +02:00
Jonathan Summers-Muir e122dd0983 update import paths 2022-09-14 17:49:53 +02:00
Joshen Lim 5641fad66d Deprecate usage of Typography and remove all unused deprecated files 2022-08-30 13:54:58 +08:00
Joshen Lim 76ce1bcc57 Broad refactor to deprecate use of Typography 2022-08-30 12:23:14 +08:00
Joshen Lim b379b3b8c0 Refactor triggers and add abac 2022-08-30 11:00:45 +08:00