-
Notifications
You must be signed in to change notification settings - Fork 1
Fix/139 3차 QA 수정 #141
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
Merged
Fix/139 3차 QA 수정 #141
Changes from 2 commits
Commits
Show all changes
6 commits
Select commit
Hold shift + click to select a range
7109c07
fix: 체험 삭제 토스트 메시지 수정
LeeCh0129 8206ed5
fix: 후기 작성 후 실시간 업데이트(쿼리 키 추가)
LeeCh0129 93c52d8
fix: 예약현황 동일 제목 구분 문제 해결
LeeCh0129 d30b03c
fix: 빌드에러 해결
LeeCh0129 fae304f
fix: 빌드에러 해결(2)
LeeCh0129 da18261
Merge branch 'develop' into fix/139
LeeCh0129 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
🧹 Nitpick (assertive)
리뷰 생성 후 캐시 무효화 로직이 잘 구현되었습니다.
후기 작성 성공 시 관련 액티비티 쿼리들을 무효화하여 실시간 업데이트를 보장합니다. 예약 정보를 찾아 액티비티 ID를 전달하는 로직도 적절합니다.
다만
reservation을 찾지 못할 경우에 대한 방어 로직을 고려해보세요.선택적 개선사항으로 다음과 같은 방어 로직을 추가할 수 있습니다:
onSuccess: () => { // 성공 후 추가 쿼리 무효화 - if (reservation?.activity.id) { + if (reservation?.activity?.id) { invalidateActivityQueries(reservation.activity.id); + } else { + console.warn('예약 정보를 찾을 수 없어 캐시 무효화를 건너뜁니다.'); } },📝 Committable suggestion
🤖 Prompt for AI Agents