Commit Graph
18 Commits
Author SHA1 Message Date
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
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
Jonathan Summers-Muir 40d41d7fd3 Update GithubRepositorySelection.tsx 2023-09-20 00:29:34 +08:00
Jonathan Summers-Muir 51585fdb2c Update GithubRepositorySelection.tsx 2023-09-20 00:20:56 +08:00
Joshen Lim 692cbfc792 Revert changing env 2023-08-24 16:22:35 +08:00
Joshen Lim c988ca489c Fix 2023-08-24 16:12:10 +08:00
Joshen Lim f2cec5c61d Add ENV to lib/constants and update github integration app url to enable branching modal 2023-08-24 16:00:14 +08:00
Jonathan Summers-Muir d75e945b89 build errors 2023-08-05 04:28:01 +08:00
Joshen Lim 7c7f462cc5 Fix 2023-08-03 15:58:25 +08:00
Joshen Lim 21443fba65 Fix finding github connection if there are multiple integrations 2023-08-03 15:44:41 +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
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 2ede787f75 Implement disable branching 2023-08-01 20:17:42 +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
Joshen Lim 0ff85438a9 Add repo selection logic in branch enable modal 2023-08-01 15:11:39 +08:00
Joshen Lim 7a5d7562c9 Implemenet enable branching button 2023-08-01 13:08:52 +08:00