Repository navigation
[SCRUM-211] 로그인 직후 신규 가입자 약관 동의 단계 - #119
Merged
Merged
Conversation
- 카카오 로그인 디자인 가이드(#FEE500, 말풍선 심볼, 12px)와 Google 브랜딩 가이드(Light, 공식 G 로고)에 맞춘 SocialLoginButton - 구글은 가이드가 허용하는 직사각형으로 두어 카카오와 모양을 맞추기 (모서리 12px) - 레이블을 "카카오 계정으로 로그인" / "Google 계정으로 로그인"으로 통일 - 로그인 본문을 LoginPanel 로 분리해 /login 화면과 하단 로그인 창이 함께 쓰기 - 로그인 필요 안내 창과 헤더·홈·계정·상권 요약의 로그인 버튼이 하단 로그인 창을 열기 - 하단 창의 아래 여백을 안전 영역과 기본 여백 중 큰 값으로 두기 - 앱 로그인 성공 뒤 기억한 화면(takeLoginReturn)으로 돌아가기 - 네이버지도 로고가 덮개 위로 올라오지 않게 지도 쌓임 맥락 분리 Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
- Sheet 에 side="adaptive" 추가: 휴대폰 폭(앱·모바일 웹)은 하단 팝업, 640px 이상은 가운데 모달 - 로그인 창에 적용 Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
- 로그인 후 A28 terms_agreed 가 false 면 닫을 수 없는 하단 동의 창(ConsentGate)을 띄우고 모두 동의 지원 - 동의하면 A34, 거부하면 확인 뒤 A30 으로 계정 삭제 후 로그인 화면으로 이동 - 동의 전에는 보호 화면을 그리지 않고, 403 terms_not_agreed 응답이 오면 동의 창을 다시 띄우기 - 로그인 창의 로그인 전 동의 체크와 A26 terms_version 전달 제거 - A28·A34 예시 응답: 처음 로그인은 신규 가입, 동의 뒤 다시 로그인하면 기존 가입자로 흉내 - A34·terms_agreed 는 Notion API 명세서 기준이며 openapi.yaml 반영(SCRUM-209) 전 Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
yeonhwa55
approved these changes
Nov 30, 2026
added 3 commits
November 30, 2026 11:38
…l-login-buttons # Conflicts: # frontend/src/components/screens/app-screens.tsx
…11-terms-consent # Conflicts: # frontend/src/lib/mock/users.ts
agotoa-ship-it
marked this pull request as ready for review
November 30, 2026 02:44
…consent # Conflicts: # frontend/src/components/auth/login-panel.tsx # frontend/src/components/ui/sheet.tsx
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.
티켓
변경 요약
terms_agreed가 false면(신규 가입, 약관 버전 변경) 동의 창(ConsentGate)을 띄웁니다.terms_not_agreed를 주면 API 클라이언트가 알려서 동의 창을 다시 띄웁니다.terms_version전달을 없앴습니다. 브라우저에 남기던 동의 기억도 없앴습니다.Sheet에 닫기 버튼을 숨기는hideClose옵션을 추가했습니다.확인 방법
/login으로 이동합니다.tests/unit/consent.test.ts,tests/unit/auth.test.ts(A26에terms_version없음)terms_not_agreed응답이 아직 없습니다(로그인 필수 의존성 작업 SCRUM-183 예정). 화면은 응답이 생기면 바로 동의 창을 다시 띄웁니다.체크리스트
pnpm check통과🤖 Generated with Claude Code