148 Commits

Author SHA1 Message Date
Kevin Grüneberg
10c1bc7959 chore: bump next/turbo (#23285) 2024-04-26 13:08:38 +08:00
Ivan Vasilov
6bf3b8106c chore: Bump turbo (#22563)
* Bump turbo to the latest version.

* Make the turbo version in the dockerfile the same as the repo one.
2024-04-08 10:02:48 +02:00
Bobbie Soedirgo
8888bb0023 feat: initial version of @supabase/pg-meta (#22307)
* feat: initial version of @supabase/pg-meta

Unlike supabase/postgres-meta, this will be a pure-JS SQL & Zod schema builder

* chore: typescript 5.4

* fix: typescript errors
2024-04-01 18:07:34 +08:00
Kevin Grüneberg
27f9f96ff7 chore: upgrade to node 20 (#22240) 2024-03-26 18:54:22 +07:00
Kevin Grüneberg
0f251bc337 chore: bump turbo (#21773) 2024-03-05 12:49:12 +01:00
Ivan Vasilov
66ae36e005 feat: Playwright tests (#21083)
* initial commit for testing the github action.

* Improvements to the Github action.

* Add docker caching.

* Fix an issue in the github action.

* Another fix for the action.

* Just delete the db after the tests.

* Add a supabase app to the playwright-tests.

* Delete .env.testing.

* Remove the docker image caching from the Playwright github action.

* Add a README.md.

* Add an example test for the table editor.

* Ignore the generated keys.json.

* Add commands for running and writing tests.

* Remove Auth tests.

* Only show the react-query tool when not in test mode.

* Add data-testids to the buttons and use them in the test.

* Handle a case where SUPABASE_URL isn't defined.

* Fix the button test id.

* Remove some dependency.

* Try setting a timeout for an action.

* Add timeout to another action.

* Add some timeouts before the save button.

* Add some timeout before clicking save.

* Enable the video recording only during local testing.

* Minor fixes.

* Expand the README.
2024-02-19 12:12:54 +01:00
Kevin Grüneberg
0fdb7ec5dc chore: bump turbo/supabase (#21072) 2024-02-07 21:17:39 +08:00
Kevin Grüneberg
f7e60bf324 chore: upgrade prettier/eslint + autofix (#20785) 2024-01-30 10:54:02 +08:00
Kevin Grüneberg
129b3d927a chore: move specs to docs folder (#20136) 2024-01-03 18:54:23 +01:00
Kevin Grüneberg
87ff576336 chore: bump turbo to 1.11.x (#19660) 2023-12-13 11:45:50 +01:00
Beng Eu
89fb7142c5 Remove maximum version constraint for npm and node engines (#19251)
No need to get in the way of people using newer versions unless there really proves to be some incompatibility.
2023-11-27 11:42:15 +01:00
Terry Sutton
4c20bb0d52 Chore/db visualizer 3 (#19177)
* Midway doing something

* Small refactor

* Some mobile responsiveness

* bit fix

* Update name

* One more name

* One more name, again

* Footer and faqs

* Fix

* Style fixes

* Style fixes

* Add titles

* Add CTAs to copy, download or load SQL in supabase

* Styling

* mobile

* Add suggestions

* Add delete action

* Cleanup

* Add delete thread and edit thread modals

* Restore server action

* Fix build error

* Import common theme switcher

* Add file

* Restore thread list

* force revalidating profile path

---------

Co-authored-by: Joshen Lim <joshenlimek@gmail.com>
2023-11-24 13:48:14 +08:00
Ivan Vasilov
fbfe910c22 Initial work on database.new visualizer (#19027)
* Initial commit.

* Remove bunch of unneeded deps.

* Fix the providers.

* Minor fixes to make the themes work.

* Fix prettier errors.

* Add default constraint.

* Midway styling

* General styling improvements

* More styling stuff

* Bit more styling

* Bit more pizzazz

* Scaffold all threads modal

* Small style fix

* Ensure loading state persist in new page until redirect

* Fix

* Test';

* Add basic validation

* Fix

* Remove console logs

* Hide show all threads button

* chore: style the blocks

* fix: stroke width

* add some shadow

* stroke width

* Update TableNode.tsx

* Swap hide chat for hide code

* more sidebar styling

* Resolve conflicts

* Some style fixeds

* Some style fixeds

* mock profile

* update user dorpdown

* Update globals.css

* Chore/db new layouts and url params (#19142)

* chore: layouts

* Fix + clean up

---------

Co-authored-by: Jonathan Summers-Muir <MildTomato@users.noreply.github.com>

* Fix header

* Scaffold profile and conversations

* Some quick styling

* Update apps/database-new/.env.local.example

Co-authored-by: Greg Richardson <greg.nmr@gmail.com>

---------

Co-authored-by: Joshen Lim <joshenlimek@gmail.com>
Co-authored-by: Jonathan Summers-Muir <MildTomato@users.noreply.github.com>
Co-authored-by: Greg Richardson <greg.nmr@gmail.com>
2023-11-22 12:31:32 -03:30
Ivan Vasilov
436bdb10ae chore: Move the studio app to apps/studio (#18915)
* Move all studio files from /studio to /apps/studio.

* Move studio specific prettier ignores.

* Fix the ui references from studio.

* Fix the css imports.

* Fix all package.json issues.

* Fix the prettier setup for the studio app.

* Add .turbo folder to prettierignore.

* Fix the github workflows.
2023-11-15 12:38:55 +01:00
Alaister Young
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 1b0a985fcb7569f29c8a6dd05b9c3063152547b9.

* 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 86c3973ffa7f8ef5e1eb6d95a5809156cebf217b.

* Revert "try new sentry wrapper for api"

This reverts commit f67623ebad0f241d7e9fe275d50f7707bf64c474.

* Revert "upgrade to next 14"

This reverts commit a24dd6131eaff475a90ef991c2f832a64e4aaa2b.

* 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
Anthony Shew
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
bc1c9090c2 fix: use prettier on studio too (#17787) 2023-09-28 20:31:07 +02:00
Terry Sutton
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
Kevin Grüneberg
ae0c1c9d0b chore: use new aws-sdk lib 2023-09-14 00:12:38 +02:00
Kevin Grüneberg
dd626768fd build: improve build times 2023-09-13 23:39:06 +02:00
Michael Cooke
222b4b828e Pin to node v18 2023-08-11 11:02:26 -04:00
Isaiah Hamilton
15bb1f24db remove apps/new-docs from workspaces 2023-06-20 17:00:46 -04:00
Ziinc
836d66c607 Merge branch 'master' into chore/add-build-check-to-ci 2023-06-21 02:05:49 +08:00
Kevin Grüneberg
533f61e290 chore: upgrade studio Docker image and turbo 2023-06-13 13:41:37 +02:00
Terry Sutton
40d3e0b346 Merge branch 'master' into chore/upgrade-to-node-18 2023-06-06 15:05:10 -02:30
Greg Richardson
b8df7d7c2b feat(docs): code hike 2023-06-04 15:15:58 -06:00
Alaister Young
e522368842 uses syncpack to auto sync dependencies 2023-05-29 14:20:44 +10:00
Alaister Young
b474ff9e5e chore: upgrade to node 18 2023-05-29 13:56:15 +10:00
Brandon Scott
0f84e5a3bd Consolidate anchor id slugify logic, add tests + docs test workflow 2023-05-18 20:02:48 -04:00
TzeYiing
797e8c00a1 chore: add build check to studio ci 2023-05-17 12:21:44 +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
Greg Richardson
7ce8579358 chore(prettier): fix sql & format mdx files 2023-04-28 15:55:49 -06:00
Brandon Scott
a8620a61f6 Merge branch 'master' of github.com:supabase/supabase into fix-test-suites 2023-04-18 16:43:30 -04:00
dependabot[bot]
5418a6e04e chore(deps): bump xml2js and aws-sdk
Bumps [xml2js](https://github.com/Leonidas-from-XIV/node-xml2js) to 0.5.0 and updates ancestor dependency [aws-sdk](https://github.com/aws/aws-sdk-js). These dependencies need to be updated together.


Updates `xml2js` from 0.4.19 to 0.5.0
- [Release notes](https://github.com/Leonidas-from-XIV/node-xml2js/releases)
- [Commits](https://github.com/Leonidas-from-XIV/node-xml2js/compare/0.4.19...0.5.0)

Updates `aws-sdk` from 2.1349.0 to 2.1354.0
- [Release notes](https://github.com/aws/aws-sdk-js/releases)
- [Changelog](https://github.com/aws/aws-sdk-js/blob/master/CHANGELOG.md)
- [Commits](https://github.com/aws/aws-sdk-js/compare/v2.1349.0...v2.1354.0)

---
updated-dependencies:
- dependency-name: xml2js
  dependency-type: indirect
- dependency-name: aws-sdk
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-04-10 19:46:31 +00:00
Brandon Scott
ea8b009f1b chore: add jest config for ui package, convert Button tests to ts and fix existing assertions 2023-04-10 13:26:30 -04:00
Alaister Young
137922df25 Revert "Fix package lock sync" 2023-04-04 12:58:16 +10:00
Joshen Lim
875cb8bf11 Update turbo to 1.8.8 2023-04-03 14:17:32 +08:00
Joshen Lim
7e27d8f27e attempt 2023-04-03 14:01:26 +08:00
Joshen Lim
35b0da069f attempt 2023-04-03 13:50:39 +08:00
Greg Richardson
bc9488861d chore: supabase dev dep 2023-03-23 17:56:06 -06:00
Greg Richardson
2f23deb8c7 Merge branch 'master' into feat/docs-gpt-v2 2023-03-03 10:12:38 -07:00
Greg Richardson
9058770134 feat(docs-search): ingest reference docs 2023-02-28 20:15:08 -07:00
Qiao Han
b03804db58 chore: update prettier and plugin 2023-02-22 12:51:33 +08:00
Qiao Han
b75a538ff9 chore: update postgres meta 2023-02-22 12:43:14 +08:00
Qiao Han
92a22246a7 chore: remove unused dependencies 2023-02-22 12:32:55 +08:00
Qiao Han
5da95e7246 chore: revert package lock 2023-02-22 12:18:21 +08:00
Copple
f95b8f2ecd Testing prettier-plugin-sql-cst 2023-02-21 13:43:32 +01:00
Terry Sutton
872ba09112 Add secret fetching 2023-02-15 12:00:03 -03:30
Qiao Han
62e68e50f4 chore: pin pgsql-parser in package overrides 2023-01-27 14:56:54 +08:00
ethicnology
ec7dc6dd7e fix: deprecated docker-compose in favour of compose v2 2022-12-21 00:22:58 +01:00