-
Notifications
You must be signed in to change notification settings - Fork 83
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #768 from seungineer/main
[view] Remote Git config에서 owner, repo 정보를 View에서 받는 방식 수정
- Loading branch information
Showing
15 changed files
with
65 additions
and
67 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
5 changes: 2 additions & 3 deletions
5
packages/view/src/components/VerticalClusterList/Summary/Content/Content.tsx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
import { create } from "zustand"; | ||
|
||
export type githubInfo = { | ||
owner: string; | ||
repo: string; | ||
}; | ||
|
||
export const useGithubInfo = create< | ||
githubInfo & { | ||
handleGithubInfo: (repoInfo: githubInfo) => void; | ||
} | ||
>((set) => ({ | ||
owner: "githru", | ||
repo: "githru-vscode-ext", | ||
handleGithubInfo: (repoInfo: githubInfo) => { | ||
if (repoInfo) { | ||
set({ owner: repoInfo.owner, repo: repoInfo.repo }); | ||
} | ||
}, | ||
})); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,5 @@ | ||
export * from "./loading"; | ||
export * from "./filteredRange"; | ||
export * from "./branch"; | ||
export * from "./repo"; | ||
export * from "./owner"; | ||
export * from "./githubInfo"; | ||
export * from "./data"; |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,9 @@ | ||
import type { BranchListPayload } from "store"; | ||
import type { BranchListPayload, githubInfo } from "store"; | ||
import type { ClusterNode } from "types"; | ||
|
||
// triggered by ide response | ||
export type IDESentEvents = { | ||
handleChangeAnalyzedData: (analyzedData: ClusterNode[]) => void; | ||
handleChangeBranchList: (branches: BranchListPayload) => void; | ||
handleGithubInfo: (repoInfo: githubInfo) => void; | ||
}; |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters