-
Notifications
You must be signed in to change notification settings - Fork 1
[FE-Feat] 구글 캘린더 연동 #405
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[FE-Feat] 구글 캘린더 연동 #405
Conversation
WalkthroughThis update introduces a new "Linked Calendar" feature in the client app, enabling users to view and add linked Google Calendar accounts. It adds new React components, API hooks, Zod schemas, and styling for the feature. Supporting changes include new icon components, environment variable integration, and minor workflow and dependency adjustments. Changes
Sequence Diagram(s)sequenceDiagram
participant User
participant SideBar
participant LinkedCalendar
participant useCalendarListQuery
participant calendarApi
participant API Server
User->>SideBar: View sidebar
SideBar->>LinkedCalendar: Render component
LinkedCalendar->>useCalendarListQuery: Fetch calendar list
useCalendarListQuery->>calendarApi: getCalendarList()
calendarApi->>API Server: GET /api/v1/calendar/list
API Server-->>calendarApi: Return CalendarListResponse[]
calendarApi-->>useCalendarListQuery: Return data
useCalendarListQuery-->>LinkedCalendar: Provide calendarList, isPending
LinkedCalendar->>User: Display linked calendars or add button
sequenceDiagram
participant User
participant RedirectRoute
participant QueryClient
participant Router
User->>RedirectRoute: Visit /oauth/redirect/calendar/
RedirectRoute->>QueryClient: Invalidate calendarKeys.all queries
QueryClient-->>RedirectRoute: Queries invalidated
RedirectRoute->>Router: Navigate to /my-calendar
Poem
📜 Recent review detailsConfiguration used: CodeRabbit UI 📥 CommitsReviewing files that changed from the base of the PR and between 67bd32815cfa9c597df8cad0cfa2f5d1bccb1af8 and c015961. ⛔ Files ignored due to path filters (2)
📒 Files selected for processing (17)
✅ Files skipped from review due to trivial changes (4)
🚧 Files skipped from review as they are similar to previous changes (11)
Note 🎁 Summarized by CodeRabbit FreeYour organization is on the Free plan. CodeRabbit will generate a high-level summary and a walkthrough for each pull request. For a comprehensive line-by-line review, please upgrade your subscription to CodeRabbit Pro by visiting https://app.coderabbit.ai/login. 🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
SupportNeed help? Join our Discord community for assistance with any issues or questions. Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
CodeRabbit Configuration File (
|
|
잘 작동하네요! 고생하셨습니다~ 다만 현재 캘린더 권한 승인 이후에 바로 my-calendar 페이지로 리다이렉트되면서 GET 해결하려면 백엔드에서 사용자에게 할당된 캘린더 정보가 완전히 업데이트된 이후에 리다이렉트를 수행하도록 해주어야 할 것 같습니다. |
63feeb1 to
67bd328
Compare
67bd328 to
c015961
Compare
c015961 해결했습니다. |
#️⃣ 연관된 이슈>
📝 작업 내용> 이번 PR에서 작업한 내용을 간략히 설명해주세요(이미지 첨부 가능)
UI 작업해두신거에 API 연결, 리다이렉트 로직 추가했습니다.
🙏 여기는 꼭 봐주세요! > 리뷰어가 특별히 봐주었으면 하는 부분이 있다면 작성해주세요
Summary by CodeRabbit
New Features
Improvements
Chores