-
Notifications
You must be signed in to change notification settings - Fork 82
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[view] Remote Git config에서 owner, repo 정보를 View에서 받는 방식 수정 #768
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
깔~끔합니다!!! LGTM!
initRef.current = true; | ||
} | ||
}, [handleChangeAnalyzedData, handleChangeBranchList, ideAdapter, setLoading]); | ||
|
||
useEffect(() => { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍👍👍
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm!!!!@@
Related issue
#588
Result
AS-IS
owner
,repo
정보를 vscode에서 view로 전달하기 위해 새로운EventListner
를 추가하여 해당EventListner
에postMessage
하는 방식이었습니다.TO-BE
owner
,repo
정보를 fetch하는 방식으로csmDict
,branches
정보와 생명 주기가 갖도록 수정하였습니다.Work list
sendFetchAnalyzedDataMessage
,sendFetchBranchListMessage
할 때,sendFetchGithubInfo
가 함께 실행되어owner
,repo
정보를 zustandstore
에 할당 합니다.sendMessageToIDE
를 사용하여 별도의EventListner
를 추가하지 않도록 수정하였습니다.Discussion
owner
,repo
상태의 초기값을 'githru', 'githru-vscode-ext'로 하여 dev 모드에서도 issue number 링크를 테스트할 수 있도록 하였습니다.undefined
, 공란 등이 되어야 할 것 같은데, 특정 레포지토리로 지정되어 있는 것은 수정되어야 하는 부분인 것 같습니다. 🤔