-
Notifications
You must be signed in to change notification settings - Fork 0
[Fix] 어르신이 고정되어 상세화면에서 어르신이 변경되지 않는 문제 #185 #186
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
11 commits
Select commit
Hold shift + click to select a range
a75e4e1
Fix: #185 object->class로 elderId 파라미터 전달
librawish808 3931241
Refactor: #185 HomeDetailNavGraph
librawish808 13367aa
Fix: #185 HomeNavigation
librawish808 a848f54
Fix: #185 MainNavigator
librawish808 42ff990
Fix: #185 NavGraph
librawish808 28e4fae
Fix: #185 Home → 상세 화면 이동 시 elderId 전달 누락 문제 해결
librawish808 d5163f6
Fix: #185 상세 화면의 어르신 변경 미반영 문제 전체 수정
librawish808 9465d80
Fix: #185 혈당 상세 화면의 어르신 변경 미반영 문제 수정
librawish808 c34c2c9
Fix: #185 혈당 상세 화면의 어르신 변경 미반영 문제 수정
librawish808 d45b107
Fix: #185 혈당 상세 화면의 어르신 변경 미반영 문제 수정
librawish808 6ec9d76
Chore: #185 린트 검사
librawish808 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
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
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
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
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
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
Oops, something went wrong.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🧩 Analysis chain
selectedElderId가 null일 때 동작 확인 필요
selectedElderId?.let(...)패턴을 사용해 elderId가 null이면 네비게이션이 조용히 실패합니다. 사용자가 컨테이너를 클릭했는데 아무 반응이 없으면 혼란스러울 수 있습니다.다음을 확인해주세요:
확인을 위해 다음 스크립트를 실행해보세요:
🏁 Script executed:
Length of output: 26
🏁 Script executed:
Length of output: 33097
🏁 Script executed:
Length of output: 168
🏁 Script executed:
Length of output: 6472
🏁 Script executed:
Length of output: 0
🏁 Script executed:
Length of output: 566
선택된 어르신이 없는 상태에서 컨테이너 클릭 시 사용자 피드백 부재
selectedElderId는 앱 시작 시 null로 초기화되며,fetchElderList()비동기 작업 완료 후에 첫 번째 어르신으로 자동 설정됩니다. 이 로딩 구간 동안 사용자가 컨테이너를 클릭하면{ selectedElderId?.let(...) }패턴으로 인해 네비게이션이 조용히 실패합니다. 현재 컨테이너들은selectedElderId상태와 무관하게 항상 활성화되어 있어 사용자에게 피드백이 없습니다.해결 방안:
homeUiState.isLoading == true)일 때 컨테이너를 비활성화하거나🤖 Prompt for AI Agents