[Refactor] 사진 그리드 컴포넌트화 및 썸네일 다운샘플 (#67) - #69
Conversation
|
Warning Review limit reached
Next review available in: 35 minutes Limit details: You’ve used all 1 included review currently available under your plan. You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository. How can I continue?After more reviews become available, a review can be triggered using the To avoid repeated limits, reduce automatic review volume by pausing incremental auto-reviews earlier, using label-based review opt-in, excluding WIP or generated PR titles, or requesting reviews manually when the PR is ready. If your team needs uninterrupted high-volume reviews, an organization admin can enable usage-based reviews. How do review limits work?CodeRabbit enforces per-developer PR review limits for each organization. Most developers receive the normal plan review availability. For paid Pro and Pro+ PR reviews, CodeRabbit uses adaptive limits for sustained high-volume activity. When a developer's recent PR review activity reaches the 95th percentile or higher among CodeRabbit users, additional reviews become available more gradually as earlier reviews age out of the rolling window. Please refer docs for additional details. Review details⚙️ Run configurationConfiguration used: Repository UI Review profile: CHILL Plan: Pro Plus Run ID: 📒 Files selected for processing (5)
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 |
- PhotoGridTile을 Home Feature → Core/UIComponents로 이동 - 150pt 다운샘플(ImageRequest + resize processor) 내장 — 원본 풀 디코드 대비 타일당 메모리 ~30배 절약 - corner radius 6으로 통일 (기존 검색/앨범 타일은 14) - PhotoNavGrid 신설 — 3열 LazyVGrid + 값 기반 NavigationLink + matchedTransitionSource 줌 전환 공용화 - 기본 edge-to-edge·간격 2pt (사진 앱 밀도)
- HomeView: PhotoGridView 내부 LazyVGrid → PhotoNavGrid - SearchView: SearchResultTile 삭제(PhotoGridTile로 대체), 검색 결과 그리드 → PhotoNavGrid - 결과 그리드는 홈과 동일하게 edge-to-edge·간격 2pt로 통일 - AlbumCard 커버는 카드 크기(200×160pt)만큼만 디코드 - AlbumDetailView: AlbumPhotoGrid 삭제 → PhotoNavGrid(spacing: 8) - 배너 카드가 이끄는 카드 컴포지션이라 16pt 여백·8pt 간격은 의도적으로 유지 - BannerCollage는 스트립 크기(390×140pt)만큼만 디코드
e7b9a4a to
afd865f
Compare
✨ PR 유형
어떤 변경 사항이 있나요??
🛠️ 작업내용
Closes #67
커밋 1 — 공용 컴포넌트 신설 (
Core/UIComponents/)PhotoGridTile— Home Feature에서 이동. 150pt 다운샘플(ImageRequest+ resize processor) 내장, radius 6 통일. 원본 풀 디코드 대비 타일당 메모리 ~30배 절약 (12MB → 0.4MB)PhotoNavGrid— "3열 LazyVGrid + 값 기반 NavigationLink + matchedTransitionSource 줌 전환" 공용화. 기본 edge-to-edge·간격 2pt커밋 2 — 사용처 교체
SearchResultTile·AlbumPhotoGrid중복 구현 삭제 (뷰 3개 기준 −63줄)AlbumCard(200×160)·BannerCollage(390×140)도 표시 크기만큼만 디코드동일 150pt 프로세서를 세 화면이 공유하므로 Nuke processed-image 캐시가 화면 간 재사용됩니다.
📋 추후 진행 상황
Core/UIComponents/로 이동PhotoNavGrid가 받는Photo모델을 공유 모듈로 분리 필요📌 리뷰 포인트
SensitiveTile)는 잠금 분기(잠금 중 이미지 미로드) 때문에 의도적으로PhotoNavGrid미적용 — 타일(PhotoGridTile)만 공유✅ Checklist
PR이 다음 요구 사항을 충족하는지 확인해주세요!!!
🤖 Generated with Claude Code