-
Notifications
You must be signed in to change notification settings - Fork 2
[FEAT] 지원자 목록 면접 시간 컬럼 추가 및 시간 선택 모달 구현 (#411) #412
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
Merged
Merged
Changes from 11 commits
Commits
Show all changes
16 commits
Select commit
Hold shift + click to select a range
02cac66
feat: ApplicantData 타입에 면접 관련 필드 추가
kanghaeun 5fb6789
feat: interviewSchedule 관련 타입 추가
kanghaeun 404a7cc
feat: dashboard.ts MSW mock 데이터 수정
kanghaeun 3f5e97f
feat: applicant.ts MSW mock 데이터 수정
kanghaeun aaeb86d
feat: 대시보드 칼럼에 면접시간 추가
kanghaeun b436e12
feat: 면접 시간 선택 버튼 추가
kanghaeun b485aa6
feat: 라벨 매핑 함수 분리
kanghaeun 299e025
feat: 인터뷰 스케줄 목데이터 추가
kanghaeun a0cdc2c
feat: 시간 선택 모달 내용 추가
kanghaeun 46b0ae5
feat: 면접 시간 선택 모달 컴포넌트 구현
kanghaeun 511a25d
feat: confirmedTime이 있는 경우 날짜 및 시간 표시
kanghaeun 2ed18f0
chore: 불필요한 코드 삭제
kanghaeun 16b659f
chore: 모달 코드 주석 처리
kanghaeun 17ef3cb
refactor: responseData?.applicants가 실제로 변경될 때만 applicants가 새로 생성되도록 하…
kanghaeun 9617570
refactor: useCallback을 useMemo로 변경하고, debounce 호출을 화살표 함수로 감싸서 ESLint…
kanghaeun 23a5225
chore: ScheduleDateLabel 스타일 컴포넌트명 오타 수정
kanghaeun File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
89 changes: 89 additions & 0 deletions
89
...omponents/ApplicantListSection/List/ApplicantListItem/InterviewTimeContentModal.styled.ts
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,89 @@ | ||
| import styled from '@emotion/styled'; | ||
|
|
||
| export const Container = styled.div({ | ||
| display: 'flex', | ||
| flexDirection: 'column', | ||
| gap: '1.8rem', | ||
| }); | ||
|
|
||
| export const Section = styled.div({ | ||
| display: 'flex', | ||
| flexDirection: 'column', | ||
| gap: '1rem', | ||
| }); | ||
|
|
||
| export const SectionTitle = styled.h3(({ theme }) => ({ | ||
| fontSize: theme.font.size.sm, | ||
| fontWeight: 600, | ||
| color: theme.colors.gray700, | ||
| paddingBottom: '0.5rem', | ||
| borderBottom: `1px solid ${theme.colors.gray200}`, | ||
| })); | ||
|
|
||
| export const ScheduleRow = styled.div({ | ||
| display: 'flex', | ||
| alignItems: 'flex-start', | ||
| gap: '1rem', | ||
| }); | ||
| export const SchedulDateLabel = styled.span(({ theme }) => ({ | ||
| fontSize: theme.font.size.sm, | ||
| fontWeight: 600, | ||
| color: theme.colors.gray700, | ||
| minWidth: '2.5rem', | ||
| paddingTop: '0.5rem', | ||
| })); | ||
|
|
||
| export const DateLabel = styled.span(({ theme }) => ({ | ||
| fontSize: theme.font.size.sm, | ||
| fontWeight: 600, | ||
| color: theme.colors.gray700, | ||
| minWidth: '2.5rem', | ||
| })); | ||
|
|
||
| export const SlotsContainer = styled.div({ | ||
| display: 'flex', | ||
| flexWrap: 'wrap', | ||
| gap: '0.5rem', | ||
| flex: 1, | ||
| }); | ||
|
|
||
| export const TimeSlot = styled.button<{ $selected?: boolean }>(({ theme, $selected }) => ({ | ||
| display: 'flex', | ||
| flexDirection: 'column', | ||
| alignItems: 'center', | ||
| padding: '0.5rem 0.75rem', | ||
| borderRadius: theme.radius.md, | ||
| border: `1px solid ${$selected ? theme.colors.primary : theme.colors.gray300}`, | ||
| backgroundColor: $selected ? theme.colors.primary00 : theme.colors.bg, | ||
| cursor: 'pointer', | ||
| transition: 'all 0.2s', | ||
| minWidth: '4rem', | ||
|
|
||
| '&:hover': { | ||
| borderColor: theme.colors.primary, | ||
| backgroundColor: theme.colors.primary00, | ||
| }, | ||
| })); | ||
|
|
||
| export const SlotTime = styled.span(({ theme }) => ({ | ||
| fontSize: theme.font.size.sm, | ||
| fontWeight: 500, | ||
| color: theme.colors.gray800, | ||
| })); | ||
|
|
||
| export const SlotCount = styled.span(({ theme }) => ({ | ||
| fontSize: theme.font.size.xs, | ||
| color: theme.colors.gray500, | ||
| marginTop: '0.125rem', | ||
| })); | ||
|
|
||
| export const AvailableTimesRow = styled.div({ | ||
| display: 'flex', | ||
| alignItems: 'center', | ||
| gap: '1rem', | ||
| }); | ||
|
|
||
| export const AvailableTimes = styled.span(({ theme }) => ({ | ||
| fontSize: theme.font.size.sm, | ||
| color: theme.colors.gray600, | ||
| })); | ||
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.