Skip to content

좋아요, 리뷰하면 캐시 초기화 추가#85

Merged
skybluesharkk merged 1 commit intokakao-tech-campus-3rd-step3:developfrom
dib3474:fix/cache-aipick
Nov 6, 2025
Merged

좋아요, 리뷰하면 캐시 초기화 추가#85
skybluesharkk merged 1 commit intokakao-tech-campus-3rd-step3:developfrom
dib3474:fix/cache-aipick

Conversation

@dib3474
Copy link
Copy Markdown
Contributor

@dib3474 dib3474 commented Nov 6, 2025

축제 목록 페이지

  • 좋아요 정보 갱신하면 축제 목록 페이지의 캐시도 초기화하여 새로운 정보를 바로 받아볼 수 있습니다.
  • 리뷰 수정, 삭제, 등록하면 축제 목록 페이지 캐시를 삭제합니다

축제 AI pick페이지

  • 추천 내역 옆 숫자 디자인을 변경했습니다

@dib3474 dib3474 requested a review from Copilot November 6, 2025 11:15
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This PR ensures consistent cache invalidation for the festivals query across multiple mutation operations. When reviews are created, updated, deleted, or when wishes are added/removed, the festivals list query is now invalidated to reflect updated data like review counts and wish counts.

  • Added ['festivals'] query invalidation to review and wish mutation operations
  • Minor styling adjustment to badge padding for visual consistency

Reviewed Changes

Copilot reviewed 5 out of 5 changed files in this pull request and generated no comments.

Show a summary per file
File Description
ReviewEditPage.tsx Adds festivals query invalidation when a review is updated
ReviewForm.tsx Adds festivals query invalidation when a new review is created
FestivalWish.tsx Adds festivals query invalidation when wishes are added or removed
FestivalContentReviewSection.tsx Includes festivals in the query keys to invalidate when a review is deleted
AiRecommendationHistoriesContent.tsx Adjusts badge padding from px-2 to px-2.5 for better spacing

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Copy link
Copy Markdown
Collaborator

@skybluesharkk skybluesharkk left a comment

Choose a reason for hiding this comment

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

그래도 마지막에 qa까지 다 점검해본다고 고생많으셨습니다!

@skybluesharkk skybluesharkk merged commit c478287 into kakao-tech-campus-3rd-step3:develop Nov 6, 2025
7 checks passed
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.

3 participants