Commit Graph
579 Commits
Author SHA1 Message Date
Kevin Grüneberg 11914a55de chore: remove old billing code (#18610) 2023-11-01 10:52:52 +01:00
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
f16a311a4c chore: upgrade upgrade duration estimations, detection of legacy auth roles and dependent objects which might be dropped, light mode and timezone fixes (#18411)
* chore: upgrade duration estimations, detection of legacy auth roles and dependent objects which might be dropped, light mode and timezone fixes

* chore: docs + extra UX

* chore: revert accidental merge

* Use the new Alert component in ProjectUpgradeAlert.

* Migrate an alert in InfrastructureInfo to the new alert component.

* chore: apply suggestions from code review

Co-authored-by: Jonathan Summers-Muir <MildTomato@users.noreply.github.com>

* Fix the restart server button so that it's aligned to the dropdown button.

* Fix the icon colors on upgrading panel.

* Migrate all alerts to the new shadcn one.

* chore: change wording related to rollbacking upgrades


---------

Co-authored-by: Jonathan Summers-Muir <MildTomato@users.noreply.github.com>
Co-authored-by: Ivan Vasilov <vasilov.ivan@gmail.com>
2023-10-26 13:58:35 +03:00
Kevin Grüneberg c4b20e114a feat: partner billing (#18386) 2023-10-24 11:33:53 +02:00
Joshen Lim e670d4d04f Reinstate rate limit fields for token refresh and verify (#18328)
* reinstate rate limit fields for token refresh and verify

* Update max limit for rate limits
2023-10-20 10:37:22 +08:00
Joshen Lim 8be40f1fdb Chore/separate auth rate limits into its own page (#18265)
* Create new auth rate limits page

* Hook up RQ

* Remove rate limit fields from phone provider and SMTP settings

* Update default value and descriptions for token and verification rate limits

* Add ID to each form limit rate section

* Improve rate limit descriptions

* Hide token refresh and verify rate limits
2023-10-18 19:26:41 +08:00
Joshen Lim 317a177b5d Support temp enable db writes (#18249) 2023-10-17 09:45:43 +08:00
Ivan Vasilov 3d70a1cdca Revert "Chore/support temp enable db writes (#18171)" (#18229)
This reverts commit d200ed9414.
2023-10-16 10:55:43 +02:00
Joshen LimandIvan Vasilov d200ed9414 Chore/support temp enable db writes (#18171)
* Deprecate old project-read-only-query and add temp-disable-read-only-mode-mutation

* Scaffold enable writes UI

* Implement temp enable writes

* Bump @supabase/shared-types.

* Add scopes parameter to all queries and mutations.

* Refactor the publish app side panel to include scopes.

* Refactor the authorize page to show the app scopes.

* Remove a console.log.

* Address all feedback.

* Simplify the scope rendering.

* Simplify the scopes wording when creating an app.

* Make the modal a bit wider so that some of the text doesn't overflow.

* Add URL to docs for oauth apps scopes

* Remove unnecessary async await

---------

Co-authored-by: Ivan Vasilov <vasilov.ivan@gmail.com>
2023-10-16 13:52:42 +08: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
Joshen Lim c813b54efa add flag behind project upgrade failed banner (#18068) 2023-10-10 18:01:53 +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
Jonathan Summers-Muir 1c842d5a05 chore: tidy project padding. remove redundant classes (#17929)
* chore: tidy project padding. remove redundant classes

* Update ProjectCardStatus.tsx

* chore: update size

* Update ProjectCardStatus.tsx
2023-10-04 12:03:06 -02:30
Kevin Grüneberg bc1c9090c2 fix: use prettier on studio too (#17787) 2023-09-28 20:31:07 +02: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 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 998138862a Address feedvacj 2023-09-19 14:34:31 +08:00
Pamela Chia 1cb20a79bf fix: improve consent toast copy 2023-09-14 19:16:11 +08:00
Joshen Lim 29de99835f Bring in changes from master and resolve conflicts 2023-09-14 16:55:56 +08:00
Terry Sutton a5e95009db Update 2023-09-13 12:52:36 -02:30
Terry Sutton d316fc9e9e Fix card button classes 2023-09-13 12:51:17 -02:30
Joshen Lim 4aa4f842c2 Bring in changes from master and resolve conflicts 2023-09-13 14:41:38 +08:00
Joshen Lim 7a6f7c7bc3 Small refactors 2023-09-13 14:39:59 +08:00
Joshen Lim 4ba7363472 Merge pull request #17379 from supabase/feat/usage-banner-org
feat: over-usage banners for orgs
2023-09-13 13:32:05 +08:00
Terry Sutton 2a1354448c Language updates 2023-09-12 22:50:37 -02:30
Kevin Grüneberg 4bd241af27 feat: over-usage banners for orgs 2023-09-13 00:21:53 +02:00
Terry Sutton 9dab6b26e9 Merge branch 'master' into feat/project-exhaustion-warnings 2023-09-11 11:47:36 -02:30
Terry SuttonandLong Hoang f2dc982a3a Update studio/components/ui/ResourceExhaustionWarningBanner/ResourceExhaustionWarningBanner.constants.ts
Co-authored-by: Long Hoang <1732217+loong@users.noreply.github.com>
2023-09-11 10:01:39 -02:30
Terry SuttonandLong Hoang 28642b1a16 Update studio/components/ui/ResourceExhaustionWarningBanner/ResourceExhaustionWarningBanner.constants.ts
Co-authored-by: Long Hoang <1732217+loong@users.noreply.github.com>
2023-09-11 10:01:31 -02:30
Terry SuttonandLong Hoang ea8208daef Update studio/components/ui/ResourceExhaustionWarningBanner/ResourceExhaustionWarningBanner.constants.ts
Co-authored-by: Long Hoang <1732217+loong@users.noreply.github.com>
2023-09-11 10:01:23 -02:30
Terry SuttonandLong Hoang 505e7203e0 Update studio/components/ui/ResourceExhaustionWarningBanner/ResourceExhaustionWarningBanner.constants.ts
Co-authored-by: Long Hoang <1732217+loong@users.noreply.github.com>
2023-09-11 10:01:12 -02:30
Terry SuttonandLong Hoang e33d28e579 Update studio/components/ui/ResourceExhaustionWarningBanner/ResourceExhaustionWarningBanner.constants.ts
Co-authored-by: Long Hoang <1732217+loong@users.noreply.github.com>
2023-09-11 10:01:01 -02:30
Terry SuttonandLong Hoang c37a4a7f41 Update studio/components/ui/ResourceExhaustionWarningBanner/ResourceExhaustionWarningBanner.constants.ts
Co-authored-by: Long Hoang <1732217+loong@users.noreply.github.com>
2023-09-11 10:00:38 -02:30
Ziinc 2dd86e2c06 Merge branch 'master' into feat/storage-report-cache-misses 2023-09-11 18:49:28 +08:00
TzeYiing 7d047ccd4d chore: fix typing error 2023-09-11 18:45:05 +08:00
TzeYiing e53d93c4dc chore: fix typo 2023-09-11 18:32:06 +08:00
TzeYiing 4b7ea6eb8c chore: fix import 2023-09-11 17:13:11 +08:00
TzeYiing 0ef21e837d chore: fix failing tests, add test coverage to storage report 2023-09-09 04:34:27 +08:00
TzeYiing b65ebe8bf9 feat: storage report cache misses 2023-09-09 04:09:54 +08:00
Joshen Lim 86e51ddb2f UI fixes 2023-09-08 14:41:06 +08:00
Joshen Lim eff4373b6b Small refactor 2023-09-08 14:04:06 +08:00
Joshen Lim 1f9a7d6d8b Merge branch 'master' into hf/add-test-otp 2023-09-07 12:12:21 +08:00
Terry Sutton 4b71473e31 Nudge banners 2023-09-06 21:07:53 -02:30
Terry Sutton 1068773733 Combine project status with resource warnings 2023-09-06 17:08:27 -02:30
Stojan Dimitrovski 51f8e7deb7 feat: make DatePicker work without ranges 2023-09-06 13:04:12 +02:00
Ivan Vasilov 0c7d972572 Merge branch 'master' into feat/mfa 2023-09-05 10:34:20 +02:00
Joshen Lim 4f61eb64c9 Add comment 2023-09-05 14:24:18 +08:00
Pamela Chia f90f53dc39 fix: improve consent banner copy 2023-09-05 07:47:53 +08:00