Skip to content
This repository was archived by the owner on Dec 7, 2024. It is now read-only.

๐Ÿ”€์ถœ์„ ๊ธฐ๋Šฅ ์ถ”๊ฐ€ #296

Merged
merged 4 commits into from
Apr 25, 2024

Conversation

happytaeyoon
Copy link
Contributor

๐Ÿ’ก ๊ฐœ์š”

์ถœ์„ ๊ธฐ๋Šฅ์„ ์ถ”๊ฐ€ํ–ˆ์Šต๋‹ˆ๋‹ค

๐Ÿ“ƒ ์ž‘์—…๋‚ด์šฉ

AttendPage๋ฅผ ๋งŒ๋“ค์—ˆ์Šต๋‹ˆ๋‹ค

๐ŸŽธ ๊ธฐํƒ€

ํ…Œ์ŠคํŠธ ๋งŽ์ด ํ•ด์ฃผ์‹œ๋ฉด ์ข‹์„ ๊ฒƒ ๊ฐ™์•„์š”!
image

@happytaeyoon happytaeyoon added 1๏ธโƒฃ Priority: High ์šฐ์„ ์ˆœ์œ„ - ์ƒ โœจ Feature ์‹ ๊ทœ ๊ธฐ๋Šฅ labels Apr 24, 2024
@happytaeyoon happytaeyoon self-assigned this Apr 24, 2024
Copy link

vercel bot commented Apr 24, 2024

The latest updates on your projects. Learn more about Vercel for Git โ†—๏ธŽ

Name Status Preview Comments Updated (UTC)
gcms-msg-team โœ… Ready (Inspect) Visit Preview ๐Ÿ’ฌ Add feedback Apr 24, 2024 11:32pm

Copy link
Contributor

@likegitman likegitman left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

์ปค๋ฐ‹ ์ปจ๋ฒค์…˜ ์ง€์ผœ์ฃผ์„ธ์š”!

? '10๊ต์‹œ'
: period === 'ELEVENTH'
? '11๊ต์‹œ'
: ''
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

์‚ผํ•ญ์—ฐ์‚ฐ์ž๊ฐ€ ์•„๋‹ˆ๋ผ periodArr๋ฅผ ํ†ตํ•ด์„œ ๊ด€๋ฆฌํ•˜๋Š” ๊ฑด ์–ด๋–จ๊นŒ์š”?

