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

feat: 커피챗 후기 메인 페이지 적용 및 팝업 모달 스타일링 #1733

Merged
merged 19 commits into from
Jan 31, 2025

Conversation

hayounSong
Copy link
Contributor

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

  • close # 1728

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

커피챗 후기 메인 페이지 적용 및 팝업 모달 스타일링을 구현해뒀습니다. 현재 API 개발 전, 먼저 스타일링을 우선 반영해뒀습니다.

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

일단 레거시 커피챗 카드 기반으로 캐러셀을 만들고, 현재는 카드 데이터로 되어있습니다!

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

스크린샷 2025-01-28 오후 9 05 02 스크린샷 2025-01-28 오후 9 05 17

@hayounSong hayounSong self-assigned this Jan 28, 2025
Copy link

height bot commented Jan 28, 2025

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.

@github-actions github-actions bot requested a review from seojisoosoo January 28, 2025 12:07
Copy link

github-actions bot commented Jan 28, 2025

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

Copy link

github-actions bot commented Jan 28, 2025

🚀 프리뷰 배포 확인하기 🚀

https://a7f1b7ea.sopt-internal-dev.pages.dev

Copy link
Member

@simeunseo simeunseo 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 +75 to +84
startTransition(() => {
if (tabletMedia.matches) {
setListType('tablet');
} else if (desktopSmallMedia.matches) {
setListType('scroll');
} else if (desktopLargeMedia.matches) {
setListType('carousel-small');
} else {
setListType('carousel-large');
}
Copy link
Member

Choose a reason for hiding this comment

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

단순 궁금증인데, 여기서 startTransition을 사용하신 이유가 궁금합니다!!!
startTransition은 무거운 작업으로 인해 화면의 반응성(ex. 사용자 입력 등..)이 중단되는 것을 방지하려고 사용된다고 이해하고 있어서요!
혹시 startTransition을 사용하기 전에는 화면 크기를 늘리고 줄이거나 할 때 버벅임이 있었나요?

)}

<Header>
<Title>{isLoading ? '' : isEmptyData ? '따끈한 후기가 도착했어요💌' : '따끈한 후기가 도착했어요💌'}</Title>
Copy link
Member

@simeunseo simeunseo Jan 31, 2025

Choose a reason for hiding this comment

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

여기 조금 불필요한 분기가 들어간 것 같은데..!! isLoading과 isEmptyData일 때 Title에 대한 분기처리가 필요한 이유가 무엇이었나요?? (특히 isEmptyData에 대한 분기 결과값 두개가 동일해서..)

제 생각에는 isEmptyData이면 early return을 해서 CoffeeChatReview 섹션이 아예 안보이도록 하는게 어떨까 해요!

css`
position: relative;

/* filter: blur(5px); */
Copy link
Member

Choose a reason for hiding this comment

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

주석 지우기!

@hayounSong hayounSong added this pull request to the merge queue Jan 31, 2025
Merged via the queue into main with commit 3c3c7a8 Jan 31, 2025
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.

2 participants