-
Notifications
You must be signed in to change notification settings - Fork 3
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
공지사항 PresingedUrl 적용 #198
공지사항 PresingedUrl 적용 #198
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
Important Review skippedAuto reviews are disabled on base/target branches other than the default branch. Please check the settings in the CodeRabbit UI or the You can disable this status message by setting the Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media? 🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
CodeRabbit Configuration File (
|
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.
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.
엇 이미지 컨트롤러 확인을 못했었네요.
저도 컨트롤러 관련 부분 좋다고 생각합니다! 다만 직관성이 조금 떨어져서 실제로 버튼을 눌러보기 전까지는 해당 버튼을 통해 여러 이미지를 관리할 수 있다는 점을 잘 모를 것 같다는 생각이 들었어요.(사실 경험담입니다😅)
버튼을 눌렀을 경우 이미지가 슬라이드 형식으로 보이는 것도 좋지만, 조금 더 확장해서 실제 이미지 아래 배치해도 좋을 것 같다는 생각도 들었습니다! 또 x 버튼도 잘 보이지 않아 요런 부분 개선하면 좋을 것 같아요!
관련 디자인이 피그마에 없는 걸 보니 디자이너님이 모르시는 것 같아요! 요 부분은 다음주 스프린트때 이야기 하면 좋을 것 같은데 어떠신가요~!

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.
5efecc8
수정했습니다~
setDocumentData((prev) => ({ ...prev, fileUrls: updatedFileUrls })); | ||
} | ||
} | ||
function handleNewFileDelete(index: number) { |
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.
new file을 올리려다 삭제한 경우(설명이 어려워 동영상 첨부합니답,,), 반영되지 않아 보여요. onDelete
함수가 실행되지않아 서버로 id값이 전달된 것 같습니다!
2025-01-03.7.39.57.mov
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.
c80a593
수정했습니다~!
...existingFiles.map((item) => item.originUrl), | ||
...image.map((file) => URL.createObjectURL(file)), | ||
]; | ||
const allImages = useMemo( |
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.
useMemo로 불필요한 계산을 방지하셨네요 배워갑니다 👍
🔥 연관 이슈
🚀 작업 내용
UploadMuitipleFile
,UploadMuitipleImage
컴포넌트에서 기존 이미지, 추가된 이미지를 다룰 수 있도록 리팩토링 했습니다.fixzone
에 이상없는 지 확인했습니다.🤔 고민했던 내용
presentIndex
로 순서를 다루다 보니, 버튼을 여러번 누르게 되면 이미지를 순차적으로 로드하는 과정에 이미지 렌더링 시간이 누적되는 버그가 존재합니다. 추후 리팩토링이 필요해보입니다~!