Skip to content

feat: add Google login UI and ProfileCard component#12

Merged
FluxloopAdmin merged 3 commits into
mainfrom
tendtoyj/plu-194-google-login-setting-ui
Feb 3, 2026
Merged

feat: add Google login UI and ProfileCard component#12
FluxloopAdmin merged 3 commits into
mainfrom
tendtoyj/plu-194-google-login-setting-ui

Conversation

@tendtoyj
Copy link
Copy Markdown
Collaborator

@tendtoyj tendtoyj commented Feb 3, 2026

Summary

  • Add ProfileCard component to sidebar replacing Settings button
  • Add Google login UI mockup in profile settings section
  • Update avatar initials logic to support two-letter format
  • Add test/temp directories to gitignore

Test plan

  • Verify ProfileCard displays correctly in sidebar
  • Click ProfileCard opens Settings modal with profile tab
  • Test Google login button shows loading state and connected state
  • Verify avatar initials display correctly (single name → 2 chars, full name → first letters)

🤖 Generated with Claude Code

tendtoyj and others added 3 commits February 3, 2026 12:39
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
- Create ProfileCard component for sidebar user profile display
- Replace Settings button with ProfileCard in sidebar
- Add initialMenu and onProfileSaved props to SettingsModal
- Improve avatar initials logic to support two-letter format

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
- Add Google account connection button with loading state
- Display user name and email fields when connected
- Move success message to footer left side
- Add cleanup for Google connect timer on unmount

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Copy link
Copy Markdown
Contributor

@FluxloopAdmin FluxloopAdmin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

✅ LGTM - Approved

Google 로그인 UI와 ProfileCard 컴포넌트가 잘 구현되었습니다!

👍 Highlights

  • ProfileCard 컴포넌트: Avatar + Display Name + Subtitle 깔끔한 구조
  • getInitials 함수: 2글자 이니셜 추출 잘 처리
  • Google 로그인 UI: 공식 로고 + 상태별 UI (idle/loading/connected)
  • 상태 동기화: onProfileSaved 콜백으로 page.tsx ↔ SettingsModal 연동
  • 접근성: aria-label 포함

📝 Note

  • Google 로그인은 현재 mockup 상태 (실제 OAuth 미연동)
  • 실제 연동은 별도 PR에서 진행 예상

깔끔한 UI 구현입니다! 🚀

@FluxloopAdmin FluxloopAdmin merged commit 56b40bb into main Feb 3, 2026
1 check passed
@tendtoyj tendtoyj deleted the tendtoyj/plu-194-google-login-setting-ui branch February 3, 2026 05:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants