Commit Graph
55 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
Paul Cioanca dd72b01c7f chore: remove unnecessary keyword from upgrade dialog (#18499) 2023-10-30 18:42:51 +11: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
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 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 05dd38093c Update PauseProjectButton to use ConfirmationModal component 2023-09-05 14:23:37 +08:00
Joshen Lim cd7b29d218 Merge branch 'master' into chore/convert-requests-to-RQ-5 2023-08-21 13:39:25 +07:00
Joshen Lim 2f29c9553b Bring in changes from master and resolve conflicts 2023-08-21 14:13:33 +08:00
Joshen Lim 5dcdf93695 Ensure that return to project button invalidates RQ 2023-08-21 14:00:52 +08:00
Joshen Lim eda0fa1a57 Address comments 2023-08-18 11:15:43 +07:00
Joshen Lim ec7891a465 Convert project postgres upgrade to RQ mutation and refactor ProjectUpgradeAlert to use it 2023-08-16 16:56:57 +07:00
Joshen Lim 3fcc13530a Convert restart project and restart project services to RQ and refactor RestartServerButton to use them 2023-08-16 15:57:27 +07:00
Joshen Lim 9bd52ca1ac Convert pause project request to RQ and upadte PauseProjectButton 2023-08-16 15:47:20 +07:00
Jonathan Summers-Muir ab46d23d58 chore: update brand-900 to brand 2023-07-30 16:58:54 +08:00
Joshen Lim e7b47ed780 Unblock most settings page and only block specific UI components that are dependent on project being active 2023-07-24 16:56:16 +08:00
Joshen Lim b4df4fdcc9 Ensure that all POST errors not in RQs are handled 2023-07-13 15:11:10 +08:00
Joshen Lim 8ddbbfba23 Update project settings if org billing 2023-07-07 11:52:32 +08:00
Alaister Young 3bc70549c3 chore: checkPermissions -> useCheckPermissions 2023-06-30 15:15:09 +10:00
Alaister Young 9b55f93232 adds pausing state 2023-06-27 23:16:27 +10:00
Alaister Young e8094ae8b7 feedback from #15212 2023-06-27 19:10:15 +10:00
Alaister Young 159f982374 delete org and project stores 2023-06-20 22:31:18 +10:00
Alaister Young 31091d3fe4 chore: move orgs and projects to react-query 2023-06-20 21:47:10 +10:00
Kevin Grüneberg 2e91f3227c null-safety 2023-06-19 16:59:04 +02:00
Kevin Grüneberg f0643d05fa chore: remove old subscription UI / use v2 endpoint 2023-06-19 16:38:26 +02:00
Joshen Lim aac25c5ab5 Fix eslint errors 2023-04-20 17:56:06 +07:00
Joshen Lim 664d206a08 small update 2023-04-14 16:25:27 +07:00
Joshen Lim 94b17ecac4 Small refactor in Infrastructure componnet 2023-04-14 16:14:12 +07:00
Terry Sutton 5f865e160c Merge branch 'master' into chore/move-useparams-to-packages 2023-03-31 11:51:43 -02:30
Jonathan Summers-Muir 283712aa8f Merge branch 'master' into feat/cmdk-2 2023-03-29 14:43:41 +08:00
Joshen Lim 7df295bc3f Remove logs 2023-03-29 01:52:35 +08:00
Joshen Lim 35f9ccdf5c Show exact app version in db upgrade modal 2023-03-29 01:49:14 +08:00
Terry Sutton 1e6477bf11 Move useParams to common packages 2023-03-24 15:16:44 -02:30
Jonathan Summers-Muir c81e0c9098 update radix and tailwind to correct versions. update all tooltips with Portal subcomponent 2023-03-24 14:48:01 +08:00
Joshen Lim 4950d406a6 Add UI support for requires_manual_intervention 2023-03-03 13:35:04 +08:00
Joshen Lim aa429d1d32 Copy updates from feedback 2023-03-03 13:35:04 +08:00
Joshen Lim 4873c2afe4 Add a badge to indicate if project is on the latest version of PG that supabase supports 2023-03-03 13:35:04 +08:00
Joshen Lim e7316c05a2 DB upgrades 2023-03-02 14:01:21 +08:00
Joshen Lim b49d2a87dd Disable pause button if project is already paused 2023-01-19 21:11:36 +08:00
Joshen Lim 6064b9d8a8 Remove enablePermissions flag 2022-12-06 10:53:02 +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 d9e9434c7c remove unused import 2022-09-01 19:09:59 +08:00
Joshen Lim 95b762ef58 Remove project pausing flag 2022-09-01 19:09:59 +08:00
Joshen Lim 143fa7aa0d Add ABAC chekc 2022-08-22 13:19:55 +08:00