Repository navigation
[fix] #627 홈 TODAY'S QUESTION 답변 CTA 를 작성 화면에 연결한다 - #894
Merged
Merged
Conversation
카드 → `TodayQuestionCard.onAnswerClick` → `HomeTabActions.onAnswerClick` 까지 배선은 이미 있었고, 마지막 구현만 빈 TODO 로 남아 있었다. 그래서 탭해도 화면 전환도 네트워크 호출도 없었다. `MindRecordRoute.DailyQuestionWriteRoute` 로 보낸다 — 기록 탭의 작성 진입 (`MindRecordNavActions.onWriteDailyQuestion`)과 같은 목적지이고, 그래프가 루트 NavHost 에 등록돼 있어 홈에서도 그대로 도달한다. Closes #627 Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
OnlyReadOneBook
approved these changes
Aug 23, 2026
OnlyReadOneBook
left a comment
Collaborator
There was a problem hiding this comment.
승인합니다. 비차단 1건 참고해 주세요.
- [normal] 본문이 말한 assumptions.md 기록은 이 PR이 아니라 #897에 있습니다.
검증:
- CI 전 체크 green (1-hunk 변경, 컴파일 입증)
- 홈 CTA → 이 액션의 호출 경로 전수 추적:
AppNavigation.kt:97composable(Home) →rememberHomeTabActions→HomeTabScreen:253onAnswerClick = actions::onAnswerClick→HomeTabMindRecordLazyItems.kt:48-52→TodayQuestionCard.kt:144onClick — 실제 결선 확인, 다른 구현은 프리뷰 Noop뿐 - 목적지 도달성:
DailyQuestionWriteRoute가 같은 루트 NavHost의mindRecordNavGraph에 등록, 기록 탭 진입과 동일 패턴 - 질문 id·날짜 전달 불요 확인 — 목적지 VM이
getToday()자체 조회, 홈 요약과 동일 소스 - 이미 답변한 경우: draft만 프리필(
draftOnly=true)이라 확정 답변은 빈 에디터로 열리고 저장 시 서버 upsert로 갱신 — 기록 탭 기존 진입점과 완전히 동일한 동작이므로 이 PR의 결함 아님. 목적지 선택은 이슈·#897 기록대로 FE 재량 범위로 판단
This was referenced Aug 23, 2026
Merged
Contributor
This was referenced Aug 24, 2026
Merged
Merged
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 #627
📎𝘞𝘰𝘳𝘬 𝘋𝘦𝘴𝘤𝘳𝘪𝘱𝘵𝘪𝘰𝘯
배선은 카드부터 끝까지 이미 있었고, 마지막 구현만 빈 TODO 였습니다.
이슈가 적은 "카드 데이터는 정상인데 CTA 만 죽어 있다" 와 정확히 일치합니다.
MindRecordRoute.DailyQuestionWriteRoute는 이미 존재하고 루트 NavHost 에 등록돼 있어(AppNavigation.kt:129) 홈에서도 그대로 도달합니다.📷𝘚𝘤𝘳𝘦𝘦𝘯𝘴𝘩𝘰𝘵 · 실측
에뮬레이터(Medium_Phone / API 36) debug 빌드, 실계정 로그인 상태에서 확인했습니다.
수정 전 — "데일리질문 답변하기" 탭 후 화면 텍스트가 그대로입니다.
logcat OkHttp 호출 0건 — 이슈 본문의 실측과 같습니다.
수정 후 — 같은 질문의 답변 작성 화면으로 이동합니다.
카드에 떠 있던 질문과 작성 화면의 질문이 같은 것도 확인했습니다.
💬𝘛𝘰 𝘙𝘦𝘷𝘪𝘦𝘸𝘦𝘳𝘴
:app:assembleDebug+:app:ktlintCheckBUILD SUCCESSFUL, 위 에뮬 실측.docs/qa/assumptions.md에도 함께 기록합니다.