Commit Graph
56 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
3dca7ff61c feat: disable features (#17553)
* feat: groundwork for disabling features

* update to use profile endpoint & disable features

* fix ts error

* add useIsFeatureEnabled mock

* fix merge conflicts

* fix test

* upgrade to pro

* prettier

* add more billing enabled feature checks

* disable more stuff

* update useIsFeatureEnabled hook

* Fix database reports disk size

* Fix database reports disk size

* disable log sources

* disable moar things

* Tiny fix

---------

Co-authored-by: Kevin Grüneberg <k.grueneberg1994@gmail.com>
Co-authored-by: Joshen Lim <joshenlimek@gmail.com>
2023-10-16 12:59:36 +08: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
Terry Sutton 412585397e Chore/capitalization (#17628)
Capitalization inconsistencies
2023-09-22 10:14:57 +08:00
Joshen Lim 6c99a10bdb Shift components in Docs out of to be cleaned 2023-09-18 15:33:17 +08:00
Joshen Lim d1a7ba3279 NewProjectPanel link to /templates instead of /new based on AI flag 2023-08-09 12:32:58 +08:00
Ivan Vasilov 58da5ffe94 Switch all mentions of the projects/:ref/sql to the new page projects/:ref/sql/new. 2023-08-08 10:11:40 +02:00
Joshen Lim 2e9411b295 Remove all usage of FC part 3 2023-08-07 14:23:30 +08:00
Jonathan Summers-Muir 66b1d82e3d Update studio/components/interfaces/Home/NewProjectPanel/APIKeys.tsx 2023-08-02 04:18:25 +08: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
Jonathan Summers-Muir ab46d23d58 chore: update brand-900 to brand 2023-07-30 16:58:54 +08:00
Alaister Young 3bc70549c3 chore: checkPermissions -> useCheckPermissions 2023-06-30 15:15:09 +10:00
Greg Richardson 1c260b0283 chore: fix realtime description grammar 2023-05-02 10:30:55 -06:00
chandler.armstrong 04c629fdb9 just fixing a typo i noticed after signing up 2023-05-02 10:59:15 -05:00
Terry Sutton 1e6477bf11 Move useParams to common packages 2023-03-24 15:16:44 -02:30
Alaister Young 7bb2977a28 adds basePath to images 2023-03-22 19:38:42 +11:00
dng 6df590d80c Merge branch 'master' into docs/database-api 2023-02-08 11:42:44 -08:00
Alaister Young f32d6926ef update anon key access 2023-01-30 15:50:24 +11:00
Alaister Young 4e43d9d77e Merge branch 'master' into chore/swr-to-react-query-1 2023-01-30 15:08:37 +11:00
dannykng eda821e21b Merge branch 'master' into docs/database-api 2023-01-27 17:00:11 -08:00
Qiao Han 6e037f19e9 chore: use api settings route in all places 2023-01-26 23:18:53 +08:00
Ruggero Tomaselli 8ccbf40079 Fix evaluation of protocol 2023-01-26 23:18:53 +08:00
dannykng b41031c0c3 Update links 2023-01-12 11:53:10 -08:00
Alaister Young 301542c444 move useJwtSecretUpdateStatus to react-query 2023-01-03 21:46:38 +00:00
Alaister Young 7331b8cd39 Merge branch 'master' into chore/swr-to-react-query-1 2022-12-19 12:21:55 +00:00
Inian 0868ee96f2 fix: assume http by default if local dev
https://localhost had cert issues. the user can override with a https SUPABASE_PUBLIC_URL if required and we will pick that up
2022-12-14 17:27:52 +08:00
Alaister Young d38c8dc1d5 move useProjectSettings to react-query 2022-11-25 18:52:07 +00:00
Bruno Crosier b4038e831c add target="_blank" rel="noreferrer" to external links 2022-10-08 15:26:04 +00:00
Joshen Lim 3b48202972 Pull master and resolve conflicts 2022-10-06 10:02:15 +08:00
Han QiaoandJoshen Lim 20fc23ed21 feat: add notification for schema migration (#9229)
* feat: add notification for schema migration

* chore: add finalise button to notification

* Pull master, revert package-lock

* chore: update spelling

* chore: generalize confirm modal text

* Update UI for notifications, specifically for the upcoming schema migration

* Update messaging grammar

* Update shared-types to 0.1.29

* Fix UI bugs

* fix: use desired state for action button

* chore: fix temp role and unmigrated order

Co-authored-by: Joshen Lim <joshenlimek@gmail.com>
2022-10-06 09:26:43 +08:00
Joshen Lim da27ca91ce Remove 2 already deleted files 2022-10-05 22:48:34 +08:00
Terry Sutton 0e26f42950 Fix import paths 2022-10-05 10:32:50 -02:30
Terry Sutton e36fabde3e Merge branch 'master' into feat/migrate-supabase-ui 2022-10-05 10:09:23 -02:30
Joshen Lim f880a3e4b3 Remove python 2022-09-30 12:46:46 +08:00
Terry Sutton 46f95ab93d Add card for Realtime to new homepage 2022-09-29 16:55:42 -02:30
Terry Sutton b74e5a97a4 Add realtime section to homepage 2022-09-29 15:51:06 -02:30
Joshen Lim 8cf996cc1a Fix colors 2022-09-26 12:45:16 +08:00
Joshen Lim 9fb2bfe9bd Updates based as per PR comments 2022-09-26 12:45:16 +08:00
Joshen Lim debba30a77 Add simplified API copy paste snippet on project home page 2022-09-26 12:45:16 +08:00
Joshen Lim 91d69fb801 Update GetStartedPanel 2022-09-26 12:45:16 +08:00
Joshen Lim b57dbdf449 Init improvement to home page for new projects 2022-09-26 12:45:16 +08: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 3a7d8d9fd4 Pull master and resolve conflicts 2022-09-01 12:27:45 +08:00
Joshen Lim 5641fad66d Deprecate usage of Typography and remove all unused deprecated files 2022-08-30 13:54:58 +08:00
Joshen Lim 559742f44a Update and refactor a couple for files to pre-emptively support new structure from /usage endpoint 2022-08-10 15:31:55 +08:00