-
Notifications
You must be signed in to change notification settings - Fork 83
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
fix(view): commit 중복 bug fix #508
Conversation
@@ -13,9 +13,9 @@ const useToggleHook = (init = false): UseToggleHook => { | |||
|
|||
export const useCommitListHide = (commitNodeListInCluster: CommitNode[]) => { | |||
const list = getSummaryCommitList(commitNodeListInCluster).reverse(); | |||
const strech = commitNodeListInCluster.slice(5, commitNodeListInCluster.length).reverse(); | |||
const strech = commitNodeListInCluster.reverse(); |
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.
아니요, 기존의 동작과 동일하게 작동합니다!
처음에 5개가 나온 후, readmore을 누르면 전체 commit 이 나오고 hide를 누르면 5개가 보여지는 처음의 상태로 돌아갑니다.
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.
5개 단위로 접혀서 나오도록 수정해보겠습니다!
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.
제가 만든 버그 같은데, 수정해주셔서 감사합니다!! :)
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 입니다!!
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.
@all-contributors please add @inthejim for code
Related issue
#507
Result
전:
후:
Discussion
서브 그래프와 순서가 반대라, 헷갈릴 수 있을 것 같습니다.