Commit Graph
333 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
Kevin Grüneberg 6ef8195e8b feat: rework database health report disk space (#18023) 2023-10-18 10:51:27 +02: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
Kevin Grüneberg bc1c9090c2 fix: use prettier on studio too (#17787) 2023-09-28 20:31:07 +02:00
Ziinc 03ef7e6959 logs/fix: temp fix for refresh counter, increase query interval (#17738)
fix: temp fix for refresh counter, increase query interval, prevent querying on error.
2023-09-27 12:27:52 +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 adb4d90c5b Fix and improve loading states + speed when going between projects and branches via header dropdowns 2023-09-20 14:44:19 +08:00
Joshen Lim 03f35e7ddb Deprecate old org and project dropdowns, LayoutHeader to use the new ones under AppLayout 2023-09-20 14:16:16 +08:00
Joshen Lim ecdea366eb Bring changes from 14058 and resolve conflicts 2023-09-13 17:43:12 +08:00
Terry Sutton 9dab6b26e9 Merge branch 'master' into feat/project-exhaustion-warnings 2023-09-11 11:47:36 -02:30
Alaister Young 01af133bb6 Merge branch 'chore/remove-pg-meta-schema-store' into chore/remove-pg-meta-table-store 2023-09-07 18:05:33 +10:00
Ivan Vasilov 73174ca4ba Another try to fix the build errors. 2023-09-04 18:05:40 +02:00
Ivan Vasilov 24a245a228 Fix build errors. 2023-09-04 17:44:41 +02:00
Ivan Vasilov e401c18b79 Add a flag to enable some pages to not require the highest AA level. 2023-08-31 14:41:19 +02:00
Ivan Vasilov 834c5fc0d8 Fix all redirects so that they're fully functional. 2023-08-30 15:43:43 +02:00
Ivan Vasilov 5826c8f79b Merge branch 'master' into feat/mfa 2023-08-30 14:25:02 +02:00
Joshen Lim e102b8c241 Update based on comments 2023-08-29 17:56:57 +08:00
Joshen Lim 0c73213dc7 Skip unnecessary calls if user is not logged in 2023-08-29 16:12:46 +08:00
Ivan Vasilov 959b38479f Redirect the user to /sign-in page if he doesn't have the appropriate AA level. 2023-08-29 09:11:34 +02:00
Joshen Lim 760500f7cd Remove all other queries that check project read only status 2023-08-23 17:19:44 +08:00
Joshen Lim 20ca3f33b5 Address comments 2023-08-21 16:16:14 +08:00
TzeYiing e31b373fe2 fix: React Query memoized keys for log event chart to prevent refresh loop 2023-08-17 04:05:17 +08:00
Terry Sutton e015d193ef Merge branch 'master' into feat/ai-sql-editor 2023-08-07 09:38:32 -02:30
Joshen Lim 2e9411b295 Remove all usage of FC part 3 2023-08-07 14:23:30 +08:00
Greg Richardson 19a4e0bf1e fix: useLocalStorageQuery error logs 2023-08-05 14:30:46 -05:00
Ivan Vasilov 2a9fd4321c Add a feature flag for the shared snippets. 2023-08-03 16:17:55 +02:00
Greg Richardson 0a7a1b7ef6 Merge branch 'feat/ai-sql-editor' into feat/ai-sql-editor-schema-suggestion-popover 2023-08-02 22:50:09 -05:00
Greg Richardson 6d1cc92e15 Merge branch 'master' into feat/ai-sql-editor 2023-08-02 14:07:23 -05:00
Greg Richardson 7204ac26fe Merge branch 'master' into chore/update-brand-colors 2023-08-01 16:10:52 -05:00
Greg Richardson f76e814be0 Merge branch 'master' into feat/ai-sql-editor 2023-07-31 16:53:29 -05:00
Joshen Lim e6c0f439d5 Merge pull request #16052 from supabase/feat/branch-management
feat/branch management part 1
2023-07-31 16:29:38 +08:00
Joshen Lim 07d98248aa Address comments 2023-07-31 15:53:52 +08:00
Jonathan Summers-Muir ab46d23d58 chore: update brand-900 to brand 2023-07-30 16:58:54 +08:00
Joshen Lim 01d85bcdac Merge branch 'master' into hf/fix-nullable-issues 2023-07-28 17:42:48 +08:00
Joshen Lim 6aa55fc1fe Gate certain project settings while on a branch, and fix route validation wrapper 2023-07-28 15:22:33 +08:00
Joshen Lim bb8fca19b3 Change defualt value to null 2023-07-28 10:36:47 +08:00
Joshen Lim b0c0961d46 Use memo for localStorageSlug in useSelectedOrganization 2023-07-28 10:30:40 +08:00
Greg Richardson 78e2251cf1 fix: useLocalStorageQuery immediate query data update 2023-07-27 17:56:02 -06:00
Greg Richardson e722c30d23 feat(sql-editor): ai schema suggestion popover 2023-07-27 17:41:00 -06:00
Stojan Dimitrovski 2f78bf4c33 feat: fix nullable issues with organizations, permissions, notifications 2023-07-27 15:25:36 +02:00
Joshen Lim 588bbb4a40 Revert changes in useSelectedProject, add error state for schema picker in tbale editor 2023-07-26 11:48:06 +08:00
Greg Richardson 3e3965b3ce fix(sql-editor): sync local storage state use react query 2023-07-25 15:34:03 -06:00
Joshen Lim c05a2abf0e Add allProjects to dep array 2023-07-24 15:05:01 +08:00
Joshen Lim 2ac5d6c85a Slight optimization in useSelectedProject hook to return project if projects query already finished 2023-07-24 15:03:54 +08:00
Joshen Lim 7c46926e0e Bring changes from master and resolve conflicts 2023-07-21 10:23:16 +08:00
Joshen Lim f1d1249a4f Add redirect on /projects if nav layout v2 is on 2023-07-19 16:10:21 +08:00
Joshen Lim 51444cc790 save last visited organization to local storage 2023-07-19 12:22:51 +08:00
Greg Richardson df17fb21d7 refactor: isResponseOk() helper type guard 2023-07-14 17:23:15 -06:00
Greg Richardson bfe1d17fa2 refactor: SupaResponse types 2023-07-14 17:11:59 -06:00