-
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
[Feat] 현황 full 기능 구현 #530
[Feat] 현황 full 기능 구현 #530
Conversation
# Conflicts: # src/apis/getQueryKey.ts # src/components/Graph/LastLevelGraph.tsx # src/components/Graph/PastLevelGraph.tsx # src/msw/handlers/index.ts
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
function MissionCalendar({ selectDate, setSelectDate }: Props) { | ||
const currentData = dayjs(); | ||
|
||
const { date, monthCalendarData, onPrevMonth, onNextMonth, isCurrentMonth } = useCalendar({ |
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.
감사합니다!
}); | ||
|
||
// TODO: 왜 안되지? | ||
const resultHandlers = [getMissionSummaryList]; |
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.
handlers/index.ts 에
const handlers = [...missionHandlers, ...recordHandlers, ...memberHandlers, ...followHandlers, ...feedHandlers, ... resultHandlers];
를 추가하셨을까요?
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.
안되서 충돌해결하다가 충돌나길래 그냥 없앴습니다.
사소해요. 나중에 보시죠
# Conflicts: # src/components/Icon/index.tsx
src/apis/result.ts
Outdated
|
||
const RESULT_API = { | ||
getMissionSummaryList: async (date: string): Promise<MissionSummaryListResponse> => { | ||
console.log('date: ', date); |
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.
콘솔 삭제 부탁드려용~!
|
||
function MissionList(props: Props) { | ||
const { data: selectSummaryListData, isLoading } = useGetMissionSummaryList(props.selectDate); | ||
console.log('selectSummaryListData: ', selectSummaryListData); |
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.
콘솔 삭제 부탁드립니도~~
src/app/result/page.tsx
Outdated
레벨 안내 | ||
</Link> | ||
</section> | ||
{tabProps.activeTab === 'overall-status' && <OverallStatus />} |
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.
여기 이 탭값들 이넘으로 관리하고싶은 이슈
@@ -38,8 +53,7 @@ const outerContainerCss = css({ | |||
padding: '0px !', // NOTE: padding 0 필수, | |||
backgroundOrigin: 'border-box', | |||
backgroundClip: 'content-box, border-box', | |||
backgroundImage: | |||
'linear-gradient(token(colors.bg.surface3), token(colors.bg.surface3)), token(colors.gradients.stroke)', | |||
backgroundImage: 'linear-gradient(#18181D, #18181D), linear-gradient(0deg, #474A5D00 0%, #474A5D 100%)', |
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.
👍🏻
|
||
const MIN_PERCENT = 3; | ||
|
||
export const getPercent = (props: { symbolStack: number; max: number; min: number }): number => { |
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.
👍🏻
src/utils/result.ts
Outdated
@@ -17,3 +17,12 @@ export const calcProgress = (symbolStack: number) => { | |||
const currentLevel = getLevel(symbolStack); | |||
return ((symbolStack - currentLevel.min) / (currentLevel.max - currentLevel.min)) * 100; | |||
}; | |||
|
|||
const MIN_PERCENT = 3; |
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.
이 친구는 getPercent 함수 안으로 들어가도 될것 같은 이슈인데 의견이 궁금합니도!
🤔 해결하려는 문제가 무엇인가요?
closed #529
🎉 변경 사항
🙏 여기는 꼭 봐주세요!
- 현재는 더미 데이터로 구성되어있습니다.
🌄 스크린샷