Commit Graph
21 Commits
Author SHA1 Message Date
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
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
Joshen Lim d739228db5 Convert files to ts 2023-09-18 15:27:38 +08:00
Joshen Lim fda0714135 Add max retry for read only query 2023-09-05 17:04:07 +08:00
Joshen Lim eb1c05e9af Refactor error handling for config mutations 2023-07-10 16:28:41 +08:00
Joshen Lim 8ddbbfba23 Update project settings if org billing 2023-07-07 11:52:32 +08:00
Alaister Young 00454c7efd manually update the cache after resizing disk 2023-05-30 16:12:04 +10:00
Alaister Young 35fe42707c fix remaining useExecuteSqlPrefetch call 2023-03-23 13:56:21 +08:00
Joshen Lim e2fd5fdcca Fix polling logic for db upgrades 2023-03-03 13:35:04 +08:00
Joshen Lim e7316c05a2 DB upgrades 2023-03-02 14:01:21 +08:00
Alaister Young 1248504ad4 ensure connection string is present before loading project read-only state 2023-02-22 17:58:19 +08:00
Alaister Young cac7c93667 fix/convert project read only state to react query 2023-02-22 17:58:19 +08:00
Alaister Young 4e43d9d77e Merge branch 'master' into chore/swr-to-react-query-1 2023-01-30 15:08:37 +11:00
Qiao Han 6e037f19e9 chore: use api settings route in all places 2023-01-26 23:18:53 +08:00
Alaister Young 06e155e39b move storage settings to react-query 2023-01-05 14:13:45 +00:00
Alaister Young da86e9973b move useProjectPostgrestConfig to react-query 2023-01-03 22:49:07 +00:00
Alaister Young 301542c444 move useJwtSecretUpdateStatus to react-query 2023-01-03 21:46:38 +00:00
Alaister Young d38c8dc1d5 move useProjectSettings to react-query 2022-11-25 18:52:07 +00:00
Alaister Young d558426120 adds unstyled add custom domains flow 2022-11-07 15:30:29 -08:00