Repository navigation
Conversation
기록에 서버 사용자 ID를 소유 계정으로 남기고, 다른 계정이 가져오면 지우는 claimPendingLikes와 로그아웃·탈퇴용 clearPendingLikes를 추가한다. 소유 계정이 없는 이전 형식의 기록은 어느 계정 것인지 알 수 없어 가져올 때 지운다. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01LadGaN6dV9EWkt5FMCWD6C
좋아요 대기 기록을 서버에서 받은 사용자 ID로 확인한 계정에 묶는다. - 계정 확인 전에는 저장·전송을 보류하고, 이전 계정의 기록은 목록에 적용하지 않는다. - 다른 계정이 확인되면 메모리 기록을 버리고 저장소에서도 이전 계정 기록을 지운다. - 로그아웃·탈퇴용 discardPendingLikes를 추가한다. - 세션 번호로 실행을 기다리던 저장·동기화 작업이 다른 계정에 닿지 않게 한다. 결함 기록 테스트 5개를 계정 간 혼입이 없다는 단언으로 바꾸고, 로그인 만료·재실행 뒤 같은 계정 유지와 이전 형식 기록 미전송 테스트를 추가한다. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01LadGaN6dV9EWkt5FMCWD6C
- 로그아웃은 서버 응답 성공·실패와 관계없이 보내지 못한 좋아요 기록을 버린다. - 탈퇴 성공 시에도 같은 규칙으로 기록을 버린다. - 메인 진입 시 계정 확인을 시작하고, 사용자 정보를 받은 뒤 사용자 ID로 계정을 확인한다. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01LadGaN6dV9EWkt5FMCWD6C
|
Warning Review limit reachedYou've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository. Next included review available in 58 minutes. View limit details
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. |
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.
📌𝘐𝘴𝘴𝘶𝘦𝘴
📎𝘞𝘰𝘳𝘬 𝘋𝘦𝘴𝘤𝘳𝘪𝘱𝘵𝘪𝘰𝘯
UpdatedFeedRepository가 계정이 확인된 기록만 화면에 적용하고 전송합니다.updateUserInfo()성공 시 사용자 ID로 계정을 확인합니다.AccountRepository.userId를 쓰지 않습니다. 토큰은 갱신만으로 바뀌고,userId는 로그아웃해도 초기화되지 않기 때문입니다.📷𝘚𝘤𝘳𝘦𝘦𝘯𝘴𝘩𝘰𝘵
없음 (화면 변경 없음)
💬𝘛𝘰 𝘙𝘦𝘷𝘪𝘦𝘸𝘦𝘳𝘴
./gradlew :data:feed:testDebugUnitTest./gradlew :core:datastore:testDebugUnitTest./gradlew testDebugUnitTest./gradlew :app:assembleDebug./gradlew ktlintCheckGenerated by Claude Code