Feat(client, extension): firebase message & service worker 설정#103
Merged
Feat(client, extension): firebase message & service worker 설정#103
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
WalkthroughFCM용 서비스 워커 스크립트가 추가되고(on push 처리 포함), 온보딩 MainCard에서 서비스 워커 등록 호출이 통합되었습니다. 온보딩 단계가 0–5로 확장되었고, 회원가입 POST 호출이 payload + options 형태로 변경되었습니다. Changes
Sequence Diagram(s)sequenceDiagram
actor User as 사용자
participant MC as MainCard (온보딩)
participant Reg as registerServiceWorker()
participant SW as 브라우저 Service Worker
participant BE as API (회원가입)
User->>MC: 온보딩 진행
MC->>MC: 알림 권한 요청 / FCM 토큰 요청
MC->>Reg: registerServiceWorker()
Reg->>SW: firebase-messaging-sw.js 등록
SW-->>Reg: 등록 결과
Note over MC,SW: 온보딩 단계 확장 (0–5), 최종 처리 5단계로 이동
MC->>BE: step==5 시 회원가입 POST(payload, options)
BE-->>MC: onSuccess
MC->>User: "/"로 리다이렉트
sequenceDiagram
participant Push as Push Service
participant SW as firebase-messaging-sw.js
participant UI as 브라우저 UI
Push-->>SW: push 이벤트 (JSON payload)
SW->>SW: payload 파싱(title, body)
SW->>UI: showNotification(title, body)
UI-->>SW: 표시 완료
Estimated code review effort🎯 3 (Moderate) | ⏱️ ~25 minutes Possibly related PRs
Suggested labels
Suggested reviewers
Poem
Pre-merge checks and finishing touches❌ Failed checks (1 warning, 1 inconclusive)
✅ Passed checks (3 passed)
✨ Finishing touches
🧪 Generate unit tests
📜 Recent review detailsConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Pro 📒 Files selected for processing (3)
🚧 Files skipped from review as they are similar to previous changes (3)
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. Comment |
7e0075c to
32b25c5
Compare
|
✅ Storybook chromatic 배포 확인: |
This was referenced Sep 29, 2025
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.
📌 Related Issues
📄 Tasks
⭐ PR Point (To Reviewer)
📷 Screenshot
Summary by CodeRabbit