fix: 프로젝트 파일 추가 1개 제한 및 대기 파일 표시 개선 (#405) - #406
Merged
Conversation
- 한 번에 파일 하나만 추가하도록 제한 (여러 파일일 때 이름/설명/즐겨찾기 적용 대상이 애매하던 문제 해결) - 파일을 추가하면 드롭존 대신 파일명·최종 수정일·업로드한 사람이 보이는 행으로 표시 - 즐겨찾기는 별 아이콘으로, 제거는 ⋮ 메뉴로 통일 (기존 텍스트 버튼 대체) - 파일 제거 시 드롭존으로 복귀
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
Collaborator
Author
코드 리뷰 (버그/안정성 중심)Must1. 파일 제거 후 다른 파일을 추가하면 이전 파일명이 그대로 남음
Should2. 드래그로 여러 파일을 한 번에 놓으면 나머지가 조용히 버려짐
버그·안정성 관점 위주로만 봤습니다. Must 1건은 반영하겠습니다. |
- removeFile에서 fileName/description도 같이 초기화 (제거 후 다른 파일 추가 시 이전 파일명이 남아 잘못 저장되던 문제) - FileInput에 onExtraFilesIgnored 콜백 추가 — multiple=false인데 여러 파일을 드롭하면 안내 메시지 표시 (기존엔 나머지가 안내 없이 조용히 버려짐)
Collaborator
Author
|
Must/Should 둘 다 반영 완료했습니다.
Prettier/ESLint/tsc -b/vite build 재확인 통과했습니다. |
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 #405
변경 사항
ProjectFileUploadModal에서 한 번에 파일 하나만 추가하도록 제한 — 파일마다 이름·설명·즐겨찾기를 개별로 지정하는 구조인데, 여러 파일을 동시에 받으면 그 값들을 어느 파일에 적용해야 할지 애매했던 문제 해결스크린샷
리뷰 포인트
체크리스트