-
Notifications
You must be signed in to change notification settings - Fork 1
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
impl executive activity report charged page #1367
base: dev
Are you sure you want to change the base?
Conversation
활보 작성 내역 페이지 > 담당자별 필터 > 테이블 행 클릭 > 활보 검토 내역 페이지로 이동 > 뒤로 가기 > 활보 작성 내역 페이지 동아리별 필터로 돌아옴 |
...src/features/executive/activity-report/components/_atomic/ActivityReportStatisticContent.tsx
Outdated
Show resolved
Hide resolved
if (!a.commentedAt) return -1; | ||
if (!b.commentedAt) return 1; | ||
return ( | ||
new Date(b.commentedAt ?? b.updatedAt).getTime() - |
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.
요거 api response 데이터 중에 editedAt도 있던데 editedAt 와 updatedAt 가 무슨 차이가 있는지 알아?
지원금에서는 updatedAt 는 안 쓰고 editedAt을 써서 혹시나 싶어 확인하면 좋을거 같아요 (활보 상세페이지에서도 다 updatedAt 을 쓰고 있긴 하네)
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.
updatedAt은 db 자체에서 뭔가 바뀌면 매번 바뀌는 타임스탬프고
editedAt은 작성자가 수정한 시각 / commentedAt은 집행부가 검토한 최종 시각
...ges/web/src/features/executive/activity-report/components/ActivityReportChargedClubTable.tsx
Outdated
Show resolved
Hide resolved
...es/web/src/features/executive/activity-report/components/ActivityReportChargedOtherTable.tsx
Outdated
Show resolved
Hide resolved
...ges/web/src/features/executive/activity-report/services/useGetExecutiveChargedActivities.tsx
Outdated
Show resolved
Hide resolved
이거 새로고침 / breadcrumb 눌렀을 때는 초기화되긴 하는데 뒤로가기 해서 이동할 때는 유지되게 해놨어요 |
LGTM 👍🏻 |
요약 *
It closes #1358
/executive/activity-report/charged/[id] 구현
스크린샷
이후 Task *