Repository navigation
Conversation
- CollectionDetailRoute에 userProfile(UserID) 추가, 히어로 작성자(사진·닉네임)를 버튼으로 - 내 컬렉션은 탭 영역 없음, 탈퇴 유저(accessibleUserId == nil)는 unknownUser 토스트 (피드 상세와 동일) - App 4탭(홈·피드·서재·My) 컬렉션 상세 라우트에 내 ID 가드 후 userPage push 연결 - Demo 목 데이터에 작성자 userId 추가, 탈퇴 유저(-1) 케이스 시연 - 컬렉션 owner도 탈퇴 시 userId -1로 오는 것 dev 서버 실측 → Author 주석·문서 반영 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- 이미 보던 상세를 다시 불러왔는데 403/404면 실패 뷰 대신 화면을 닫는다(작성자 차단 후 복귀 시 서버가 BLOCK-007을 줌, dev 실측) - reloadAfterEdit → reloadAfterReturn 이름 변경, 낡은 복귀 주석 갱신 - WSSFeadView revealsSpoiler 기본값 제거(필수 인자), 스포일러 표시 한 줄 고정 - 홈 랜덤 컬렉션이 상세 복귀에도 바뀌는 건 의도된 동작으로 문서화 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Eq5jwHQF8WQwhQDkFf4xXB
- 재시도 버튼이 진입 1회 가드가 있는 .load를 불러, 한 번 성공한 뒤의 재조회 실패에서 무반응이었다 - 재시도 전용 .retry를 두고 복귀 재조회와 같은 강제 재조회(reload)를 타게 함 - 차단 복귀로 화면이 닫히는 경우를 반영해 낡은 주석·모듈 문서 정리 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Eq5jwHQF8WQwhQDkFf4xXB
- #201부터 자식 화면은 App이 같은 NavigationPath에 push하는데 주석 3곳이 로컬 push 시절 설명으로 남아 있었다 - .load에 "진입 1회 전용" 설명을 달아 재시도에 다시 물리지 않게 함 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Eq5jwHQF8WQwhQDkFf4xXB
테스트 커버리지 리포트
Generated by CI on 2026-11-28 03:15 KST |
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Eq5jwHQF8WQwhQDkFf4xXB
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.
💡 Issue
💭 Summary
컬렉션 상세에서 작성자를 누르면 그 유저의 프로필로 이동해요.
홈 "컬렉션 모음.zip"은 최신순 대신 랜덤으로 받아와요.
내가 쓴 스포일러 글은 더 이상 가리지 않고, 작은 "스포일러가 포함된 글" 표시만 붙여요.
🔑 Key Changes
1. 컬렉션 상세 작성자 → 유저 프로필
onRoute(.userProfile(UserID))로 App에 알려요.userId: -1)면 이동 대신 "알 수 없는 유저" 토스트를 띄워요. dev 실측으로 컬렉션도 피드와 같은-1센티널이 오는 걸 확인했어요.2. 홈 컬렉션 섹션 랜덤 조회
GET /collections?sort=random&size=10을 불러요.LoadRandomPublicCollectionsUseCase)로 분리했어요. 전체 컬렉션뷰는 그대로 최신순이에요.PublicCollectionSort(.latest/.random)를 두고, Data 쿼리는 최신순일 때sort를 아예 빼요.sort=latest를 보내면 서버가 400을 줘요.HomeView.route(_:)가 표시) 컬렉션만 다시 받지 않아요(.reloadAfterPop).3. 내 스포일러 글은 펼쳐 보이기
WSSFeadView에revealsSpoiler를 추가했어요. 내 글(isMyFeed)이면 본문·이미지를 그대로 보여주고, 리액션 줄 오른쪽에 작은 표시만 붙여요.4. 리뷰에서 나온 수정
BLOCK-007로 막아서(dev 실측), 예전엔 "일시적 오류" 화면에 갇혔어요. 이미 보던 상세를 다시 불러왔는데 403/404면 실패 화면 대신 닫아요..load)에 물려 있어서, 한 번 성공한 뒤의 실패에선 눌러도 무반응이었어요. 재시도 전용.retry로 분리했어요.📱 Simulation
시뮬레이터(iPhone 17, dev 서버)에서 직접 확인했어요.
1. 컬렉션 상세에서 작성자를 누르면 프로필로 이동해요
2. 홈 "컬렉션 모음.zip"이 탭을 바꿨다 돌아오면 새로 섞여요 (상세에서 돌아오면 그대로예요)
3. 내 스포일러 글은 본문이 보이고, 오른쪽에 작은 표시만 붙어요
4. 작성자를 차단하면 프로필 → 상세가 차례로 닫히고, 안내 토스트는 끝까지 남아요
🧑🧒🧒 To Reviewer
의도된 동작이에요
범위 밖으로 뺀 것
봐 주시면 좋은 곳
CollectionDetailViewModel.closeIfNoLongerViewable: 첫 로드 실패(detail == nil)는 닫지 않고 실패 화면을 보여줘요.리뷰
※ Reference
GET /collections(sort=random, COLLECTION-007/009)🤖 Generated with Claude Code
https://claude.ai/code/session_01Eq5jwHQF8WQwhQDkFf4xXB