Skip to content

Refactor/#1200/querykey options factory#1210

Open
ff1451 wants to merge 4 commits intodevelopfrom
refactor/#1200/querykey-options-factory
Open

Refactor/#1200/querykey options factory#1210
ff1451 wants to merge 4 commits intodevelopfrom
refactor/#1200/querykey-options-factory

Conversation

@ff1451
Copy link
Contributor

@ff1451 ff1451 commented Mar 16, 2026

What is this PR? 🔍

✔️ Please check if the PR fulfills these requirements

  • It's submitted to the correct branch, not the develop branch unconditionally?
  • If on a hotfix branch, ensure it targets main?
  • There are no warning message when you run yarn lint

@ff1451 ff1451 self-assigned this Mar 16, 2026
@ff1451 ff1451 added the 🔨 Refactor 코드 리팩토링 label Mar 16, 2026
@coderabbitai
Copy link

coderabbitai bot commented Mar 16, 2026

Important

Review skipped

Too many files!

This PR contains 199 files, which is 49 over the limit of 150.

⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro

Run ID: d76eb39b-5f59-4538-8072-e86936ea5b23

📥 Commits

Reviewing files that changed from the base of the PR and between e882a1f and 688d0c4.

⛔ Files ignored due to path filters (6)
  • .pnp.cjs is excluded by !.pnp.cjs and included by **
  • .yarn/cache/@tanstack-query-core-npm-5.28.6-6bd1f84a2d-e9ae8d80a8.zip is excluded by !**/.yarn/**, !**/*.zip, !.yarn/** and included by **
  • .yarn/cache/@tanstack-query-core-npm-5.90.20-fe193b58bc-25e38f4382.zip is excluded by !**/.yarn/**, !**/*.zip, !.yarn/** and included by **
  • .yarn/cache/@tanstack-react-query-npm-5.28.6-ea0a1ece1c-f7706485f3.zip is excluded by !**/.yarn/**, !**/*.zip, !.yarn/** and included by **
  • .yarn/cache/@tanstack-react-query-npm-5.90.21-4400cf02c2-5bb4b6be7a.zip is excluded by !**/.yarn/**, !**/*.zip, !.yarn/** and included by **
  • yarn.lock is excluded by !**/yarn.lock, !**/*.lock, !yarn.lock and included by **
📒 Files selected for processing (199)
  • package.json
  • src/api/abTest/queries.ts
  • src/api/articles/mutations.ts
  • src/api/articles/queries.ts
  • src/api/auth/queries.ts
  • src/api/banner/queries.ts
  • src/api/bus/queries.ts
  • src/api/cafeteria/mutations.ts
  • src/api/cafeteria/queries.ts
  • src/api/callvan/mutations.ts
  • src/api/callvan/queries.ts
  • src/api/club/mutations.ts
  • src/api/club/queries.ts
  • src/api/coopshop/queries.ts
  • src/api/course/queries.ts
  • src/api/dept/queries.ts
  • src/api/graduationCalculator/queries.ts
  • src/api/review/mutations.ts
  • src/api/review/queries.ts
  • src/api/room/queries.ts
  • src/api/store/mutations.ts
  • src/api/store/queries.ts
  • src/api/timetable/mutations.ts
  • src/api/timetable/queries.ts
  • src/components/Articles/LostItemChatPage/components/DeleteModal/hooks/useBlockLostItemChatroom.ts
  • src/components/Articles/LostItemChatPage/hooks/useChatPolling.ts
  • src/components/Articles/LostItemDetailPage/components/LatestLostItemList/index.tsx
  • src/components/Articles/LostItemDetailPage/hooks/usePostFoundLostItem.ts
  • src/components/Articles/LostItemDetailPage/hooks/usePostLostItemChatroom.ts
  • src/components/Articles/LostItemDetailPage/hooks/useSingleLostItemArticle.ts
  • src/components/Articles/LostItemEditPage/hooks/usePutLostItemArticle.ts
  • src/components/Articles/LostItemEditPage/index.tsx
  • src/components/Articles/components/HotArticle/index.tsx
  • src/components/Articles/hooks/useArticle.ts
  • src/components/Articles/hooks/useArticles.ts
  • src/components/Articles/hooks/useDeleteLostItemArticles.ts
  • src/components/Articles/hooks/useLostItemArticles.ts
  • src/components/Articles/hooks/useLostItemPagination.ts
  • src/components/Articles/hooks/useLostItemSearch.ts
  • src/components/Articles/hooks/usePageParams.ts
  • src/components/Articles/hooks/usePostLostItemArticles.ts
  • src/components/Articles/hooks/useReportLostItemArticle.ts
  • src/components/Articles/utils/selectArticlesData.ts
  • src/components/Auth/SignupPage/Steps/MobileStudentDetailStep/index.tsx
  • src/components/Auth/SignupPage/Steps/StudentDetailStep/index.tsx
  • src/components/Auth/SignupPage/hooks/useDeptList.ts
  • src/components/Bus/BusCoursePage/hooks/useBusPrefetch.ts
  • src/components/Bus/BusCoursePage/hooks/useBusTimetable.ts
  • src/components/Bus/BusCoursePage/hooks/useShuttleCourse.ts
  • src/components/Bus/BusCoursePage/hooks/useShuttleTimetableDetail.ts
  • src/components/Bus/BusNotice/index.tsx
  • src/components/Bus/BusRoutePage/components/RouteList/index.tsx
  • src/components/Bus/BusRoutePage/components/TimeDetail/TimeDetailMobile/index.tsx
  • src/components/Bus/BusRoutePage/components/TimeDetail/TimeDetailPC/index.tsx
  • src/components/Bus/BusRoutePage/hooks/useBusRoute.ts
  • src/components/Bus/BusRoutePage/hooks/useCoopSemester.ts
  • src/components/Bus/hooks/useBusNotice.ts
  • src/components/Callvan/components/CallvanChatRoom/index.tsx
  • src/components/Callvan/components/CallvanPageLayout/index.tsx
  • src/components/Callvan/components/ParticipantsList/index.tsx
  • src/components/Callvan/hooks/useCallvanChat.ts
  • src/components/Callvan/hooks/useCallvanInfiniteList.ts
  • src/components/Callvan/hooks/useCallvanList.ts
  • src/components/Callvan/hooks/useCallvanNotifications.ts
  • src/components/Callvan/hooks/useCallvanPostDetail.ts
  • src/components/Callvan/hooks/useCancelCallvan.ts
  • src/components/Callvan/hooks/useCloseCallvan.ts
  • src/components/Callvan/hooks/useCompleteCallvan.ts
  • src/components/Callvan/hooks/useCreateCallvan.ts
  • src/components/Callvan/hooks/useDeleteAllNotifications.ts
  • src/components/Callvan/hooks/useJoinCallvan.ts
  • src/components/Callvan/hooks/useMarkAllNotificationsRead.ts
  • src/components/Callvan/hooks/useMarkNotificationRead.ts
  • src/components/Callvan/hooks/useReopenCallvan.ts
  • src/components/Callvan/hooks/useReportCallvan.ts
  • src/components/Callvan/hooks/useSendCallvanChat.ts
  • src/components/CampusInfo/hooks/useCampusInfo.ts
  • src/components/CampusInfo/index.tsx
  • src/components/Club/ClubDetailPage/components/ClubNotificationModal/index.tsx
  • src/components/Club/ClubDetailPage/hooks/useClubEvent.ts
  • src/components/Club/ClubDetailPage/hooks/useClubLike.ts
  • src/components/Club/ClubDetailPage/hooks/useClubManager.ts
  • src/components/Club/ClubDetailPage/hooks/useClubNotification.ts
  • src/components/Club/ClubDetailPage/hooks/useClubQnA.ts
  • src/components/Club/ClubDetailPage/hooks/useClubRecruitment.ts
  • src/components/Club/ClubDetailPage/hooks/useClubdetail.ts
  • src/components/Club/ClubDetailPage/hooks/useDeleteEvent.ts
  • src/components/Club/ClubDetailPage/hooks/useDeleteRecruitment.ts
  • src/components/Club/ClubEditPage/hooks/usePutClub.ts
  • src/components/Club/ClubEventEditPage/hooks/usePutClubEvent.ts
  • src/components/Club/ClubRecruitmentEditPage/hooks/usePutClubRecruitment.ts
  • src/components/Club/NewClubEvent/hooks/usePostNewEvent.ts
  • src/components/Club/NewClubPage/hooks/usePostNewClub.ts
  • src/components/Club/NewClubRecruitment/hooks/usePostNewRecruitment.ts
  • src/components/Club/hooks/useClubCategories.ts
  • src/components/Club/hooks/useClubLike.ts
  • src/components/Club/hooks/useClubList.ts
  • src/components/Club/hooks/useHotClub.ts
  • src/components/Course/hooks/useCourseQuery.ts
  • src/components/GraduationCalculatorPage/components/CourseTable/CourseTypeList/index.tsx
  • src/components/GraduationCalculatorPage/components/CreditChart/SemesterLectureListModal/index.tsx
  • src/components/GraduationCalculatorPage/components/CreditChart/index.tsx
  • src/components/GraduationCalculatorPage/components/GeneralCourse/GeneralCourseListModal/index.tsx
  • src/components/GraduationCalculatorPage/components/GeneralCourse/index.tsx
  • src/components/GraduationCalculatorPage/components/StudentForm/index.tsx
  • src/components/GraduationCalculatorPage/hooks/useAgreeGraduationCreidts.ts
  • src/components/GraduationCalculatorPage/hooks/useCalculateCredits.ts
  • src/components/GraduationCalculatorPage/hooks/useCourseType.ts
  • src/components/GraduationCalculatorPage/hooks/useDepartmentMajorList.ts
  • src/components/GraduationCalculatorPage/hooks/useExcelUpload.ts
  • src/components/GraduationCalculatorPage/hooks/useGeneralEducation.ts
  • src/components/GraduationCalculatorPage/hooks/usePostGraduationExcel.ts
  • src/components/GraduationCalculatorPage/hooks/useUpdateAcademicInfo.ts
  • src/components/IndexComponents/IndexArticles/index.tsx
  • src/components/IndexComponents/IndexClub/ClubMobileViewB/index.tsx
  • src/components/IndexComponents/IndexLostItem/hooks/useLostItemStat.ts
  • src/components/IndexComponents/IndexLostItem/index.tsx
  • src/components/Room/RoomDetailPage/hooks/useRoomDetail.ts
  • src/components/Room/RoomPage/hooks/useRoomList.ts
  • src/components/Store/StoreBenefitPage/hooks/useBenefitCategory.ts
  • src/components/Store/StoreBenefitPage/hooks/useStoreBenefitList.ts
  • src/components/Store/StoreDetailPage/components/EventTable/hooks/useStoreEventList.ts
  • src/components/Store/StoreDetailPage/components/EventTable/index.tsx
  • src/components/Store/StoreDetailPage/components/Review/components/AverageRating/AverageRating.tsx
  • src/components/Store/StoreDetailPage/components/Review/components/ReviewList/ReviewList.tsx
  • src/components/Store/StoreDetailPage/components/Review/components/ReviewReporting/query/useReviewReport.ts
  • src/components/Store/StoreDetailPage/hooks/useDeleteReview.ts
  • src/components/Store/StoreDetailPage/hooks/useGetMyReview.ts
  • src/components/Store/StoreDetailPage/hooks/useGetReview.ts
  • src/components/Store/StoreDetailPage/hooks/useStoreDetail.ts
  • src/components/Store/StoreDetailPage/hooks/useStoreMenus.ts
  • src/components/Store/StorePage/components/DesktopStoreList/index.tsx
  • src/components/Store/StorePage/components/EventCarousel/index.tsx
  • src/components/Store/StorePage/components/MobileStoreList/index.tsx
  • src/components/Store/StorePage/components/SearchBar/index.tsx
  • src/components/Store/StorePage/components/SearchBarModal/index.tsx
  • src/components/Store/StorePage/components/hooks/useGetAllEvents.ts
  • src/components/Store/StorePage/hooks/useCategoryList.ts
  • src/components/Store/StorePage/hooks/useRelateSearch.ts
  • src/components/Store/StoreReviewPage/hooks/useAddStoreReview.ts
  • src/components/Store/StoreReviewPage/hooks/useEditStoreReview.ts
  • src/components/Store/StoreReviewPage/hooks/useGetStoreReview.ts
  • src/components/TimetablePage/components/MainTimetable/index.tsx
  • src/components/TimetablePage/hooks/useAddSemester.ts
  • src/components/TimetablePage/hooks/useAddTimetableFrame.ts
  • src/components/TimetablePage/hooks/useAddTimetableLectureCustom.ts
  • src/components/TimetablePage/hooks/useAddTimetableLectureRegular.ts
  • src/components/TimetablePage/hooks/useAllMyLectures.ts
  • src/components/TimetablePage/hooks/useDeleteSemester.ts
  • src/components/TimetablePage/hooks/useDeleteTimetableFrame.ts
  • src/components/TimetablePage/hooks/useDeleteTimetableLecture.ts
  • src/components/TimetablePage/hooks/useEditTimetableLectureCustom.ts
  • src/components/TimetablePage/hooks/useEditTimetableLectureRegular.ts
  • src/components/TimetablePage/hooks/useGetMultiMajorLecture.ts
  • src/components/TimetablePage/hooks/useLectureList.ts
  • src/components/TimetablePage/hooks/useMySemester.ts
  • src/components/TimetablePage/hooks/useRollbackLecture.ts
  • src/components/TimetablePage/hooks/useRollbackTimetableFrame.ts
  • src/components/TimetablePage/hooks/useSemesterOptionList.ts
  • src/components/TimetablePage/hooks/useTimetableFrameList.ts
  • src/components/TimetablePage/hooks/useTimetableInfoList.ts
  • src/components/TimetablePage/hooks/useTotalGrades.ts
  • src/components/TimetablePage/hooks/useUpdateTimetableFrame.ts
  • src/components/TimetablePage/hooks/useVersionInfo.ts
  • src/components/cafeteria/MobileCafeteriaPage/index.tsx
  • src/components/cafeteria/PCCafeteriaPage/components/DateNavigator/index.tsx
  • src/components/cafeteria/hooks/useCoopshopCafeteria.ts
  • src/components/cafeteria/hooks/useDinings.ts
  • src/components/ui/Banner/hooks/useBannerCategories.ts
  • src/components/ui/Banner/hooks/useBanners.ts
  • src/pages/articles/index.tsx
  • src/pages/auth/modifyinfo/index.tsx
  • src/pages/benefitstore/index.tsx
  • src/pages/bus/city/index.tsx
  • src/pages/bus/express/index.tsx
  • src/pages/bus/shuttle/[routeId].tsx
  • src/pages/bus/shuttle/index.tsx
  • src/pages/cafeteria/index.tsx
  • src/pages/callvan/[postId]/participants/index.tsx
  • src/pages/callvan/index.tsx
  • src/pages/callvan/notifications/index.tsx
  • src/pages/campusinfo/index.tsx
  • src/pages/clubs/[id]/index.tsx
  • src/pages/clubs/index.tsx
  • src/pages/clubs/recruitment/edit/[id]/index.tsx
  • src/pages/course/index.tsx
  • src/pages/index.tsx
  • src/pages/lost-item/[id]/index.tsx
  • src/pages/lost-item/index.tsx
  • src/pages/room/[id]/index.tsx
  • src/pages/room/index.tsx
  • src/pages/store/[id].tsx
  • src/pages/store/index.tsx
  • src/pages/store/review/edit/[id]/[reviewid]/index.tsx
  • src/pages/timetable/index.tsx
  • src/pages/timetable/modify/index.tsx
  • src/utils/hooks/abTest/useABTestView.ts
  • src/utils/hooks/state/useUser.ts
  • src/utils/hooks/state/useUserAcademicInfo.ts

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment
  • Commit unit tests in branch refactor/#1200/querykey-options-factory
📝 Coding Plan
  • Generate coding plan for human review comments

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.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

Tip

CodeRabbit can approve the review once all CodeRabbit's comments are resolved.

Enable the reviews.request_changes_workflow setting to automatically approve the review once all CodeRabbit's comments are resolved.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

🔨 Refactor 코드 리팩토링

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[공통] queryKey factory, queryOptions factory 적용

1 participant