@@ -1,4 +1,5 @@
export interface ApplicantInitialState {
attendanceId?: any
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

attendanceId๋ฅผ any๋กœ ์„ค์ •ํ•œ ์ด์œ ๊ฐ€ ์žˆ๋‚˜์š”?

@@ -0,0 +1,17 @@
export const Attend_LATE = ({ color }: { color?: string }) => {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

svg ์ปดํฌ๋„ŒํŠธ๋“ค์˜ color์˜ ํƒ€์ž…์„ boolean์œผ๋กœ ๋ณ€๊ฒฝํ•˜๊ฑฐ๋‚˜, color์— string๊ฐ’์œผ๋กœ ์ƒ‰์ƒ์ •๋ณด๋ฅผ ๊ฐ€์ ธ์˜ค๋Š”๋ฐฉ์‹์œผ๋กœ ๋ณ€๊ฒฝํ•˜๋Š” ๊ฒƒ์ด ์ข‹์•„๋ณด์—ฌ์š”

Copy link
Contributor

@likegitman likegitman left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

์ปค๋ฐ‹ ์ปจ๋ฒค์…˜ ์ง€์ผœ์ฃผ์„ธ์š”!

@@ -0,0 +1,26 @@
export const Attend_ABSENT = ({ color }: { color?: string }) => {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Attend_ABSENT๋ฅผ ๋น„๋กฏํ•œ 3๊ฐœ svg์˜ ์ด๋ฆ„์„ ์Šค๋„ค์ดํฌ์ผ€์ด์Šค๋กœ ์ž‘์„ฑํ•œ ์ด์œ ๊ฐ€ ์žˆ์„๊นŒ์š”?

create,
download,
}) => {
const yoilArr = ['์ผ', '์›”', 'ํ™”', '์ˆ˜', '๋ชฉ', '๊ธˆ', 'ํ† ']
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ํ•œ๊ธ€๋กœ ์š”์ผ์€ yoil๋กœ ํ•˜๋Š” ๊ฒƒ๋ณด๋‹ค weeks๊ฐ™์€ ๋„ค์ด๋ฐ์€ ์–ด๋–ค๊ฐ€์š”?
๊ทธ๋ฆฌ๊ณ  ๋ณ€ํ•˜์ง€ ์•Š๋Š” ๋ณ€์ˆ˜๋Š” AttendanceForm ๋ฐ–์— ์„ ์–ธํ•˜๋Š” ๊ฒƒ์ด ๋” ์ข‹์„ ๊ฒƒ ๊ฐ™์Šต๋‹ˆ๋‹ค.

Comment on lines +79 to +101
period === 'FIRST'
? '1๊ต์‹œ'
: period === 'SECOND'
? '2๊ต์‹œ'
: period === 'THIRD'
? '3๊ต์‹œ'
: period === 'FOURTH'
? '4๊ต์‹œ'
: period === 'FIFTH'
? '5๊ต์‹œ'
: period === 'SIXTH'
? '6๊ต์‹œ'
: period === 'SEVENTH'
? '7๊ต์‹œ'
: period === 'EIGHTH'
? '8๊ต์‹œ'
: period === 'NINTH'
? '9๊ต์‹œ'
: period === 'TENTH'
? '10๊ต์‹œ'
: period === 'ELEVENTH'
? '11๊ต์‹œ'
: ''
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

์ด๋Ÿฐ ์ค‘๋ณต๋œ ์‚ผํ•ญ ์—ฐ์‚ฐ์ž๋Š” ์ข‹์ง€ ์•Š์€ ๊ฒƒ ๊ฐ™์•„์š”!
๋”ฐ๋กœ ๊ฐ์ฒด๋ฅผ ๋งŒ๋“ค์–ด์„œ key๋“ค์„ FIRST, SECOND ๋“ฑ์œผ๋กœ ํ•˜๊ณ  ํ•ด๋‹นํ•˜๋Š” value๋“ค์„ ๊ต์‹œ๋กœ ์ง€์ •ํ•ด๋†”์„œ
obj[period] ์‹์œผ๋กœ ์ค„์—ฌ๋ณด๋Š” ๊ฑด ์–ด๋–จ๊นŒ์š”?

@@ -1,4 +1,5 @@
export interface ApplicantInitialState {
attendanceId?: any
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

any๋กœ ์ง€์ •ํ•˜์‹  ์ด์œ ๊ฐ€ ์žˆ๋‚˜์š”?

Comment on lines +10 to +25
interface AttendanceFormProps {
onClose: () => void
isShow: string
setIsPick: React.Dispatch<React.SetStateAction<string>>
setClicked: React.Dispatch<React.SetStateAction<boolean>>
date: Date
setDate: React.Dispatch<React.SetStateAction<Date>>
setCurrentDate: React.Dispatch<React.SetStateAction<string>>
clicked: boolean
selectedPeriods: PeriodEnumType[]
isPick: string
onClickPeriod: (period: PeriodEnumType) => void
periodArr: { text: string; period: PeriodEnumType }[]
create: () => void
download: () => void
}
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

is๊ฐ€ ๋„ค์ด๋ฐ์€ boolean ํ˜•ํƒœ์— ์ ํ•ฉํ•˜๋‹ค ์ƒ๊ฐํ•˜๋Š”๋ฐ ๋ฐ”๊ฟ”๋ณด๋Š” ๊ฑธ ์ถ”์ฒœ๋“œ๋ฆฌ๊ณ  isPick์€ ํƒ€์ž…์ด
'calendar์™€ period๋กœ ์ •ํ™•ํžˆ ๋‚˜๋‰˜์–ด์ ธ ์žˆ๋Š” ๊ฒƒ ๊ฐ™์€๋ฐ string ๋ง๊ณ  ์ง์ ‘ ์ง€์ •ํ•˜๋Š” ๊ฒŒ ์ข‹์„ ๊ฒƒ ๊ฐ™์Šต๋‹ˆ๋‹ค.

onClick={() => {
setIsShow('์กฐํšŒํ•˜๊ธฐ')
}}
style={{ cursor: 'pointer' }}
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

NavWrapper์— cursor: pointer๋ฅผ ์ฃผ์ง€ ์•Š๊ณ  ์ง์ ‘ ์ธ๋ผ์ธ์œผ๋กœ ์Šคํƒ€์ผ ์ฃผ์‹  ์ด์œ ๊ฐ€ ์žˆ๋‚˜์š”?

Comment on lines +182 to +185
onClick={() => {
setIsShow('์ƒ์„ฑํ•˜๊ธฐ')
}}
style={{ cursor: 'pointer' }}
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

์œ„ ์ฝ”๋ฉ˜ํŠธ์™€ ๊ฐ™์Šต๋‹ˆ๋‹ค.

)}

<UserList data={attendData} value={watch('value').trim()} />
<ChoiceUser onSubmit={() => attendanceDownload()} />
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

๋”ฐ๋กœ ๋ฐ›๋Š” ์ธ์ž๊ฐ€ ์—†๋‹ค๋ฉด onSubmit={attendanceDownload}๋กœ ์ค„์—ฌ๋„ ๋ฌธ์ œ๊ฐ€ ์ƒ๊ธธ ๊ฒƒ ๊ฐ™์ง€ ์•Š์€๋ฐ ์–ด๋–ค๊ฐ€์š”?

<Input placeholder='๊ฒ€์ƒ‰' register={register('value')} />
</S.InputBox>

{attendData && attendData.users.length > 0 && (
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

0๋ณด๋‹ค ํฌ๋‹ค๋ผ๋Š” ์กฐ๊ฑด์€ attendData.users.length๋ž‘ ๋˜‘๊ฐ™์€ ์˜๋ฏธ์ผ ๊ฒƒ ๊ฐ™์€๋ฐ ๋ฐ”๊พธ์‹ค ์˜ํ–ฅ์ด ์žˆ๋‚˜์š”?

Comment on lines +41 to +48
> svg {
position: absolute;
left: 20px;
bottom: 16px;
}
input {
padding: 0.9rem 3rem;
}
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

svg์—๋งŒ >๋ฅผ ๋ถ™์ธ ์ด์œ ๊ฐ€ ์žˆ๋‚˜์š”?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

router.push๋ฅผ ์‚ฌ์šฉํ•˜์ง€ ์•Š๊ณ  href๋ฅผ ์ด์šฉํ•˜์‹  ์ด์œ ๊ฐ€ ์žˆ๋‚˜์š”?

@happytaeyoon happytaeyoon merged commit e9459a7 into develop Apr 25, 2024
3 checks passed
@likegitman likegitman mentioned this pull request Apr 25, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
1๏ธโƒฃ Priority: High ์šฐ์„ ์ˆœ์œ„ - ์ƒ โœจ Feature ์‹ ๊ทœ ๊ธฐ๋Šฅ
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants