Commit Graph
94 Commits
Author SHA1 Message Date
Jonathan Summers-Muir 07a6c5ab4e Chore/move cmdk (#21936)
* init

* fix build issues

* move deps over

* Update CommandMenuWrapper.tsx

* build fixes

* Update sitemap_www.xml

* reset

* Update sitemap_www.xml

* Update tsconfig.json

* Update package.json

* Update package.json

* Update package-lock.json

* Update package.json
2024-03-11 18:31:23 +08:00
Jonathan Summers-Muir 84f092ac43 chore: update table editor input and schema selector styling (#21486)
* init input and button changes

* clean up

* button now active state when dropdown or popover active

* Update TableEditorMenu.tsx

* Update TableEditorMenu.tsx

* fix hover issues

* Update SchemaSelector.tsx
2024-02-26 13:24:29 +00:00
Jonathan Summers-MuirandIvan Vasilov e1bbdd0ca7 feat: add resizable inner sidebar (#21548)
* init

* update import names

* Update resizable.tsx

* resizable bg now goes lighter on drag

* only resizable for table editor and sql editor

* Update ProjectLayout.tsx

* Update index.tsx

* Remove unneeded console.log.

---------

Co-authored-by: Ivan Vasilov <vasilov.ivan@gmail.com>
2024-02-26 18:50:44 +08:00
Ivan Vasilov b4e768b74f fix: Migrate SQL editor and Log explrorer to use ShadCN Resizable (#21454)
* Add resizable component to ui package.

* Migrate the LogExplorer to use the new resizable component.

* Migrate the SQL editor to use the new component.

* Remove react-split.
2024-02-26 09:39:23 +01:00
Charis eff1e0a55b fix: error with quotes in search results (#20957)
* fix: error with quotes in search results

Search results with double quotes in the title need to be escaped or
cmdk's
`document.querySelector` will throw an error for invalid selector (since
the selector is wrapped in double quotes).

Also add and error boundary so errors in command menu don't crash the
entire site.

* format
2024-02-08 17:56:50 -05:00
Jonathan Summers-Muir 778a3b21bb Chore/add feedback links branching (#20926)
* chore: update cmdk

* add link to branch dropdown

* chore: add button

* update

* Update BranchDropdown.tsx
2024-02-01 17:22:46 +08:00
Greg Richardson 0417b8d96e Fix invalid json in AI doc SSE stream (#20706)
fix: invalid json in ai doc sse stream
2024-01-24 13:00:26 -07:00
Jordi Enric 3ee9e8fb28 Chore/update tailwind 3.4.1 (#20268)
* upgrade tailwind

* add package-lock

* upgrade in ui and config packages
2024-01-09 14:50:13 +01:00
Francesco Sansalvadore 8da4fd2f18 chore: Migrate Lottie animation (#19922) 2023-12-21 08:45:26 +01:00
Ivan Vasilov acdacbadcd chore: Fix the types in the ui package (#19633)
* Enable the typecheck command for the ui package.

* Ignore the stories.tsx files when typechecking.

* Remove the unused Avatar component. We can use the one provided by shadcn now.

* Rename the datatable.stories file.

* Fix various type errors.

* Fix the Toast component.
2023-12-14 15:22:33 +01:00
PrasadandCharis Lam f27bcb808e Added missing shared data dependency in docs & reactflow in ui (#19592)
* Added missing shared data dependency in docs & reactflow in ui

* alphabetize packages

* update package-lock.json

---------

Co-authored-by: Charis Lam <26616127+charislam@users.noreply.github.com>
2023-12-12 20:23:11 +00:00
Ivan VasilovandGreg Richardson 33f617a6cc Migrate all apps and packages to use OpenAI v4 lib (#19270)
* Migrate all apps and packages to use OpenAI v4 lib.

* Minor fix.

* refactor: improve types for completion chunks

---------

Co-authored-by: Greg Richardson <greg.nmr@gmail.com>
2023-11-30 09:01:51 +00:00
Francesco SansalvadoreandJonathan Summers-Muir be9590c890 Multiple themes management (#18871)
* set up multiple themes in studio

* set up multiple themes in studio

* set up multiple themes in docs and www

* update all resolvedTheme to also include deep-dark

* update all resolvedTheme checks to also include deep-dark

* update tailwind.config.js tokens

* update tailwind.config.js tokens

* update leftover scale12 token

* update if resolvedTheme _doesn't_ include 'dark'

* update more styling tokens

* add dynamic themes to CmdK

* fix nav and footer for multi theme

* add data-theme selector output to transformTokens.js

* update code-hike.css to target data-theme css

* update tailwindcss to ^3.3.5

* ThemeImage with light and dark src for www and docs

* add brand-button styling token

* update old dark theme boolean

* update old dark theme boolean

* make homepage product visuals themeable

* update product page themed images

* update badge green with brand

* fix roles list appearance

* fix auth widget in auth page

* update more dark logic

* update more dark logic

* add button default bg and border

* update pricing page theme styling

* clean up Themeimage

* remove forceDark in homepage

* update dark:border-dark occurrences

* update dark:border-dark occurrences

* fix dark mode base colors

* remove foreground-strong

* fix notification badge bg

* remove some dark: selectors

* update dark: selectors

* update code-hike deep dark bg color

* fix comment typo

* update border-button-hover token

* fix customer story logo

* remove some more dark: selectors

* restore forceDark in www homepage

* fix auth react icon

* fix homepage product visuals

* remove theme

* add brand-link token

* fix checkbox bg

* npm install

* more visible EntityListItem active bg

* fix --background-alternative-default css vars

---------

Co-authored-by: Jonathan Summers-Muir <MildTomato@users.noreply.github.com>
2023-11-16 16:41:53 +00:00
Kevin Grüneberg 30958d87fb fix: build times storybook/swc (#18965) 2023-11-14 21:45:12 +01:00
Terry Sutton 671324ecaf Fix/storybook build (#18854)
Update storybook
2023-11-09 09:33:20 -03:30
Kevin Grüneberg fb4dc35493 chore: use light mode of lottie (#18705) 2023-11-07 20:17:17 +01:00
dependabot[bot] 8d6939ef8c chore(deps): bump zod from 3.21.4 to 3.22.3 (#18602)
Bumps [zod](https://github.com/colinhacks/zod) from 3.21.4 to 3.22.3.
- [Release notes](https://github.com/colinhacks/zod/releases)
- [Changelog](https://github.com/colinhacks/zod/blob/master/CHANGELOG.md)
- [Commits](https://github.com/colinhacks/zod/compare/v3.21.4...v3.22.3)

---
updated-dependencies:
- dependency-name: zod
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-10-31 17:29:20 +11: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
Greg Richardson e207378f2d Fix: search edge function URL (#18416)
fix: search edge function url
2023-10-24 10:51:14 -06:00
Jonathan Summers-MuirandFrancesco Sansalvadore 171714965e Feat/design tokens upgrade (#18051)
* new packages

* new transforms

* Update package.json

* new internal files

* Update cleanse-css-for-tailwind.js

* updated css files

* remove old code

* update tokens

* Delete global.css

* update themes

* Update tailwind-theming.md

* Update tailwind-theming.md

* Update tailwind-theming.md

* Update tailwind-theming.md

* Update tailwind-theming.md

* Update tailwind-theming.md

---------

Co-authored-by: Francesco Sansalvadore <f.sansalvadore@gmail.com>
2023-10-23 03:28:22 +00:00
dependabot[bot]andIvan Vasilov 71412180d5 chore(deps): bump postcss from 8.4.24 to 8.4.31 (#17915)
Bumps [postcss](https://github.com/postcss/postcss) from 8.4.24 to 8.4.31.
- [Release notes](https://github.com/postcss/postcss/releases)
- [Changelog](https://github.com/postcss/postcss/blob/main/CHANGELOG.md)
- [Commits](https://github.com/postcss/postcss/compare/8.4.24...8.4.31)

---
updated-dependencies:
- dependency-name: postcss
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Ivan Vasilov <vasilov.ivan@gmail.com>
2023-10-04 08:43:06 +00: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
Kevin Grüneberg dd626768fd build: improve build times 2023-09-13 23:39:06 +02:00
Jonathan Summers-Muir 056e5d628a fix combo 2023-07-25 13:09:10 +08:00
Jonathan Summers-Muir 43e6a6730f fix a11y on comboboxes 2023-07-25 12:35:41 +08:00
Francesco Sansalvadore 8357299c08 Merge branch 'feat/ui-components-uishadcn' into feat/ui-components-uishadcn-dropdown 2023-07-05 20:28:51 +02:00
Francesco Sansalvadore c3ee177868 uishadcn styling: DropdownMenu 2023-07-05 19:43:29 +02:00
Jonathan Summers-Muir d526c84b6b new color stories 2023-07-06 01:35:19 +08:00
Jonathan Summers-Muir 510780f646 update build command 2023-06-26 00:26:15 +08:00
Jonathan Summers-Muir 92527c209b add all the components! 2023-06-25 13:32:01 +08:00
Jonathan Summers-Muir c8b87a4fd3 add more components 2023-06-24 20:12:00 +08:00
Jonathan Summers-Muir 476d41c516 add some components 2023-06-24 03:49:41 +08:00
Jonathan Summers-Muir 612c699f8e Merge branch 'master' into feat/ui-components-uishadcn 2023-06-23 22:20:31 +08:00
Jonathan Summers-Muir 3c6423c86d fix imports 2023-06-13 12:37:08 +08:00
Jonathan Summers-Muir 51226c665e more utils 2023-06-13 12:31:36 +08:00
Alaister Young 18086e0b9c Merge branch 'master' into chore/upgrade-to-node-18 2023-06-01 17:20:57 +10:00
Qiao Han ae2aca65f2 chore: add react tooltip to ui package dependencies 2023-06-01 11:26:33 +08:00
Alaister Young 0ecf4b65f1 fixes studio and www builds 2023-05-29 14:42:50 +10:00
Alaister Young e522368842 uses syncpack to auto sync dependencies 2023-05-29 14:20:44 +10:00
Alaister Young d1a8aaac3f manual dependency version changes 2023-05-29 14:16:07 +10:00
Jonathan Summers-Muir cff1c275ed fix issue with styles 2023-05-23 19:33:46 +08:00
Jonathan Summers-Muir 9b4047218f adding calendar and form example 2023-05-22 02:26:16 +08:00
Jonathan Summers-Muir 02ba30934c adding form in 2023-05-22 01:47:50 +08:00
Jonathan Summers-Muir a4f6517e73 fix import issues 2023-05-22 01:25:17 +08:00
Jonathan Summers-Muir 18d2cc2747 update stories 2023-05-20 17:33:27 +08:00
Jonathan Summers-Muir b68f1de1b3 started moving Button over 2023-05-20 16:49:36 +08:00
Jonathan Summers-Muir 6ac605f6e6 Merge branch 'master' into jsm/design-tokens-poc-2 2023-05-20 14:29:37 +08:00
Brandon Scott 775024f74b Merge branch 'master' of github.com:supabase/supabase into fix-test-suites 2023-05-15 18:08:42 -04:00
Jonathan Summers-Muir ebbbe4b223 chore: removed packages from ui package that may be redundant 2023-05-09 01:32:53 +08:00
Jonathan Summers-Muir 0ef9ac46fb move files. add gitignore 2023-05-09 01:20:13 +08:00