Commit Graph
115 Commits
Author SHA1 Message Date
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
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
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
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
Alaister Young a9b5880d78 Merge branch 'master' into chore/remove-pg-meta-schema-store 2023-09-11 17:45:34 +10:00
Joshen Lim 23c864c947 More standardization 2023-09-07 16:14:26 +08:00
Alaister Young aea640c2a8 Merge branch 'master' into chore/remove-pg-meta-schema-store 2023-09-07 16:46:01 +10:00
Alaister Young 282daad2cd chore: enable airtable wrapper 2023-08-18 23:46:58 +10:00
Michael Cooke 87eed9d310 Fix dead Wrappers documentation links 2023-08-11 09:53:01 -04:00
Alaister Young b7e5412404 chore: airtable wrapper coming soon 2023-08-09 14:13:09 +10:00
Joshen Lim ee0991d67d Merge pull request #16228 from supabase/feat/logflare-airtable-wrappers
feat: add logflare and airtable wrappers
2023-08-08 21:56:53 +08:00
Alaister Young dc57447471 comment out airtable wrapper 2023-08-08 20:42:37 +10:00
Joshen Lim 2e9411b295 Remove all usage of FC part 3 2023-08-07 14:23:30 +08:00
Joshen Lim 2977491c5f Remove all usage of FC part 2 2023-08-07 14:08:54 +08:00
Monica 915d7e5092 Fix wrappers link in dashboard 2023-08-06 17:41:53 +03:00
Alaister Young bd1a36dbe1 feat: add logflare and airtable wrappers 2023-08-04 22:51:35 +10:00
Jonathan Summers-Muir dec542a85a chore: update old brand-500 to new brand-300 2023-07-30 17:01:49 +08:00
Jonathan Summers-Muir e92931390c chore: update old brand-800 to new brand-500 2023-07-30 17:00:56 +08:00
Joshen Lim a07b762cab Refactor to change mutateAsync to mutate 2023-07-17 17:21:18 +08:00
Joshen Lim 608460c9c3 Small refactor while testing FDW mutations 2023-07-12 18:10:47 +08: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
Alaister Young 01a62343fa Merge pull request #14930 from supabase/feat/bigquery-wrapper-ui
feat: bigquery wrapper ui
2023-06-13 22:41:08 +10:00
Bo Lu 4eca57df61 fix: wrappers docs links 2023-06-13 14:33:02 +10:00
Alaister Young bc9c667eb1 feat: bigquery wrapper ui 2023-06-09 20:43:54 +10:00
Alaister Young 810ba1a54c fixes updating wrappers 2023-05-25 15:53:22 +10:00
Alaister Young 71186a6891 make has_header option non-optional in S3 wrapper 2023-05-15 21:00:31 +10:00
Alaister Young 4a4f499681 updates S3 wrapper description 2023-05-15 20:59:36 +10:00
Alaister Young 18f9232c69 adjust padding at bottom of wrapper table form 2023-05-15 20:59:00 +10:00
Alaister Young c153854ee4 validate dynamic columns are not empty 2023-05-15 20:56:40 +10:00
Alaister Young 00e159b961 better optional listbox rendering 2023-05-15 17:24:30 +10:00
Alaister Young 4143a29ee9 encrypt aws keys in wrappers 2023-05-15 17:24:14 +10:00
Alaister Young 94c16a5661 encrypts clickhouse connection string 2023-05-09 13:58:31 +10:00
Alaister Young 04575b65b1 chore: remove pg meta schema store 2023-05-02 00:13:39 +10:00
Alaister Young 0f688003cf fix: clickhouse fdw not decrypting secret 2023-04-30 11:36:13 +10:00
Alaister Young 9c20c3c881 adds rowid_column to clickhouse wrapper 2023-04-30 11:22:25 +10:00
Alaister Young a0b3541cb7 adds clickhouse wrapper 2023-04-28 23:13:05 +10:00
Joshen Lim 77fc6f0e1e Fix wrapper table editor not rendering dynamic columns 2023-04-27 16:38:05 +08:00
Joshen Lim 6a14f8bedb Update branch with master 2023-04-27 15:51:33 +08:00
Joshen Lim aac25c5ab5 Fix eslint errors 2023-04-20 17:56:06 +07:00
Alaister Young c12fcc9119 more hooks rule fixes 2023-04-18 18:07:57 +10:00
Alaister Young 281b02b703 chore: add eslint-config-next 2023-04-17 16:40:33 +10:00
Alaister Young 7bbc1551a0 addable s3 wrapper 2023-04-14 20:53:57 +10:00
Alaister Young 88e0c65c3b Merge branch 'master' into feat/moar-wrappers 2023-04-12 14:31:03 +10:00
Joshen Lim 145a9c857d Refactor themeing logic for dashboard to use useTheme from common, and fix theme changing via cmdk for dashboard 2023-04-05 18:03:56 +08:00