Commit Graph
106 Commits
Author SHA1 Message Date
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
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 LimandTerry Sutton 94f5fc5a61 Feat/api side panel (#17880)
* Demo api side panel

* Add docs for storage and edge functions

* Add content

* fix

* Add scroll to logic

* Add storage docs

* Add docs URLs

* Add connecting to project section in getting started

* Link back to docs site for product + resource specific docs

* Add entry points into API side panel for table editor, auth users and storage

* Add entry points into API side panel for edge functions

* Beef up feature preview modal with content

* Fix asset path

* Address several feedback

* Addressing more feedback

* Shift GraphiQL page to database if new api docs flag enabled

* Spelling

* Wording changes

* Spacing and wording

* Fix small issues

* Fix

* Update key showing toggle button

---------

Co-authored-by: Terry Sutton <saltcod@gmail.com>
2023-10-05 13:30:12 +08: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
Joshen Lim 32dda1bb23 Feat/UI feature previews (#17775)
* Break me.tsx into smaller components

* Deprecate duplicate app valtio state

* Initialize feature preview modal

* Add telemetry

* Address comments
2023-09-29 13:20:30 +08:00
Terry Sutton dde0bde57c Use resolved theme (#17753)
* Use resolved theme

* Update
2023-09-27 20:49:41 +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 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
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
Terry Sutton f1240aac27 Increase stroke width on nav icons 2023-09-18 17:06:05 -02:30
Joshen Lim 73ae74bf06 Update org v1 general settings to use RQ mutation, and deprecate cmdk and cmdk opt in flags 2023-08-24 18:00:43 +08:00
Joshen Lim 20ca3f33b5 Address comments 2023-08-21 16:16:14 +08:00
Joshen Lim 70f723da86 Nav left menu link to /templates instead of /new based on AI flag 2023-08-09 12:10:56 +08:00
Ivan Vasilov 58da5ffe94 Switch all mentions of the projects/:ref/sql to the new page projects/:ref/sql/new. 2023-08-08 10:11:40 +02:00
Joshen Lim b895c5b189 Remove all usage of FC part 5 2023-08-07 11:12:59 +02:00
Joshen Lim c728edef5b Address comments 2023-07-31 15:44:37 +08:00
Joshen Lim 1501f6d8a0 Show supabase icon on self hosted in side nav bar 2023-07-31 11:30:13 +08:00
Joshen Lim 8221c392cb Supabase icon in side nav to link back to project home page is self hosted 2023-07-31 11:04:35 +08:00
Joshen Lim 02e3c6aa8a Side nav SQL editor to link directly to code editor for self hsoted 2023-07-31 11:03:00 +08:00
Joshen Lim 93453141a4 Add loaders for org and project dropdowns and add more options in user settings dropdown 2023-07-17 23:14:50 +08:00
Joshen Lim 14e8c19c96 Add AppLayout and simplify height logic in layout component 2023-07-17 22:31:00 +08:00
Francesco Sansalvadore 0f32c905d6 update auth icon in studio NavigationBar 2023-06-29 18:15:59 +02:00
Francesco Sansalvadore 4a04fe0c8f update and organize product icons in studio and docs 2023-06-29 17:56:20 +02:00
Alaister Young 3abe40c890 Merge branch 'master' into chore/orgs-and-projects-to-react-query 2023-06-27 16:46:02 +10:00
Joshen Lim ebbf7131ce Merge pull request #15208 from supabase/chore/shift-storage-buckets-to-react-query
Chore/shift storage buckets to react query
2023-06-21 12:20:31 +08:00
Alaister Young 31091d3fe4 chore: move orgs and projects to react-query 2023-06-20 21:47:10 +10:00
Joshen Lim a8893cb834 Small UI fixes + fix switching projects while on a bucket, doesnt direct to the buckets page 2023-06-20 18:31:26 +08:00
Terry Sutton b5e6446106 Make bottom nav items the same colour 2023-06-19 14:53:18 -02:30
Terry Sutton 48cf8c9f75 Fix double tab on buttons 2023-06-14 14:08:30 -02:30
Jonathan Summers-Muir f68e79ff71 fixed errors with Button from new changes 2023-06-13 17:36:36 +08:00
Qiao Han 2a69308838 fix: disable logs explorer gracefully 2023-06-01 16:26:26 +08:00
Terry Sutton a963b9543e Merge pull request #14410 from supabase/chore/friction-log-updates
Chore/friction log updates
2023-05-26 11:34:56 -02:30
Terry Sutton f98e29e2d1 Move cmdk toggle to above account avatar 2023-05-17 16:26:06 -02:30
Terry Sutton b0403693b4 Nudge search header and nav items 2023-05-16 22:24:39 -02:30
Terry Sutton 479f867c79 Help menu item readability 2023-05-16 22:19:30 -02:30
Jonathan Summers-Muir eecb7b9d19 fix issues with light mode 2023-04-19 00:33:52 +08:00
Jonathan Summers-Muir a90a90e702 Merge branch 'master' into jsm/design-tokens-poc-2 2023-04-18 16:29:47 +08:00
Joshen Lim 798a46a194 Fix consistency of pause state across pages and prevent subscription changes if project is not active 2023-04-14 14:48:04 +07:00
Jonathan Summers-Muir 40c80d5b0e Merge branch 'master' into jsm/design-tokens-poc-2 2023-04-12 14:53:10 +08:00
Joshen Lim 145a9c857d Refactor themeing logic for dashboard to use useTheme from common, and fix theme changing via cmdk for dashboard 2023-04-05 18:03:56 +08:00
Jonathan Summers-Muir 30fb43b669 Merge branch 'master' into jsm/design-tokens-poc-2 2023-04-01 03:41:09 +08:00
Terry Sutton 5f865e160c Merge branch 'master' into chore/move-useparams-to-packages 2023-03-31 11:51:43 -02:30
Ziinc a07b2dbcd7 Merge pull request #13166 from supabase/feat/local-logs
feat: initial local logflare integration
2023-03-30 12:55:09 +08:00
TzeYiing e3d510a726 feat: add flagging for local logs 2023-03-29 14:55:42 +08:00
TzeYiing acb95f1056 feat: intiial local logflare integration 2023-03-29 14:55:41 +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
Jonathan Summers-Muir c22b81a805 Merge branch 'master' into jsm/design-tokens-poc-2 2023-03-22 18:13:35 +08:00