Commit Graph
91 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
Joshen Lim a0416f22d8 SQL editor open last viewed snippet (#18350) 2023-10-23 13:17:59 +08:00
Joshen Lim af77be7d32 Update discussions URL (#18042) 2023-10-09 12:47:42 -02:30
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
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
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
Joshen Lim 31893ef5e8 Remove duplicate files 2023-09-19 14:52:33 +08:00
Joshen Lim 29de99835f Bring in changes from master and resolve conflicts 2023-09-14 16:55:56 +08:00
Joshen Lim ada2b5a1de Minor improvements to command k menu 2023-09-08 15:52:15 +08: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
Joshen Lim 1d19861c37 Address comments 2023-08-25 12:55:04 +08:00
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
Alaister Young bb8efbfe2d Merge branch 'master' into chore/sql-upsert 2023-08-04 19:13:03 +10:00
Joshen Lim bf396bf304 Ignore isValidBranch check in RouteValidationWRapper for self hosted 2023-08-03 17:13:08 +08:00
Joshen Lim e2ffe37ab9 Merge pull request #16126 from supabase/chore/nav-layout-self-hosted
Chore/nav layout self hosted
2023-07-31 16:57:23 +08:00
Joshen Lim c0b36cbe1e Update redirects to /projects to /project/default is on self hosted 2023-07-31 11:27:43 +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 eafa23d5f1 Small refactor 2023-07-25 00:42:51 +08:00
Joshen Lim 6ce4200486 Add some slug validations 2023-07-21 16:07:19 +08:00
Joshen Lim e530d9aee5 Implement consent toast 2023-07-20 00:45:39 +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 fd5d250c2e Refactor settings button and fix route validation wrapper 2023-07-19 12:37:06 +08:00
Joshen Lim 51444cc790 save last visited organization to local storage 2023-07-19 12:22:51 +08:00
Alaister Young da6ff0f2b0 working sql editor upsert 2023-07-18 13:06:09 +08:00
Alaister Young 10f5640837 chore: sql editor upsert 2023-07-18 10:53:27 +08:00
Alaister Young 3bc70549c3 chore: checkPermissions -> useCheckPermissions 2023-06-30 15:15:09 +10:00
Alaister Young f45f5e4e0d adds profile context 2023-06-27 21:31:12 +10:00
Alaister Young e8094ae8b7 feedback from #15212 2023-06-27 19:10:15 +10:00
Alaister Young 31091d3fe4 chore: move orgs and projects to react-query 2023-06-20 21:47:10 +10:00
Alaister Young 13459a711a fix: multiple profile creation 2023-06-12 18:25:58 +10:00
Terry Sutton 5be4de266f Update toast colours 2023-05-23 16:13:23 -02:30
Jonathan Summers-Muir 3218052cdf Update PortalToast.tsx 2023-05-24 02:35:34 +08:00
Jonathan Summers-Muir 6ac605f6e6 Merge branch 'master' into jsm/design-tokens-poc-2 2023-05-20 14:29:37 +08:00
Alaister Young 9c4d82c021 adds new useProfile hook 2023-05-15 21:37:38 +10:00
Greg Richardson 5563d713fc fix: jest tests with react markdown 2023-05-08 15:14:43 -06:00
Jonathan Summers-Muir a2e0b64871 Merge branch 'master' into jsm/design-tokens-poc-2 2023-05-06 18:57:59 +08:00
Joshen Lim aac25c5ab5 Fix eslint errors 2023-04-20 17:56:06 +07:00
Jonathan Summers-Muir 332c5a5ad3 Merge branch 'master' into jsm/design-tokens-poc-2 2023-04-17 19:37:41 +08:00
Greg Richardson a97b185fc1 feat(cmdk): ai disclaimer 2023-04-13 14:30:32 -06:00
Jonathan Summers-Muir 40c80d5b0e Merge branch 'master' into jsm/design-tokens-poc-2 2023-04-12 14:53:10 +08:00
Joshen Lim c8b431fb6a merge cmdk branch and resolve conflicts 2023-04-11 15:43:11 +07:00
Joshen Lim 9400743300 Resolve feedback 2023-04-11 14:34:43 +07:00
Greg Richardson 28b92ffbf6 feat(cmdk): generate titles for sql ai code snippets 2023-04-10 16:12:09 -06:00
Joshen Lim 3a03fa6d2e Add toggle to include schema metadata for firing a prompt 2023-04-10 21:19:01 +07:00
Joshen Lim 15d2007cf5 Send entity definitions into AI prompt if opted in 2023-04-10 16:29:43 +07:00
Joshen Lim 96758ce41b Merge branch 'master' into feat/cmdk-dashboard-terry-opt-in 2023-04-10 14:19:49 +07:00
Joshen Lim d22a7281ec Fix cmdk sql generation syntax highlighting 2023-04-10 12:01:31 +07:00