Skip to content
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

Refactor: 커피챗 오픈/수정 페이지 변경사항 적용 #1702

Merged
merged 8 commits into from
Dec 17, 2024

Conversation

pepperdad
Copy link
Member

🤫 쉿, 나한테만 말해줘요. 이슈넘버

🧐 어떤 것을 변경했어요~?

  • 경력 선택 항목) 칩 -> PC: 드롭다운, MO: Bottom Sheet 으로 변경
  • 자기소개 항목) 필수 -> 선택 항목으로 변경
  • MO: Chip 컴포넌트 md -> sm 으로 사이즈 변경
  • 커피챗 주제 및 소개 항목) placeholder 변경

🤔 그렇다면, 어떻게 구현했어요~?

mds의 BottomSheet 컴포넌트가 없어서 BottomSheetSelect 를 구현했습니다.

❤️‍🔥 당신이 생각하는 PR포인트, 내겐 매력포인트.

📸 스크린샷, 없으면 이것 참,, 섭섭한데요?

[PC]

image image
image

[MO]

image image
image

Copy link

height bot commented Dec 12, 2024

Link Height tasks by mentioning a task ID in the pull request title or commit messages, or description and comments with the keyword link (e.g. "Link T-123").

💡Tip: You can also use "Close T-X" to automatically close a task when the pull request is merged.

Copy link

github-actions bot commented Dec 12, 2024

✨✨ 스토리북으로 확인하기 ✨✨

Copy link

github-actions bot commented Dec 12, 2024

🚀 프리뷰 배포 확인하기 🚀

https://28bab0eb.sopt-internal-dev.pages.dev

@pepperdad pepperdad self-assigned this Dec 14, 2024
Copy link
Member

@seojisoosoo seojisoosoo left a comment

Choose a reason for hiding this comment

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

👍 다른 사람 코드 파악해서 리팩토링하기 어려웠을 텐데, 넘 잘한 것 같습니다!

Comment on lines +40 to +50
useEffect(() => {
if (open) {
document.body.style.overflow = 'hidden';
} else {
document.body.style.overflow = '';
}

return () => {
document.body.style.overflow = '';
};
}, [open]);
Copy link
Member

Choose a reason for hiding this comment

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

q
요기 돔을 직접 조작하는 코드같은데, 이렇게 사용한 이유가 있는지 궁금해요!

Copy link
Member Author

Choose a reason for hiding this comment

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

a
요기는 BottomSheet가 열리면 뒤 배경이 스크롤되지 않도록 추가해줬습니다!

@pepperdad pepperdad added this pull request to the merge queue Dec 17, 2024
Merged via the queue into main with commit abfd07b Dec 17, 2024
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

refactor: 커피챗 오픈 페이지 수정
2 participants