Conversation
- 한 번에 파일 하나만 추가하도록 제한 (여러 파일일 때 이름/설명/즐겨찾기 적용 대상이 애매하던 문제 해결) - 파일을 추가하면 드롭존 대신 파일명·최종 수정일·업로드한 사람이 보이는 행으로 표시 - 즐겨찾기는 별 아이콘으로, 제거는 ⋮ 메뉴로 통일 (기존 텍스트 버튼 대체) - 파일 제거 시 드롭존으로 복귀
- removeFile에서 fileName/description도 같이 초기화 (제거 후 다른 파일 추가 시 이전 파일명이 남아 잘못 저장되던 문제) - FileInput에 onExtraFilesIgnored 콜백 추가 — multiple=false인데 여러 파일을 드롭하면 안내 메시지 표시 (기존엔 나머지가 안내 없이 조용히 버려짐)
- guestRequestConfig가 guestId·guestToken 둘 다 X-Guest-Id/X-Guest-Token 헤더로 보내도록 변경 (기존엔 guestId만 본문/쿼리, guestToken만 헤더로 나뉘어 있었음) - CreateFeedbackRequest/UpdateFeedbackRequest/CreateReplyRequest에서 guestId 필드 제거 (더 이상 본문에 안 실음) - resolveFeedbackActor 삭제 — 본문에 guestId를 실어주던 용도였는데 더 이상 필요 없음 - useFeedbacks/useFeedbackReplies에서 guestId를 항상 GuestRequestOptions로만 전달하도록 정리 - mocks/handlers/videos.ts를 X-Guest-Id 헤더 기준으로 맞춤 (로컬 MSW 개발 환경 유지) BE SLAT-TO/SLATE-TO-BE#181이 아직 main에 머지 전이라, 이 PR은 BE가 먼저(또는 같이) 배포돼야 실제로 동작합니다.
fix: 프로젝트 파일 추가 1개 제한 및 대기 파일 표시 개선 (#405)
- guestRequestConfig: guestId 없이 guestToken만 와도 헤더가 통째로 버려지지 않도록 각 헤더를 독립적으로 처리 - mocks/handlers/videos.ts: 피드백/답글 수정·삭제 mock 핸들러가 safeUser()만 보던 것을 X-Guest-Id 기반 작성자 본인 확인(isAuthorizedWriter)으로 교체 — 다른 사람 피드백을 게스트가 지우는 시도가 이제 로컬 MSW에서도 401로 막힘
fix: 게스트 guestId 전달 방식을 X-Guest-Id 헤더로 통일 (#407)
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
이슈
Closes #
릴리즈 이므로 이슈는 없습니다
변경 사항
스크린샷
리뷰 포인트
체크리스트