-
Notifications
You must be signed in to change notification settings - Fork 2
#893 유사 시간대 탑승자 방 추천 기능 구현 #894
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
#893 유사 시간대 탑승자 방 추천 기능 구현 #894
Conversation
✅ Deploy Preview for taxi-dev-preview ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
PR에 스크린샷도 조금 추가해 주시면 좋을 것 같습니다 |
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.
LGTM! 고생하셨습니다~ (지윤님이 approve 해주시면 머지 부탁드려요)
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.
Pull Request Overview
This PR adds functionality to suggest existing rooms with similar time slots when creating a new room, showing them in a modal before falling back to direct creation.
- Calls
/rooms/searchByTimeGap
before room creation to fetch similar rooms. - Introduces
ModalSimilarRooms
component and integrates it into the AddRoom page. - Exports the new modal in the
ModalPopup
index file.
Reviewed Changes
Copilot reviewed 3 out of 3 changed files in this pull request and generated 4 comments.
File | Description |
---|---|
packages/web/src/pages/Addroom/index.tsx | Added state, search API call, and modal integration |
packages/web/src/components/ModalPopup/index.tsx | Exported ModalSimilarRooms |
packages/web/src/components/ModalPopup/ModalSimilarRooms.tsx | Created new modal component for displaying rooms |
Comments suppressed due to low confidence (1)
packages/web/src/pages/Addroom/index.tsx:189
- This new
searchByTimeGap
branch and modal flow lacks dedicated tests. Consider adding unit or integration tests to verify both the cases where similar rooms exist and where they don't.
await axios({
…ider-room-integration-feature-implementation
@Mun09 앗 CI 통과 실패했어요! 수정 부탁드립니다 |
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.
LGTM 👍
Summary
It closes #893
Extra Info
방 개설 시도 시 유사 시간대 방들을 보여주는 모달 추가