-
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] 메인 세팅 모달 퍼블리싱 #334
[FEAT] 메인 세팅 모달 퍼블리싱 #334
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.
날짜 데이트 오브젝트로 바꾸고 온블러도 잘 적용해주셨네요 ~~ 짱
<PopUp type="title" /> | ||
</MainSettingModalHeadLayout> | ||
<MainSettingModalBodyLayout> | ||
<DeadlineBox date={new Date()} endTime="06:00pm" label="마감 기간" /> |
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.
리턴문 위에서 변수 지정해 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.
해당 date를 전달한 곳은 임시로 데이터를 넘겨주는 부분이라서 기능 붙이면서 수정하도록 하겠습니다!!
startTime?: string; | ||
endTime: string; | ||
date: Date; | ||
setDate: (newDate: Date) => void; |
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.
앗 그러네요!! 해당 사항 수정하였습니다
</TextBox> | ||
</DateBtnLayout> | ||
{isOpen && ( | ||
<DropdownStyle tabIndex={-1}> |
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.
const placeholder = type === TYPE.TITLE ? '제목을 입력하세요' : '설명을 추가하세요'; | ||
|
||
return ( | ||
<PopUpContainer> | ||
{type === TYPE.DESC && state === INPUT_STATE.DEFAULT && <Icon name="IcnDescription" size="tiny" />} | ||
<StyledInput | ||
type={type} | ||
state={state} | ||
placeholder="제목을 입력하세요" | ||
placeholder={placeholder} |
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.
헉 ㅋㅋ 👍 👍
<DeadlineBox date={new Date()} endTime="06:00pm" label="마감 기간" /> | ||
<PopUpTitleBox> | ||
<PopUp type="description" /> | ||
</PopUpTitleBox> | ||
<DeadlineBox date={new Date()} startTime="11:00am" endTime="06:00pm" label="진행 기간" /> |
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.
<DeadlineBox date={new Date()} endTime="06:00pm" label="마감 기간" /> | |
<PopUpTitleBox> | |
<PopUp type="description" /> | |
</PopUpTitleBox> | |
<DeadlineBox date={new Date()} startTime="11:00am" endTime="06:00pm" label="진행 기간" /> | |
<DeadlineBox date={new Date()} endTime="06:00 pm" label="마감 기간" /> | |
<PopUpTitleBox> | |
<PopUp type="description" /> | |
</PopUpTitleBox> | |
<DeadlineBox date={new Date()} startTime="11:00 am" endTime="06:00 pm" label="진행 기간" /> |
시간 수정할 때 정렬이 살짝 이상해서 봤더니 사이에 띄어쓰기가 업서요 수정해주세요!!
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.
테두리쪽 배경색은 기존 버튼 컴포넌트 자체에서 수정해야하는 부분 같아서 추후에 버튼 컴포넌트를 보는게 좋을 것 같습니다! |
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.
넵 확인했습니다!! 수고하셧어요~~
작업 내용 🧑💻
알게된 점 🚀
리뷰 요구사항 💬
관련 이슈
close #325
스크린샷 (선택)