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): cluster node를 펼쳤을 때 avatar 보여주기 #404

Merged
merged 5 commits into from
Aug 24, 2023

Conversation

kimdonggu42
Copy link
Member

Related issue

close #362

Result

Aug-22-2023 11-21-09

Work list

기존 commit message 좌측에 author의 avatar를 추가했습니다.

Discussion

conflict를 해결하다가 이전 PR이 close 돼버려 다시 PR 올렸습니다.

@kimdonggu42 kimdonggu42 requested review from a team as code owners August 23, 2023 05:28
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.

LGTM!

Comment on lines +71 to +79
<div className="avatar-message">
{authSrcMap && (
<Author
name={author.names.toString()}
src={authSrcMap[author.names.toString()]}
/>
)}
<span className="message">{message}</span>
</div>
Copy link
Contributor

Choose a reason for hiding this comment

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

추후에,
map을 param으로 받는 방식도 괜찮지만,
authSrcMap[author.names.toString()]을 인자로 받거나, contextAPI등에서 데이터를 가져오는 방식도 고려해보면 좋을 것 같습니다.

Copy link
Contributor

@KyuTae98 KyuTae98 left a comment

Choose a reason for hiding this comment

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

사용자가 보기에 더욱 깔끔해서 보기 좋습니다!!

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.

cluster node를 펼쳤을 때 avatar 보여주기
3 participants