Commit Graph
86 Commits
Author SHA1 Message Date
Kevin Grüneberg 0073518136 perf: improve prism-react-renderer setup (#21752) 2024-03-05 12:51:11 +08:00
Kevin Grüneberg 136728f6ab perf: reorganize a few imports to improve bundle size (#21743) 2024-03-05 12:49:58 +08:00
Jonathan Summers-Muir 41fe4a993b fix: moved useeffect for theme provider (#21378) 2024-02-20 14:56:46 +08:00
Francesco Sansalvadore 1c0f677eff Blog update (#21289)
blog layout update
2024-02-16 14:16:42 +00:00
754ee55cd0 chore: update themes and add dark-new theme set (#20865)
* chore: update themes and add dark-new theme set

* chore: update

* add deep dark css theme

* fix issue with wrong class

* chore: add `bg-studio` as a custom remapped color for studio background

* updated surface classes to use a surface-75.

* update backgrounds and borders

* Update CardButton.tsx

* Update NavigationIconButton.tsx

* chore: add theme selection

* Update package.json

* Update index.ts

* Update package.json

* update alias

* Update ThemeSettings.tsx

* chore: split up theme support

* remove old code

* Update index.ts

* add back in

* Update ThemeSettingsOld.tsx

* fix issue with system theme leaking through

* reset themes

* update imports

* packagelock updated

* Update ThemeSettingsWithPreferredTheme.tsx

* Update system.svg

* Update NavigationIconButton.tsx

* Update NavigationBar.tsx

* update

* Update light.css

* updated some colors

* light mode updated

* hacked

* prettier

---------

Co-authored-by: Francesco Sansalvadore <f.sansalvadore@gmail.com>
Co-authored-by: Kevin Grüneberg <k.grueneberg1994@gmail.com>
2024-02-15 16:56:18 +01:00
Alaister Young 9d8e8b068f chore: move role impersonation state into a context (#19510)
* chore: move role impersonation state into a context

* clean up ProjectContext.tsx imports

* move isRoleImpersonationEnabled to only relevant queries
2023-12-11 16:32:11 +11:00
Stojan Dimitrovski f22ae374f2 feat: explicit gotrue-js package dependency, version 2.58.0 (#19405) 2023-12-04 11:21:26 +01:00
Francesco Sansalvadore 98f5ea35c5 Update PromoToast (#19311)
update PromoToast visual
2023-11-29 23:27:36 +01:00
Ivan Vasilov 1e7c27a27d fix: Move dat.gui dependency to the common package (#18793)
Remove dat.gui from docs and studio since it's not used directly. Add dat.gui as a dependency to common package.
2023-11-07 16:13:40 -03:30
b91532f6c7 Migrate to styling tokens (#18314)
* migrate some www components to tokens

* consolidate InteractiveShimmerCard to Panel component

* update tokens in blog

* update tokens in careers page

* update tokens in customers section

* update tokens in open-source section

* update tokens in Realtime page

* update tokens in Storage and Vector

* update tokens in SplitCodeBlockCarousel

* update tokens in PGCharts

* remove unused css files

* update tokens in Card

* update tokens in Pricing page

* clean up priving page imports

* remove hardcoded theme vars

* migrate first half of defaultTheme.ts to tokens

* migrate second half of defaultTheme.ts to tokens

* improve inputs

* add foreground to text-light and text-lighter

* add foreground to text-light and text-lighter

* migrate docs components with styling tokens

* migrate docs components with styling tokens

* fix broken Repos component

* fix broken classes in blog

* update tokens on Button and other components

* update tokens on IconPanel

* update studio main layout base styling tokens

* update tokens across studio, docs and www

* update tokens across studio, docs and www

* update ui/Panel to styling tokens

* update ExampleProject and TableEditorMenu tokens

* www vector page tokens

* update studio UI tokens

* update other studio UI tokens

* update more studio UI tokens

* change tokens here, change tokens there

* finish updating colors with tokens variables

* add gui sandbox for theme experimentation

* use common package for www, docs and studio and fix Command K tokens

* provide light mode default tokens options

* fix conflict leftover

* update loading line

* fix className typo

* fix prettier

* update themeSandbox preset default values

* fix text-background0

* prettier

* update warningBanner with warning color

* switch all border-border with border-default

* improve border-secondary and foreground-muted in light mode

* force ring color on toggle

* fix button bg color and border-muted light token

* fix input bg color

* fix dark button hover

* fix homepage product card

* fix code-hike table header colors

* button dark border

* remove tabIndex leftover from homepage main ctas

---------

Co-authored-by: Kevin Grüneberg <k.grueneberg1994@gmail.com>
Co-authored-by: Jonathan Summers-Muir <MildTomato@users.noreply.github.com>
2023-11-07 03:40:53 +00: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
Han Qiao 609d5283b7 fix: do not warn about navigator lock when not used (#18287) 2023-10-18 12:04:07 +08:00
Francesco Sansalvadore a9abe79d56 Feat/privacy settings (#17896)
* privacy settings modal in www and docs
2023-10-05 16:10:53 +02:00
1281a9b9ce turbo type-check command and GHA (#11658)
* turbo type-check command and GHA

* Update quality.yml

* Update package.json

* Update packages/common/package.json

Co-authored-by: Ruggero Tomaselli <ruggerotomaselli@gmail.com>

* Run prettier.

* Updating package-lock.

* Fix all prettier errors.

* Add type-check command to studio. Remove the one from common package since it depends on ui package and cannot be built at the moment.

* Rename all commands to typecheck (without -) because it's easier to type.

* Add cache and concurrency to the typecheck github job.

* Rename the quality workflow to typecheck.yml.

---------

Co-authored-by: Ruggero Tomaselli <ruggerotomaselli@gmail.com>
Co-authored-by: Ivan Vasilov <vasilov.ivan@gmail.com>
2023-10-04 17:12:05 +11: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
Stojan Dimitrovski 5b2750e01c feat: bump @supabase/gotrue-js to v2.54.0 2023-09-20 16:56:23 +02:00
Joshen Lim dc1dddf0cc Merge pull request #15906 from supabase/chore/update-telemetry-behaviour-consent
Chore/update telemetry behaviour consent
2023-09-19 15:32:31 +08:00
Yash dfcaebcdc9 fix:#17512 2023-09-18 21:48:39 +05:30
Joshen Lim 29de99835f Bring in changes from master and resolve conflicts 2023-09-14 16:55:56 +08:00
Stojan Dimitrovski 3ee84aea03 feat: adds a persisted auth debug log if supabase.dashboard.auth.debug.persisted is true 2023-09-13 13:54:33 +02:00
Francesco Sansalvadore 95d641da14 Reduce cursor tracking on Firefox 2023-08-31 16:17:19 +02:00
Stojan Dimitrovski cf7f7d97bb feat: bump gotrue-js to 2.48.0 which fixes race condition with visibility callback 2023-08-23 12:16:00 +02:00
Stojan Dimitrovski ec95c32c7a feat: enable navigatorLock completely, track random logouts 2023-08-22 14:29:55 +02:00
Francesco Sansalvadore f458876cf8 Merge pull request #16469 from supabase/kappa/end 2023-08-15 22:47:29 +02:00
Stojan Dimitrovski e009c459cd feat: bump gotrue-js to v2.47.0 2023-08-14 10:07:23 +02:00
Stojan Dimitrovski 4b027d1805 Merge pull request #16212 from supabase/hf/add-navigator-lock-feature-flag
feat: add feature flag for enabling GoTrue navigator lock
2023-08-14 09:45:40 +02:00
Francesco Sansalvadore 2f8d7d3adf revert lw8 logo and favicon across apps 2023-08-11 23:10:32 +02:00
Francesco Sansalvadore a96080c4ca Lw8 purple logo 2023-08-07 16:25:20 +02:00
Stojan Dimitrovski c1f3bb3bb9 feat: add feature flag for enabling GoTrue navigatorLock 2023-08-04 10:38:39 +02:00
Francesco Sansalvadore 4ee56ab302 Merge branch 'master' into chore/update-telemetry-behaviour-consent 2023-07-27 13:59:53 +02:00
Francesco Sansalvadore fe0551abec Add consent toast to www 2023-07-27 12:31:42 +02:00
Francesco Sansalvadore d28fd66404 Merge pull request #16056 from supabase/chore/lw8-pre-edit-2
Chore: clean up lw8
2023-07-27 10:48:29 +02:00
Jonathan Summers-Muir ecc21bf819 fixed some package issues. 2023-07-26 23:53:20 +08:00
Francesco Sansalvadore 53ff8cee88 lw8: switch homepage lw8 visual with static image 2023-07-26 16:52:45 +02:00
Stojan Dimitrovski 9bc1f03b6b feat: bump gotrue-js to v2.46.1 and bring back navigatorLock 2023-07-26 09:16:12 +02:00
Francesco Sansalvadore 7f237910ad LW8: Pre Launch ticketing system 2023-07-25 13:07:05 +02:00
Kang Ming 5b3916277f Revert "feat: bump to gotrue-js v2.45.0 and bring back navigatorLock"
This reverts commit 3dc2788d52.
2023-07-24 15:14:07 +08:00
Stojan Dimitrovski 3dc2788d52 feat: bump to gotrue-js v2.45.0 and bring back navigatorLock 2023-07-21 15:42:26 +02:00
Greg Richardson f02fa47548 fix: local gotrue-js to 2.42.0 2023-07-20 17:14:02 -06:00
Alaister Young c6124ebfc7 remove navigator lock 2023-07-21 09:04:11 +10:00
Alaister Young b8a2753ff8 hotfix: downgrade gotrue-js 2023-07-21 09:00:34 +10:00
Stojan Dimitrovski fb08e55236 feat: add navigatorLock to GoTrueClient 2023-07-19 11:26:51 +02:00
Stojan Dimitrovski f9b36d2435 feat: bump gotrue-js to 2.43.0 2023-07-18 14:27:03 +02:00
Francesco Sansalvadore 1261b84050 default to dark mode 2023-07-11 16:37:53 +02:00
Francesco Sansalvadore 452ad6c7d9 speed up fade-in animation 2023-07-10 13:32:12 +02:00
Francesco Sansalvadore e23f603be8 test theme disabling 2023-07-10 12:00:46 +02:00
Stojan Dimitrovski 5a98d79715 feat: prevent document unload if gotrue is debugged and in a fetch 2023-07-05 14:09:53 +02:00
Jonathan Summers-Muir 8d383a35d6 Merge branch 'master' into feat/vercel-integration-v2 2023-06-30 11:14:08 +08:00
Stojan Dimitrovski e302638d2a feat: enable gotrue debug flag via localstorage 2023-06-29 14:16:19 +02:00
Jonathan Summers-Muir beb5d10b61 deploy button flow started 2023-06-23 16:07:48 +08:00