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

[view] 툴팁 교체 및 폴더 구조 그래프 명시성 확보 #720

Merged
merged 4 commits into from
Sep 10, 2024

Conversation

pcwadarong
Copy link
Member

@pcwadarong pcwadarong commented Sep 10, 2024

Related issue

close #638

Result

image
image
image
image

Work list

  • Convert Author to Avator + tooltip of material-ui #639 에서 수정했던 author 툴팁에 이어서, 사용자 id 툴팁과 auth bar chart 툴팁을 수정하였습니다.
  • auth bar chart는 생김새가 복잡해서 그대로 css 코드를 유지하되 스타일링만 통일하였습니다.
  • File Summary에 폴더 이름이 옅어서 안 보이는 느낌이라 컬러를 삭제하고 굵기를 조정하였습니다

Copy link
Member Author

Choose a reason for hiding this comment

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

자동 저장 수정에 의해 변경되었습니다

Copy link
Member Author

Choose a reason for hiding this comment

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

mui로 교체하였기에 삭제한 부분입니다.

@@ -80,7 +81,7 @@ const Detail = ({ selectedData, clusterId, authSrcMap }: DetailProps) => {
<span className="message">{message}</span>
</div>
</div>
<span className="author-date">
<span className="commit-date">
Copy link
Member Author

Choose a reason for hiding this comment

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

해당 container가 commit을 다루고 있고, 실제 날짜도 author에 관련되어 있다기 보다 커밋한 일시 자체를 다루고 있기 때문에 더 알맞다고 생각하여 수정하였습니다.

Comment on lines 95 to 100
<Tooltip
placement="right"
title={id}
>
<p>{`${id.slice(0, 6)}...`}</p>
</Tooltip>
Copy link
Member Author

Choose a reason for hiding this comment

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

기존처럼 6개만 잘라 내용을 보여주고 툴팁에 전체를 담는 형식을 유지하되, 말 줄임 표시로 ... 을 넣었습니다.

Copy link
Contributor

Choose a reason for hiding this comment

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

git 사용 시 보통 6a58676 요렇게 커밋 id를 6자리로 끊기도 해서 저는 원래대로 ... 없이 가는게 조금 더 깔끔한 것 같기도 한데 다른 분들 생각은 어떠신지 궁금하네요..!!!

Copy link
Contributor

Choose a reason for hiding this comment

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

그렇네요. ... 없이 가는게 맞을 것 같습니다!

Copy link
Member Author

Choose a reason for hiding this comment

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

앗 이제 봤네요!! 다음 pr 때 수정하겠습니다!

Comment on lines -9 to 13
p {
font-size: $font-size-title;
font-weight: $font-weight-semibold;
}
.author-bar-chart__title {
font-size: $font-size-title;
font-weight: $font-weight-semibold;
}
Copy link
Member Author

Choose a reason for hiding this comment

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

기존에 컨테이너 박스 안의 모든 p의 폰트 사이즈와 두께를 결정하고 있는 관계로, 아래에서 다시 .name 의 두께를 정해주어도 변경되지 않았습니다. 이전에 작성한 의도에 맞게 name만 진한 굵기로, 나머지는 보통 굵기로 나오도록 수정하기 위해 따로 class 명을 주었습니다.

@@ -40,7 +40,6 @@

.axis {
color: $color-white;
font-weight: $font-weight-semibold;
Copy link
Member Author

Choose a reason for hiding this comment

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

그래프의 label에 해당하는 부분입니다. 상단 기간 그래프의 날짜 부분이 보통 굵기로 설정되어 있었기에 통일하였습니다.

ytaek
ytaek previously approved these changes Sep 10, 2024
Copy link
Contributor

@ytaek ytaek left a comment

Choose a reason for hiding this comment

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

깔끔하게 정리되었네요!! LGGGGGGGGGTM!

참고로, PR의 title 및 commit message 의 경우에는 conventional commit 형태를 이용해주시면 감사하겠습니다!
https://github.com/githru/githru-vscode-ext/blob/main/CONTRIBUTING.md#commit-message

line-height: 1.5;
border-radius: 5px;
color: $color-dark-gray;
background: $color-medium-gray;
Copy link
Contributor

Choose a reason for hiding this comment

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

혹싱 요 툴팁이랑 commit-id의 툴팁이랑 색이 같은가요 ?.? 툴팁의 배경 색도 통일되면 좋을 것 같은데 사진 첨부해주신 건 뭔가 다른 것 싶어가지구 궁금합니다!!

Copy link
Member Author

Choose a reason for hiding this comment

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

수정하였습니다 의견 감사합니다 🥰😊

joonwonBaek
joonwonBaek previously approved these changes Sep 10, 2024
Copy link
Contributor

@joonwonBaek joonwonBaek left a comment

Choose a reason for hiding this comment

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

LGTM!!

@pcwadarong pcwadarong changed the title refator tooltips [view] refator tooltips Sep 10, 2024
@pcwadarong pcwadarong changed the title [view] refator tooltips [view] 툴팁 교체 및 폴더 구조 명시성 확보 Sep 10, 2024
@pcwadarong pcwadarong dismissed stale reviews from joonwonBaek and ytaek via ab098b0 September 10, 2024 13:39
:root {
--primary-color: #ff8272;
}

Copy link
Member Author

Choose a reason for hiding this comment

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

사용하지 않는 컬러입니다

Comment on lines +97 to +98
title={id}
PopperProps={{ sx: { ".MuiTooltip-tooltip": { bgcolor: "#3c4048" } } }}
Copy link
Member Author

Choose a reason for hiding this comment

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

모든 툴팁 배경색상 통일

filter: invert(100) grayscale(100) contrast(100);
font-weight: $font-weight-semibold;
Copy link
Member Author

Choose a reason for hiding this comment

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

폴더 이름이 옅어서 안 보이는 느낌이라 컬러를 삭제하고 굵기를 조정하였습니다

@pcwadarong pcwadarong merged commit c3ecae0 into githru:main Sep 10, 2024
2 checks passed
@pcwadarong pcwadarong changed the title [view] 툴팁 교체 및 폴더 구조 명시성 확보 [view] 툴팁 교체 및 폴더 구조 그래프 명시성 확보 Sep 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Avator, Tool tips
5 participants