-
Notifications
You must be signed in to change notification settings - Fork 2
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] 대시보드 페이지 timeline date issue 및 css 수정 #326
[Feat] 대시보드 페이지 timeline date issue 및 css 수정 #326
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.
LGTM입니다요 ~~~🚀
타임블록 이름들이 귀엽네요
|
||
import { PATH } from '@/shared/constant/path'; | ||
|
||
const TimelineSection = () => { | ||
const TimelineinDash = () => { |
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.
파스칼 케이스로 작성해주세용 !
그리고 컴포넌트명은 폴더구조가 이미 분리되어 있기 때문에 Timeline으로 해도 괜찮을 것 같은데 어떻게 생각하실까요 ??
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.
고생했습니다 보운 !!!
…to feature/dashboard/#324-timeline-date-issue
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.
고생했슴당 !!
해당 이슈 번호
closed #324
체크리스트
💎 PR Point
타임라인부분에서 달이 넘어가지 않는 이슈를 타임라인의 내용(Day 컴포넌트 아래)과 헤더부분을 분리함으로 해결했습니다.
내용부분에 useDateContext를 사용해야 했는데, 그러기 위해서는 헤더에 필요한
DateProvider
컴포넌트와 분리되어야 하기 때문에 내용 컴포넌트를 분리했습니다.인수인계 부분에서는 첫번째 태그의 글자수가 200픽셀 너비를 넘었을 때 아예 표시되지 않고 숫자만 (ex. '+4') 표시되는 문제가 있어서
보여주는 태그를 선정하는 로직(
getVisibleTags
)에 첫번째 태그일 경우 말줄임표와 함께 표시하는 로직을 구현했습니다.📌스크린샷 (선택)
2024-11-12.101518.mp4