Repository navigation
[chore] 공유 기능 안내 공지 갱신 및 공지 모달 개선 - #517
Merged
Merged
Conversation
- 하단 '자세히 보기' 버튼이 Notion 페이지를 여는 대신 모달을 닫도록 변경 - 이미지 전용 모드의 우측 상단 X 버튼 제거 - 쓰이지 않게 된 패치 노트 link 필드와 링크 오류 안내 문구 제거 - '일주일간 보지 않기'를 브랜드 색 커스텀 체크박스와 hover·focus 상태로 개선하고 띄어쓰기 수정 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- 공유 기능 안내 GIF를 무손실 WebP(5.91MB → 3.42MB)로 변환해 기존 공지 이미지와 같은 src/assets/patchNote/에 추가 - 한국어·영어 공지 모두 같은 이미지를 사용하고 버전을 0004로 올려 이전 공지를 숨긴 사용자에게도 다시 표시 - src/assets import로 빌드 시 해시 파일명이 붙어 브라우저 장기 캐싱이 가능함 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- 이미지 전용 모드의 정사각형 고정을 풀고 이미지 비율대로 모달 높이가 정해지도록 변경해 좌우 흰 여백 제거 - 높이가 화면을 넘지 않도록 너비 상한을 80vh로 제한하고 닫기 버튼 높이를 고정 범위로 지정 - predefined 모드는 기존 정사각형 레이아웃 유지 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
Navigate logical layers of code changes, visualize relationships, and explore their blast radius. Note Currently processing new changes in this PR. This may take a few minutes, please wait... ⚙️ Run configuration
📒 Files selected for processing (10)
✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
🚀 Preview 배포 완료!
|
|
🧹 Preview 배포가 정리되었습니다. |
This branch was successfully deployed
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.
🚩 연관 이슈
closed #516
📝 작업 내용
공유 기능 안내 애니메이션을 최신 공지로 갱신하고, 공지 모달의 닫기 흐름과 레이아웃을 정리했습니다.
1. 공지 모달 하단 버튼 전환과 체크박스 개선 (
b499029)자세히 보기(Notion 페이지 열기)에서닫기(모달 닫기)로 바꿨습니다.link필드onClickDetailButtonprop자세히 보기,패치 노트 링크를 읽는 중 오류가 발생했습니다.)일주일간 보지 않기체크박스를 다시 디자인했습니다.일주일 간에서일주일간으로 고쳤습니다.2. 공유 기능 안내 애니메이션 추가 (
c6963b6)src/assets/patchNote/0004_share.webp에 두었습니다.0004로 올렸습니다. 이전 공지를 숨긴 사용자에게도 이번 공지가 다시 표시됩니다.src/assets에서 import하기 때문에 빌드 결과물 파일명에 해시가 붙습니다(assets/0004_share-[hash].webp). 그래서 브라우저가 오래 캐싱해도 안전합니다.3. 이미지 전용 공지 레이아웃 (
d36b45b)80vh로 낮췄습니다.clamp(52px, min(4.18vw, 7.04vh), 68px)로 지정했습니다.검증
npx vitest runnpm run lintsrc/util/sentry.test.ts의 Prettier 경고입니다npm run buildTDD로 진행했습니다. 아래 테스트를 먼저 추가하고 실패하는 것을 확인한 뒤 구현했습니다.
onClose를 호출하는지0004를 쓰는지🏞️ 스크린샷 (선택)
🗣️ 리뷰 요구사항 (선택)
수동 확인
npm run dev를 실행하고 랜딩 페이지나 테이블 목록 페이지에 들어갑니다.update_notification_status를 지운 뒤 새로고침합니다.닫기를 누르면 모달이 닫히는지미해결
하항목aws s3 sync에Cache-Control을 지정하지 않아서, 브라우저 장기 캐싱이 브라우저 휴리스틱과 CloudFront 설정에 의존합니다. 확실히 하려면 별도 작업에서dist/assets를--cache-control "public,max-age=31536000,immutable"로 업로드해야 합니다.🤖 Generated with Claude Code
Summary by CodeRabbit