Commit Graph
117 Commits
Author SHA1 Message Date
8057309e51 chore: upgrade next 13 + react 18 (#17839)
* update deps + image codemod (studio)

* update next links (studio)

* update deps

* update links (ui)

* remove next-transpile-modules

* move next-themes dependency

* chore: update ConfirmDialog

* chore: remove old ConfirmModal js file. migrated to TS

* dependency wrangling

* remove empty page

* update next links (www)

* First run bump react-data-grid-v7 beta 4

* fix package-lock.json

* more deps wrangling

* update recharts

* update sentry options

* fix some broken things in www

* studio fixes

* fix graphiql

* fix studio build

* fix menu hydration

* small build error

* update turbo

* fix www typescript errors

* docs image codemod

* links codemod docs

* fix docs typescript errors

* move useConsent to ui to prevent circular deps

* Fix links

* Fix homepage

* Fix links

* move studio/ to apps/

* Revert "move studio/ to apps/"

This reverts commit 1b0a985fcb.

* disable outputFileTracingRoot

* remove outputFileTracingRoot

* fix homepage product cards

* fix PrivacySettings links

* Fix links

* Fix the build for www.

* Minor fixes for JWTGenerator.

* Fix the docs and ui tests.

* Revert codehike back to 0.8.3

* remove ConfirmAlert()

* reenable babel because mobx hates me

* fix blog image and comparison page avatar

* Fix svg errors

* update image synthax

* Fix code hike

* Move the button in a div so that it doesn't inherit its parent height and make the button look weird.

* When components are defined in a component, they get recreated on each render. This makes them unstable in certain cases and causes infinite rerenders.

* Replace the next/head usage with next/script.

* Chore/upgrade next 13 fix table editor (#18431)

* fix table editor styling and fix row deletion logic

* Fix deleting selected rows from header, and fix checkboxes not clearing up

* Fix deleting all rows when filter applied, and fix deleting all rows

* Fix grid size styling issue

* Fix TS error

* Hydration errors

* studio org pages fixes

* fix more studio links

* audit logs fixes

* dropdown icon styling fixes

* fix some images in www

* upgrade to next 14

* try new sentry wrapper for api

* see if this is even invoked

* Revert "see if this is even invoked"

This reverts commit 86c3973ffa.

* Revert "try new sentry wrapper for api"

This reverts commit f67623ebad.

* Revert "upgrade to next 14"

This reverts commit a24dd6131e.

* chore: allow node version 19/20

* Try to fix the LogTable so that it renders with the newer "react-data-grid" version.

* Fix type errors in the log renderer code.

* Fix the replication screen.

* Add the CSS for the GraphiQL.

* Fix SQL editor results rendering

* Lint

* Fix SQL editor results height issue

* Fix auth RLS not invalidating RQ when toggling RLS

* Fix database tables new/edit column regressed

* Fix migrations page empty state if migrations schema not yet created

* Fix API side panel docs temp remove postgrest text for column description PK and FK

* Fix + improve timeout handling in SQL editor

---------

Co-authored-by: Jonathan Summers-Muir <MildTomato@users.noreply.github.com>
Co-authored-by: Joshen Lim <joshenlimek@gmail.com>
Co-authored-by: Francesco Sansalvadore <f.sansalvadore@gmail.com>
Co-authored-by: Terry Sutton <saltcod@gmail.com>
Co-authored-by: Ivan Vasilov <vasilov.ivan@gmail.com>
Co-authored-by: Kevin Grüneberg <k.grueneberg1994@gmail.com>
2023-10-31 05:51:46 +00:00
Joshen Lim cc6d188852 Chore/fix wrappers UI (#18293)
* Fix schema listbox in WrapperTableEditor crashing if schemas has not loaded

* Fix client side crashing when editing existing wrappers
2023-10-18 15:36:05 +08: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
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