feat: ProfilePage 로그인 이력·보안·알림 설정 실데이터 연동 - #341
Open
BcKmini wants to merge 1 commit into
Open
Conversation
ProfilePage에 남아있던 나머지 하드코딩(fowoco/server PR #171에서 새로 추가된 로그인 이력·계정 상태·비밀번호 변경일·알림 수신 설정 API)을 화면에 실제로 연결한다. - 마지막 로그인 시각/기기, 계정 보호 상태, 비밀번호 변경일을 GET /auth/me/profile의 실제 값으로 표시. - "업무 Context와 권한"에서 서버에 대응 개념이 없던 담당 업무 영역·문서 열람 범위 항목은 제거하고, role 기반으로 실제로 검증되는 승인/자료 등록 권한만 표시. - 개인 알림 설정을 GET/PATCH /notifications/preferences에 연결 — 토글하면 실제로 저장되고 새로고침해도 유지된다. 라벨/설명 문구는 서버에 없는 UI 전용 카피라 profileData.ts에 유지. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
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.
요약
ProfilePage에 남아있던 하드코딩(마지막 로그인, 계정 상태, 비밀번호 변경일, 업무 권한 세부값, 알림 수신 설정)을 fowoco/server#174의 새 API에 연결한다.
GET/PATCH /notifications/preferences에 연결 — 토글하면 실제로 저장되고 새로고침해도 유지됨.테스트
Depends on fowoco/server#174.
Closes #340