캘린더 및 개인일정 추가, 상세보기 모달 UI과 관련 api, 기능 구현#1602
Merged
Conversation
added 14 commits
February 3, 2025 18:45
Closed
3 tasks
added 11 commits
February 24, 2025 16:21
JeongRon
approved these changes
Mar 13, 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.
📌 개요
react-big-calendar 라이브러리 설치
캘린더 메인 UI
개인일정 추가/수정 모달 UI
일정 상세보기 모달 UI
💻 작업사항
UI
type CalendarModalType = | 'detail' | 'AddSelect' | 'PrivateUpsert' | 'PublicUpsert';_talkv_wxcJnWbYxx_9YreHc3fthGdKYw5jwYkvK_talkv_high.mp4
_talkv_wxcABN5Aj2_1BxLAgUXlE2WkHXLLUJgJ1_talkv_high.mp4
API
전체일정, 개인일정 모두 공통된 훅으로 관리
1. useScheduleGet
스케줄 하나를 가져오는 api
2. useScheduleRequest
스케줄 추가, 수정, 삭제 요청 api
3. useMonthScheduleGet
한 달 단위로 달의 전체 스케줄을 get 해오는 api
유저가 보고 있는 달이 달라질때마다 currentDate를 수정하고, currentDate가 바뀔 때마다 api 새로 요청
4. useScheduleGroupGet
커스텀 그룹(개인일정)을 가져오는 api
5. useScheduleGroupRequest
커스텀 그룹 추가, 수정, 삭제 요청 api
6. useGroupFilterStorage
캘린더에서 필터링 한 일정을 localStorage에 저장하고 불러오는 api
Context API
GroupContext
커스텀 그룹 전체 목록 저장
userContext
유저 intraId 저장, 추후 프로필 이미지까지 구현 필요
💡관련 Issue
close #1599