-
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
feat(view): add transition in ClusterGraph #142
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.
와우! githru prototype만들 때, transition 부분 꼭 넣어보고 싶었는데 드디어 기능이 들어가는군요 :- )
전체적으로 잘 적용이 된다면 애플리케이션 전체적으로 유려한 느낌을 줄 수 있을 것 같습니다!
추후에 전반적인 app에서 사용하는 원칙(?)같은 것(ex. transition의 시간 등)을 rule로 만들어도 좋을 것 같네요!!
@@ -1,18 +1,18 @@ | |||
.cluster-container { | |||
.cluster-box { | |||
.cluster-graph_container { |
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.
변수 naming부분은 이전 리뷰들을 보니까 view팀에서 정의하신 부분들이 있는 것 같아요.
@githru/view 팀분들 확인부탁드립니다~.
return `translate(${x}, ${y})`; | ||
} | ||
|
||
export function getSelectedIndex( |
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.
(궁금) 혹시 selectedIndex를 다시 전체 data에서 찾는 구조인가요?
만약 그렇다면 추후에 component간 주고 받는 데이터에 selectedIndex를 넣어줘도 괜찮을 것 같습니다~.
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.
맞습니다...! 전체 데이터에서 selected 된 데이터를 찾는 구조인데, 추후에 selectedIndex를 추가해서 한 번더 탐색하는 작업을 줄일 수 있을 것 같습니다 :)
LGTM~~~ 수고하셨어요 ㅎㅎ |
후속 작업을 위해 우선 merge 하겠습니다 :) |
WorkList
b9cc3a4
0ea3fc7
27ae411
7466762
Result