Repository navigation
feat: AtchaV2 설정 화면 + 계정 API 연동 (로그아웃 알람 정리·주소 변경·버전 체크·FCM 배선) - #362
Merged
Merged
Conversation
- AlarmSessionTeardown 포트 + LogoutUseCase가 세션 종료 전 서버 알람 취소 선행 - UpdateHomeAddressUseCase: 서비스 지역 확인 통과 후에만 PATCH (outOfServiceRegion) - CheckAppUpdateUseCase: 점 구분 숫자 비교, 권장 업데이트만 판정 - SyncPushTokenUseCase: 프로세스 내 중복 전송 방지 + 로그아웃 시 reset Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
- GET /locations/is-service-region (PlaceEndpoint.serviceRegion → Bool) - GET /app/version (X-Platform: iOS, 레거시는 버전 문자열 result) Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
- 설정: 우리집 주소(GET /members/me)·약관·피드백·버전(업데이트 여부)·로그아웃·계정 탈퇴 - 계정 탈퇴: 레거시 사유 7종(기타 자유입력, 공백 금지)·확인 팝업·실패 시 재시도 - 우리집 설정: 키워드 검색 + 현재 위치 역지오코딩, 지역 밖 레거시 토스트 - Home은 SettingsFeatureInterface만 의존, DSIcon.settings24 추가 - Swift Testing 12건 + Example 앱(스텁 UseCase) Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
- 로그아웃·탈퇴·강제 만료 공통 합류점(handleSessionExpiry)에서 AlarmKit·LA·스냅샷·동기화 상태 정리 (레거시의 로그아웃 후 알람 방치 버그 미이식) - 스플래시와 병렬 버전 체크: 1.5초 예산·실패 시 통과, /app/version public path - FCM 토큰 갱신·로그인 직후 동기화 배선 — 서버 API 미확정이라 no-op 저장소 주입 - CLAUDE.md·로드맵 서버 질문(#10~13) 갱신 Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
3 tasks
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.
요약
계정 API(유저 정보·홈주소·탈퇴·로그아웃)는 UseCase까지만 있고 쓰는 화면이 없었습니다. 이 PR은 설정 화면(SettingsFeature) 을 새로 만들어 이 API들을 연결하고, 레거시에서 넘어온 로그아웃 후 알람 방치 버그를 고칩니다. 함께 서비스 지역 확인, 앱 버전 체크, FCM 토큰 갱신 전달 배선을 추가합니다.
변경 사항
1. 세션 종료 시 알람 정리 (버그 수정)
AppCoordinator.handleSessionExpiry로 모입니다. 여기서AlarmSessionTeardown이 로컬 상태를 비웁니다(멱등).2. SettingsFeature 신설 (홈 상단 톱니바퀴로 진입)
GET /members/me주소 표시), 개인정보 처리방침, 피드백(레거시 링크), 현재 버전(업데이트 여부 표시), 로그아웃, 계정 탈퇴GET /locations/is-service-region을 통과해야PATCH /members/me/home-address를 보냅니다.SettingsFeatureInterface만 의존하고,AtchaData는 import하지 않습니다.3. 앱 버전 체크
GET /app/version을 호출합니다.X-Platform: iOS, 토큰 없이 호출합니다(public path).4. FCM 토큰 갱신 전달 (배선만)
SyncPushTokenUseCase를 호출합니다. 중복 전송을 막고, 로그아웃 시 reset합니다.UnconfirmedPushTokenRepository(no-op + 로그)를 주입했습니다. 경로가 확정되면 저장소 구현만 교체하면 됩니다.설계 판단 (mobile-app-architecture 기준)
AppVersionRepository·PushTokenRepository만)테스트
서버 확인 필요 (로드맵 질문 #2, #10~13)
/app/version응답 형식: 최소 지원 버전 필드를 줄 수 있는지is-service-region이 enveloperesult: Bool인지🤖 Generated with Claude Code