Commit Graph
70 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
Alaister YoungandJoshen Lim dec916bbb1 chore: better github installation flow (#18066)
* chore: better github installation flow

* Update studio/components/interfaces/Integrations/ProjectLinker.tsx

Co-authored-by: Joshen Lim <joshenlimek@gmail.com>

* Update studio/components/interfaces/Integrations/ProjectLinker.tsx

Co-authored-by: Joshen Lim <joshenlimek@gmail.com>

* remove organizationIntegrationId state

* open Install Github Integration in current window

* enabledBranching -> enableBranching

* adds loading state for ProjectLinker

* add new project connection opens linker

* filter connections by projectRef

* truncate github repo name

---------

Co-authored-by: Joshen Lim <joshenlimek@gmail.com>
2023-10-17 17:59:19 +11:00
Ivan Vasilov ae4a06f715 Change all occurences of text with text-foreground (#17890)
* Change all occurences of text with text-foreground.

* Minor fix.
2023-10-09 16:11:18 +00: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
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
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
80e3867962 Sync studio->master (#17704)
* [hotfix studio] Update toast text (#17648)

Update ConsentToast.tsx

* fix: nav org redirect (#17651)

fix: nav v2 org redirect

* hotfix: wrappers tables bug (#17682)

Fix: Resolve null.length TypeError in WrapperRow.tsx (#17679)

* Fix: Resolved null.length TypeError in WrapperRow.tsx

* prettier

* switch to &&

---------

Co-authored-by: Monica Khoury <99693443+monicakh@users.noreply.github.com>

* Fix missing connection string when fetching foreign table (#17690)

* Chore/add loading state for vercel integration choose project (#17698)

Add loading state for vercel integration choose project

---------

Co-authored-by: Joshen Lim <joshenlimek@gmail.com>
Co-authored-by: Jonathan Summers-Muir <MildTomato@users.noreply.github.com>
Co-authored-by: Kevin Grüneberg <k.grueneberg1994@gmail.com>
Co-authored-by: Alaister Young <alaister@users.noreply.github.com>
Co-authored-by: Monica Khoury <99693443+monicakh@users.noreply.github.com>
2023-09-25 17:45:45 +02:00
Joshen Lim 86e51ddb2f UI fixes 2023-09-08 14:41:06 +08:00
Joshen Lim 5d7193f5ce Fix 2023-08-11 00:50:55 +08:00
Joshen Lim bcaf5291de Add success notification for resync env vars 2023-08-11 00:46:49 +08:00
Jonathan Summers-MuirandJoshen Lim 5fdc164d57 Update studio/components/interfaces/Integrations/OrganizationPicker.tsx
Co-authored-by: Joshen Lim <joshenlimek@gmail.com>
2023-08-10 23:26:46 +08:00
Jonathan Summers-Muir 5c8d6d7309 Update IntegrationConnection.tsx 2023-08-10 23:24:55 +08:00
Jonathan Summers-Muir f10a8a34d5 Update IntegrationConnection.tsx 2023-08-10 21:35:29 +08:00
Jonathan Summers-Muir 130258a1eb Update IntegrationConnection.tsx 2023-08-10 19:50:58 +08:00
Jonathan Summers-Muir 600027af47 Merge branch 'chore/vercel-integration-empty-states' into feat/branch-management-2--with-project-settings 2023-08-10 11:59:48 +08:00
Jonathan Summers-Muir 31175bba07 update consts 2023-08-10 11:48:54 +08:00
Jonathan Summers-Muir 36a0899266 issues with 'first project' picker 2023-08-10 11:41:40 +08:00
Jonathan Summers-Muir 0e977ebddf chore: fix empty states for Vercel Integration 2023-08-10 11:24:49 +08:00
Jonathan Summers-Muir 83b2eeae12 fix imports 2023-08-05 03:31:06 +08:00
Jonathan Summers-Muir b3950a8fdf chore: move integration connection interface 2023-08-02 13:29:12 +08:00
Jonathan Summers-Muir 11cd7e684d started moving all the integration UI stuff around 2023-08-02 05:48:21 +08:00
Jonathan Summers-Muir 5186e5dda3 Updated enable branching modal to use IntegrationPanels. Also updated some a11y and shadcn things 2023-08-01 23:29:15 +08:00
Joshen Lim 074ce6cc5c Add create main branch functionality 2023-08-01 18:09:48 +08:00
Joshen Lim 6d5c461796 Hook up github repo side panel linker to enable branching modal 2023-08-01 17:00:45 +08:00
Alaister Young a49ec74ccc fix spelling 2023-08-01 17:41:01 +10:00
Alaister Young 1280c19e75 update already installed states 2023-07-31 20:04:28 +10:00
Alaister Young 9fbc18ca2f Merge branch 'master' into feat/github-integration 2023-07-31 16:55:50 +10:00
Jonathan Summers-Muir 15eeff27cf Update ProjectLinker.tsx 2023-07-27 13:36:29 +08:00
Jonathan Summers-Muir 4899d109c7 fix issue with IDs 2023-07-26 20:09:11 +08:00
Jonathan Summers-Muir da793c2242 Update IntegrationPanels.tsx 2023-07-26 01:05:34 +08:00
Alaister Young 408fb86e40 fix projectlinker ts 2023-07-21 18:32:01 +10:00
Jonathan Summers-Muir 46be2943f3 remove logs 2023-07-21 13:00:06 +08:00
Jonathan Summers-Muir 57b7cafc22 chore: use comboboxes. fix: issues with validation and loading states 2023-07-20 16:10:44 +08:00
Jonathan Summers-Muir c5b31637e1 fix colors 2023-07-20 15:48:47 +08:00
Jonathan Summers-Muir d19d0ec432 chore: started moving project linker to combobox 2023-07-18 22:39:18 +08:00
Alaister Young aadb64cdde Merge branch 'master' into feat/github-integration 2023-07-18 17:23:40 +08:00
Alaister Young 320f59bf80 add skip button on project connections 2023-07-18 13:40:09 +08:00
Alaister Young b12198afc8 chore: vercel integration manual env sync 2023-07-18 12:03:26 +08:00
Alaister Young 93da2deb63 fix integration types 2023-07-17 11:29:14 +08:00
Alaister Young 0b7295ced4 improve integration creation and deletion 2023-07-13 16:56:06 +08:00
Alaister Young db34ee6cf9 working github integration 2023-07-13 01:55:07 +08:00
Alaister Young 68077138df add link to configure vercel integration 2023-07-03 21:18:32 +10:00
Jonathan Summers-Muir 0f044d226f Update ProjectLinker.tsx 2023-07-03 12:30:34 +08:00
Jonathan Summers-Muir c3ef04cf63 loading line fixed for project creation 2023-07-03 12:29:48 +08:00
Jonathan Summers-Muir 7d74636afd setLoading prop so loading line can animate when linking projects 2023-07-03 12:26:56 +08:00
Jonathan Summers-Muir ee368ec4a8 integration panel issues 2023-07-03 12:17:37 +08:00
Jonathan Summers-Muir 8b8e4a82a9 Merge branch 'feat/vercel-integration-v2' of https://github.com/supabase/supabase into feat/vercel-integration-v2 2023-07-03 12:17:28 +08:00
Jonathan Summers-Muir f053a5296c fix: title and light mode issues 2023-07-03 12:17:26 +08:00
Alaister Young afefd239dc fix incorrect query key on VercelProjectConnectionsQuery 2023-06-30 21:04:35 +10:00