Repository navigation
fix(home): '수신인 지정 미완료' 칩을 수신자 등록 화면에 연결한다 (#506) - #1052
Merged
Merged
Conversation
칩은 클릭 가능한 UI 로 보이지만 onRecipientChipClick 본문이 TODO 주석뿐이라 탭해도 아무 일이 없었다. 목적지 라우트는 이미 있었고 배선만 빠져 있었다. 목적지를 등록으로 고른 근거 — 이 칩은 «미완료» 일 때만 눌리고 그 판정이 곧 «등록된 수신자 0명» 이다(홈 요약이 getReceivers() 결과로 정한다). 목록으로 보내면 빈 화면이 나와 사용자가 다시 등록 화면을 찾아야 한다. 기획 확정 전이라 docs/qa/assumptions.md 에 남긴다. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
OnlyReadOneBook
approved these changes
Aug 24, 2026
OnlyReadOneBook
left a comment
Collaborator
There was a problem hiding this comment.
총평
승인합니다. 배선 한 줄이 빠져 있던 자리를 정확히 채웠고, 목적지 선택 근거도 코드로 좁혀 놨습니다.
검증한 것:
SettingRoute.RecipientRegisterRoute는SettingNavGraph.kt:124에 등록돼 있고,settingNavGraph가 최상위NavHost에 붙어 있어 홈 탭에서 직접navigate가 성립합니다 (AppNavigation.kt:123).- 같은 파일
AppNavigationActions.kt:269에 이미 동일한 호출 선례가 있어 관행과도 맞습니다. - 등록 성공 시
onRegisterSuccess = actions::onRecipientRegisterBack→popBackStack()이라 홈으로 되돌아옵니다. 바텀바는bottomBarRoutes기준이라 등록 화면에서 감춰집니다 — 막다른 길이 없습니다.
지적
- [normal] 주석이 존재하지 않는 근거를 가리킨다 →
app/src/main/java/com/afternote/afternote_fe/navigation/AppNavigationActions.kt:347인라인 코멘트.
검증
- 시안 대조: 해당 없음. 렌더 변경이 없는 내비게이션 배선입니다.
- 실기동 QA: 저자 시연으로 갈음. 본문의 «수신자 0명 → 칩 탭 → 등록 화면» 시연이 위 라우트 등록 상태와 일치합니다. 별도 재현은 하지 않았습니다.
- CI: 전 체크 green.
| // 0명» 이라(홈 요약이 getReceivers() 결과로 정한다) 목록으로 보내면 빈 화면이 | ||
| // 나오고 사용자는 다시 등록 화면을 찾아야 한다. 상태를 해소하는 화면으로 보낸다. | ||
| // | ||
| // 목적지가 등록인지 목록인지는 기획 확정 전이다 (#506) — docs/qa/assumptions.md 참고. |
Collaborator
There was a problem hiding this comment.
[normal] 이 주석이 가리키는 docs/qa/assumptions.md 에 #506 항목이 없습니다.
$ grep -n -E "506|수신인 지정|RecipientRegister" docs/qa/assumptions.md
(0건)
PR 본문도 «근거는 docs/qa/assumptions.md 에 남긴다» 라고 적었는데 diff 는 이 파일 하나뿐입니다. 지금 상태로 머지되면 나중에 이 판단을 되짚는 사람이 문서를 열었다가 아무것도 못 찾습니다.
문서에 항목을 추가하거나, 추가하지 않을 거라면 주석에서 그 참조를 빼고 여기서 근거를 끝내 주세요.
This was referenced Aug 24, 2026
Contributor
This was referenced Aug 24, 2026
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 #506
무엇이 문제였나
onRecipientChipClick본문이// TODO: 수신인 지정 화면 Route 추가 후 연결주석뿐이었다. 칩은 탭 가능한 UI 로 보이는데 눌러도 아무 일이 없다. 목적지 라우트(SettingRoute.RecipientRegisterRoute)와 그리로 가는 액션은 이미 있었고 배선만 빠져 있었다.목적지를 등록으로 고른 근거
이슈 Note 가 «등록인지 목록인지 기획 확정 전» 이라고 적어 둔 지점이다. 코드가 답을 좁혀 준다.
Completed는onClick = null)userRepository.getReceivers()결과로 정한다즉 목록으로 보내면 빈 화면이 나오고 사용자는 다시 등록 화면을 찾아야 한다. 상태를 해소하는 화면으로 보내는 쪽만 막다른 길이 아니다. 기획이 «목록» 으로 확정되면 한 줄만 바꾸면 되고, 근거는
docs/qa/assumptions.md에 남긴다.실기기 시연 (에뮬레이터, 실서버)
수신자를 지워 「미완료」 상태를 만든 뒤 칩을 눌렀다.
고치기 전은 이 diff 가 그대로 보여 준다 — 본문이 주석 한 줄이라 탭이 아무 데도 가지 않았다.
검증
내비게이션 배선이라 단위 테스트로 고정할 자리가 마땅치 않다(이 레포에
AppNavigationActions테스트 선례가 없고,NavController를 세우는 것은 androidTest 범위다). 대신 위 실기 시연으로 확인했다.🤖 Generated with Claude Code