Commit Graph
42 Commits
Author SHA1 Message Date
Joshen Lim 5b7923d1d8 Update branch management UI (#18583)
* Wrap up scaffolding for updated branch management UI

* Update dynamic PR target

* Update API spec, fix next 13 issues with new branch UIs

* Fix pull requiests and all branches tabs
2023-11-01 07:26:08 +00: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
Kamil Ogórek 63571ea0ed ref: Use label instead of name for GitHub branches (#18471) 2023-10-26 10:48:11 +02:00
Joshen Lim 237fdb8db0 Chore/update branch selection UI (#18402)
* Set up branch selection UI in EnableBranchingModal to be text input

* Scaffold new CreateBranchModal

* Refactor Enable Branching Modal to use RHF and implement async validation

* midway updating create branch modal

* Update create branch modal with branch checking through text input

* Deprecate create branch side panel

* Remove unused import

* Small improvement to validation

* Remove console log
2023-10-24 18:29:42 +08:00
Joshen LimandJonathan Summers-Muir b0d6f407e0 chore/Remove option to change production branch (#17925)
* Fix loading state for github project picker, fix vercel/github icons not showing on project cards if integrated, remove option to change production branch

* Disable changing production branch form

* lock supabase directory input field

* Add alert

* Update studio/components/interfaces/Settings/Integrations/GithubIntegration/GitHubIntegrationConnectionForm.tsx

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

* Fix lint

---------

Co-authored-by: Jonathan Summers-Muir <MildTomato@users.noreply.github.com>
2023-10-09 18:15:40 +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
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
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
Ivan Vasilov 6648acacea Migrate CSS classes for light text (#17725)
* Replace all occurences of text-scale-1100 to text-foreground-light.

* Replace all occurences of text-scale-1000 with text-foreground-light.

* Fix double uses of text-foreground-light.
2023-09-26 11:05:28 +02:00
Joshen Lim f3d140752e Update 2023-09-21 14:36:25 +08:00
Joshen Lim ab69faac7d Update icon 2023-09-21 14:36:25 +08:00
Joshen Lim dd103ac710 add asChild 2023-09-20 19:50:55 +08:00
Joshen Lim a7822ae6fe Address comments 2023-09-20 19:14:22 +08:00
Joshen Lim caedfb51bd Fix 2023-09-20 15:57:06 +08:00
Joshen Lim 50fa91caff Small fixes on logic to show branching buttons 2023-09-12 15:41:57 +08:00
Joshen Lim 1d19861c37 Address comments 2023-08-25 12:55:04 +08:00
Joshen Lim ce90fdd747 Change buttons on branch management page to default 2023-08-07 11:17:58 +08:00
Joshen Lim ccab488a49 Small linting fix 2023-08-07 11:13:00 +08:00
Joshen Lim 5d327d0ed0 Fix pull requests + preview branches section not using the parent project ref to pull data when on a preview branch 2023-08-07 11:06:50 +08:00
Joshen Lim 49a0e6c0bc one more 2023-08-04 16:10:53 +08:00
Joshen Lim 2cad0aa86f Fix branch manamgenet 2023-08-04 16:09:45 +08:00
Joshen Lim 6630387327 Fix 2023-08-03 16:09:36 +08:00
Joshen Lim 4de48f0c24 Bring in changes from branch management 2 2023-08-03 15:46:06 +08:00
Joshen Lim 21443fba65 Fix finding github connection if there are multiple integrations 2023-08-03 15:44:41 +08:00
Joshen Lim 59c67d289b Update hasAccessToBranching to check opt in tags 2023-08-02 22:38:28 +08:00
Joshen Lim 59108c6861 Add support for github pull requests 2023-08-02 22:31:29 +08:00
Joshen Lim 7c790c7c8b Update branch management page with all GH stuff, scaffold change production branch CTA, add ScrollArea to org projects and branch popovers 2023-08-02 15:41:52 +08:00
Joshen Lim d2b7e3e40e Wrap up github integration with branching 2023-08-02 14:07:56 +08:00
Joshen Lim aa40ed7700 Add disabled and empty state for branch management page 2023-08-02 11:52:12 +08:00
Joshen Lim f2f039286c Scaffold branch management page empty state 2023-08-02 00:58:13 +08:00
Joshen Lim 2ede787f75 Implement disable branching 2023-08-01 20:17:42 +08:00
Joshen Lim 6bce9ed03a Merge branch 'feat/branch-management' into feat/branch-management-2 2023-07-31 15:54:09 +08:00
Joshen Lim 07d98248aa Address comments 2023-07-31 15:53:52 +08:00
Joshen Lim 4a7282fa21 Finalize create branch side panel flow 2023-07-31 15:41:16 +08:00
Joshen Lim 48d5e326f6 Init github integration 2023-07-30 00:57:01 +08:00
Joshen Lim 23b737a508 Fix create branch to use parent projec tref 2023-07-28 15:30:27 +08:00
Joshen Lim fb8c68007b Route backt to main branch, if deleting a branch that user is currently on 2023-07-28 15:28:05 +08:00
Joshen Lim 67c95661b2 Address feedback and scaffold create branch side panel 2023-07-27 11:43:45 +08:00
Joshen Lim def5e104f2 Implement updated pull requests and preview branches UIO 2023-07-26 18:08:35 +08:00
Joshen Lim d3f362458b Implement branch update 2023-07-26 17:33:42 +08:00
Joshen Lim 06de0750e3 Implement branch switching logic 2023-07-26 17:05:12 +08:00
Joshen Lim 53c058f931 Scaffold branch management branch, list branches, implement delete branch 2023-07-26 00:05:06 +08:00