Skip to content
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

feat(view): add cloc linechart #105

Merged
merged 2 commits into from
Sep 8, 2022
Merged

feat(view): add cloc linechart #105

merged 2 commits into from
Sep 8, 2022

Conversation

pshdev1030
Copy link
Contributor

@pshdev1030 pshdev1030 commented Sep 8, 2022

cloc 차트를 구현하였습니다.
차후 수정해야할 부분을 주석의 TODO로 정리 해두었습니다.

민정님과 같이 수정할 예정입니다! @kmin-jeong

cloc 차트를 구현하였습니다.
차후 수정해야할 부분을 주석의 TODO로 정리 해두었습니다.
@pshdev1030 pshdev1030 requested a review from a team as a code owner September 8, 2022 00:43
@jejecrunch jejecrunch changed the title feat: add cloc linechart feat(view): add cloc linechart Sep 8, 2022
@kmin-jeong kmin-jeong merged commit d4a98a5 into githru:main Sep 8, 2022
Comment on lines +19 to +22

export const getCloc = (d: CommitNode) =>
d.commit.diffStatistics.insertions + d.commit.diffStatistics.deletions;

Copy link
Member

@jeonghye-choi jeonghye-choi Sep 8, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@pshdev1030 님 이 부분 로직이

d.commit.diffStatistics.insertions - d.commit.diffStatistics.deletions;

가 되어야 할 거 같은데 확인부탁드려요!

  • d보다는 좀 더 직관적인 변수명을 쓰면 좋을거 같아요! (ex: commitNode, node)
  • cloc관련 로직이라서 함수 위치가 TemPoralFilter/ClocLineChart/ClocLineChart.util.ts에 좀 더 적합할 거 같은데 어떻게 생각하시나요?

@hanseul-lee hanseul-lee added this to the v0.1.0 milestone Sep 11, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
No open projects
Status: Done
Development

Successfully merging this pull request may close these issues.

4 participants