Commit Graph
476 Commits
Author SHA1 Message Date
Greg Richardson 90ae844a0b feat(hooks): update default edge function url (#18186) 2023-10-16 16:41:37 +08:00
Monica KhouryandKevin Grüneberg 0c3c3673ab Fix: schema on create index page (#18151)
* Fix: schema on create index page

* Fix Deploy issues

* Remove space

Co-authored-by: Kevin Grüneberg <k.grueneberg1994@gmail.com>

* Remove line break

Co-authored-by: Kevin Grüneberg <k.grueneberg1994@gmail.com>

* Removed unecessary console import

---------

Co-authored-by: Kevin Grüneberg <k.grueneberg1994@gmail.com>
2023-10-13 11:47:51 +08:00
angelico 19746b1245 chore: reinstate backup download button (#18070) 2023-10-11 14:42:46 +08:00
Joshen LimandTerry Sutton 69d16750a6 Feat/enum types management (#17953)
* Set up react queries for enumerated types

* Add delete enumerated type RQ

* Implement types UI + deleting types

* Implement create enumerated type

* Implement update enumerated type

* Tidy enumb dropdown in table editor

* Fix default value dropdown for enum in column editor

* Remove unused code

* Add create enum type cta in column editor

* Support updating enum description

* Add learn more URL RE inability to delete a single enum value

* Add sorting when creating enums

* Support updating existing values in an enum type

* Support updating order when editing existing enum

* Address comments part 1

* Address comments part 2

* Use lucide icons

* Update icons

* Address comments part 3

* Refactor enum type forms to use react hook form

* Update studio/components/interfaces/Database/EnumeratedTypes/EditEnumeratedTypeSidePanel.tsx

* Update studio/components/interfaces/Database/EnumeratedTypes/EditEnumeratedTypeSidePanel.tsx

* Copy

* Small style fix to API panel

* Use new input components and add alert when creating enum type

* Address comments

* Address comments

---------

Co-authored-by: Terry Sutton <saltcod@gmail.com>
2023-10-10 14:08:29 +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
Terry Sutton 6a651a1837 Chore/update theme switcher (#17866)
Use resolved theme
2023-10-03 11:12:19 -02:30
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
Terry Sutton da37e0423e Change table header for security type (#17848)
* Change table header for security type

* No centering
2023-10-02 12:44:27 -02:30
Terry Sutton 38a231bf3a Chore/fix system theme bugs 2 (#17812)
* Schema visualizer

* Fix icons
2023-09-29 19:07:30 +00: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
Terry SuttonandJoshen Lim d1f175c158 Chore/add security type to functions (#17737)
* Add definer check to functions table

* Remove console log

* Small improvements to db functions UI

* Remove console log

---------

Co-authored-by: Joshen Lim <joshenlimek@gmail.com>
2023-09-27 13:38:05 +08: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
9910073432 Chore/proper theme switcher (#17635)
* Add theme switcher

* Update

* Update

* Fix docs

* Update

* Fix www

* Componentize ThemeToggle

* Remove unused TopBarRef, rename existing component

* Update apps/www/pages/launch-week/6/index.tsx

Co-authored-by: Greg Richardson <greg.nmr@gmail.com>

* Update apps/docs/components/Navigation/NavigationMenu/TopNavBar.tsx

Co-authored-by: Greg Richardson <greg.nmr@gmail.com>

* Update apps/www/pages/launch-week/index.tsx

Co-authored-by: Greg Richardson <greg.nmr@gmail.com>

* Update apps/www/pages/launch-week/7/index.tsx

Co-authored-by: Greg Richardson <greg.nmr@gmail.com>

* Update apps/www/pages/launch-week/tickets/[username].tsx

Co-authored-by: Greg Richardson <greg.nmr@gmail.com>

* Update always-on darkmode pages

* update

* Prettier

* Check resolved theme for images

* use resolved theme

* Fix customer stories

* Update apps/docs/components/Navigation/NavigationMenu/TopNavBar.tsx

Co-authored-by: Francesco Sansalvadore <f.sansalvadore@gmail.com>

---------

Co-authored-by: Greg Richardson <greg.nmr@gmail.com>
Co-authored-by: Francesco Sansalvadore <f.sansalvadore@gmail.com>
2023-09-26 16:27:45 +00: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
Joshen Lim 95344c246b Chore/deprecate local observable (#17642)
* Deprecate local observable in api.tsx

* Deprecate local observable in auth users pqage

* Replace prop drilling refetch with proper query invalidation in mutations
2023-09-26 13:25:38 +08:00
2f2696e635 feat(schema visualizer): add minimap for better view on large schemas (#16708)
Co-authored-by: Ryan Martin <rmrt1n@users.noreply.github.com>
Co-authored-by: Ivan Vasilov <vasilov.ivan@gmail.com>
2023-09-25 14:49:56 +02:00
Monica KhouryandAlaister Young 84eb318935 Fix: Resolve null.length TypeError in WrapperRow.tsx (#17679)
* Fix: Resolved null.length TypeError in WrapperRow.tsx

* prettier

* switch to &&

---------

Co-authored-by: Alaister Young <a@alaisteryoung.com>
2023-09-24 19:02:30 +03:00
Rodrigo Mansueli Nunes 95a996647d prettier 2023-09-20 13:13:09 -03:00
karlo-supatrooper 58bc5f3964 Remove typo error on BackupsList.tsx 2023-09-20 23:49:16 +08:00
Alaister Young 170ceb54ed hotfix: webhook creation 2023-09-19 13:26:23 +02: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 1bd73f22e7 address feedback 2023-09-15 16:40:52 +02: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
Joshen Lim ecdea366eb Bring changes from 14058 and resolve conflicts 2023-09-13 17:43:12 +08:00
Joshen Lim 89cfc865ef Bring changes from master and reesolve conflicts 2023-09-13 16:29:53 +08:00
Alaister Young 2796f5ef5f address feedback 2023-09-12 22:43:25 +12:00
Joshen Lim cd7e3fbe2b Add version numbers to extension cards 2023-09-12 18:16:18 +08:00
Joshen Lim 6d7e84756d Small fixes to loading states of backups UI 2023-09-12 14:14:30 +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
Joshen LimandAlaister Young 2ebce5ad33 Update studio/components/interfaces/Database/Backups/BackupsList.tsx
Co-authored-by: Alaister Young <alaister@users.noreply.github.com>
2023-09-08 17:17:54 +08:00
Joshen Lim 7128dac7c7 Bring in changes from master and resolve conflicts 2023-09-08 15:13:12 +08:00
Joshen Lim 23c864c947 More standardization 2023-09-07 16:14:26 +08: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 7e5b704ec3 Standardise UI in database tables page 2023-09-07 15:28:57 +08:00
Joshen Lim 13125cfa62 Allow schema selection in database functions page, and show all available functions 2023-09-07 15:25:09 +08:00
Alaister Young e8dc502bd4 cleanup 2023-09-07 17:13:21 +10:00
Alaister Young aea640c2a8 Merge branch 'master' into chore/remove-pg-meta-schema-store 2023-09-07 16:46:01 +10:00
Terry Sutton e3c30e58c9 Merge pull request #15431 from GeekyADAMS/feat/dashboard-link-to-extension-docs
Feat/dashboard link to extension docs
2023-09-06 10:49:45 -02:30
dragarcia 4cb6b03912 Merge branch 'master' of github.com:supabase/supabase into drag/update_scheduled_backups 2023-09-06 16:11:40 +08:00
Terry Sutton 1f3be12ec1 Update 2023-09-05 16:50:42 -02:30