Skip to content

Conversation

@dasosann
Copy link
Contributor

요약

QA 반영

구현 사항

  • 앨범 날짜 당일까지 선택 가능하도록 수정
  • 날짜 피커 여백 수정
  • 앨범 상세 페이지 삭제 버튼 추가 및 하단 버튼 순서 변경

📸 스크린샷

Need Review

  • ~ 부분 이렇게 구현했어요, 피드백 부탁해요!

Reference

📜 리뷰 규칙

Reviewer는 아래 P5 Rule을 참고하여 리뷰를 진행합니다.
P5 Rule을 통해 Reviewer는 Reviewee에게 리뷰의 의도를 보다 정확히 전달할 수 있습니다.

  • P1: 꼭 반영해주세요 (Comment)
  • P2: 적극적으로 고려해주세요 (Comment)
  • P3: 웬만하면 반영해 주세요 (Comment)
  • P4: 반영해도 좋고 넘어가도 좋습니다 (Approve)
  • P5: 그냥 사소한 의견입니다 (Approve)

@vercel
Copy link

vercel bot commented Jan 21, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Review Updated (UTC)
fe Ready Ready Preview, Comment Jan 21, 2026 6:22am

@gemini-code-assist
Copy link
Contributor

Summary of Changes

Hello @dasosann, I'm Gemini Code Assist1! I'm currently reviewing this pull request and will post my feedback shortly. In the meantime, here's a summary to help you and other reviewers quickly get up to speed!

이 PR은 QA 피드백을 반영하여 사용자 경험을 개선하고 기능을 추가합니다. 앨범 생성 시 날짜 선택 범위를 확장하여 당일 날짜도 선택할 수 있게 하고, 사진 상세 페이지에서 직접 사진을 삭제할 수 있는 기능을 도입합니다. 또한, 날짜 피커의 시각적 요소를 개선하고, 사진 정보 표시 로직을 리팩토링하여 컴포넌트의 역할을 명확히 분리했습니다.

Highlights

  • 앨범 날짜 선택 범위 확장: 앨범 생성 시 날짜 선택을 당일까지 가능하도록 수정했습니다.
  • 사진 상세 페이지 삭제 기능 추가: 앨범 사진 상세 페이지에 사진 삭제 버튼과 확인 모달을 추가했습니다.
  • 날짜 피커 UI 개선: 날짜 피커의 선택 표시기 여백을 조정하여 시각적 일관성을 높였습니다.
  • 사진 정보 섹션 리팩토링: SectionPhotoData 컴포넌트가 더 이상 삭제 로직을 직접 처리하지 않고, 필요한 정보를 props로 받아 표시하도록 역할을 분리했습니다.

🧠 New Feature in Public Preview: You can now enable Memory to help Gemini Code Assist learn from your team's feedback. This makes future code reviews more consistent and personalized to your project's style. Click here to enable Memory in your admin console.

Using Gemini Code Assist

The full guide for Gemini Code Assist can be found on our documentation page, here are some quick tips.

Invoking Gemini

You can request assistance from Gemini at any point by creating a comment using either /gemini <command> or @gemini-code-assist <command>. Below is a summary of the supported commands on the current page.

Feature Command Description
Code Review /gemini review Performs a code review for the current pull request in its current state.
Pull Request Summary /gemini summary Provides a summary of the current pull request in its current state.
Comment @gemini-code-assist Responds in comments when explicitly tagged, both in pull request comments and review comments.
Help /gemini help Displays a list of available commands.

Customization

To customize Gemini Code Assist for GitHub experience, repository maintainers can create a configuration file and/or provide a custom code review style guide (such as PEP-8 for Python) by creating and adding files to a .gemini/ folder in the base of the repository. Detailed instructions can be found here.

Limitations & Feedback

Gemini Code Assist may make mistakes. Please leave feedback on any instances where its feedback is incorrect or counter productive. You can react with 👍 and 👎 on @gemini-code-assist comments. If you're interested in giving your feedback about your experience with Gemini Code Assist for Github and other Google products, sign up here.

You can also get AI-powered code generation, chat, as well as code reviews directly in the IDE at no cost with the Gemini Code Assist IDE Extension.

Footnotes

  1. Review the Privacy Notices, Generative AI Prohibited Use Policy, Terms of Service, and learn how to configure Gemini Code Assist in GitHub here. Gemini can make mistakes, so double check it and use code with caution.

@dasosann dasosann merged commit 700cdf0 into main Jan 21, 2026
4 checks passed
@dasosann dasosann deleted the fix/betaQA branch January 21, 2026 06:23
Copy link
Contributor

@gemini-code-assist gemini-code-assist bot left a comment

Choose a reason for hiding this comment

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

Code Review

QA에서 발견된 이슈들을 수정하는 PR로 보입니다. 앨범 생성 시 날짜를 오늘까지 선택할 수 있도록 수정하고, 사진 상세 페이지에 삭제 기능을 추가하며 UI를 개선하는 변경사항들이 포함되어 있습니다. 전반적으로 좋은 리팩토링이 이루어졌지만, 몇 가지 개선점을 제안합니다. 디버깅용 console.log를 제거하고, 사진 삭제 후 사용자 경험을 개선하기 위한 후속 처리가 필요해 보입니다. 또한, date-fns를 활용하여 코드 중복을 줄이고 일관성을 높일 수 있는 부분이 있습니다.

Comment on lines +79 to +83
const todayDate = new Date();
const yyyy = todayDate.getFullYear();
const mm = String(todayDate.getMonth() + 1).padStart(2, '0'); // 0-11이므로 +1
const dd = String(todayDate.getDate()).padStart(2, '0');
const today = `${yyyy}-${mm}-${dd}`;
Copy link
Contributor

Choose a reason for hiding this comment

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

medium

date-fns 라이브러리가 프로젝트에 이미 사용되고 있으니, 날짜 형식을 직접 만드는 대신 format 함수를 사용하면 코드를 더 간결하고 일관성 있게 유지할 수 있습니다. DateXInput 컴포넌트에서도 date-fns를 사용하고 있습니다.

제안된 코드를 적용하려면 파일 상단에 import { format } from 'date-fns';를 추가해야 합니다.

Suggested change
const todayDate = new Date();
const yyyy = todayDate.getFullYear();
const mm = String(todayDate.getMonth() + 1).padStart(2, '0'); // 0-11이므로 +1
const dd = String(todayDate.getDate()).padStart(2, '0');
const today = `${yyyy}-${mm}-${dd}`;
const today = format(new Date(), 'yyyy-MM-dd');

Copy link
Contributor Author

Choose a reason for hiding this comment

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

반영

Comment on lines +47 to +52
console.log(
'🗑️ FooterPhotoDetail - canDelete:',
photoDetail?.canDelete,
'photoId:',
photoId,
);
Copy link
Contributor

Choose a reason for hiding this comment

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

medium

디버깅을 위해 추가된 console.log 구문이 남아있습니다. 프로덕션 코드에 포함되지 않도록 삭제하는 것이 좋습니다.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

반영

try {
await mutateAsyncDelete({ albumId, photoId });
queryClient.invalidateQueries({ queryKey: [EP.album.photos(albumId)] });
setIsPhotoInfoOpen(false);
Copy link
Contributor

Choose a reason for hiding this comment

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

medium

handleDelete 함수 내의 setIsPhotoInfoOpen(false) 호출은 리팩토링 과정에서 남은 코드로 보입니다. 현재 삭제 버튼은 사진 정보 모달(BottomSheetModal) 외부에서 트리거되므로, 이 코드는 더 이상 필요하지 않습니다. 코드의 명확성을 위해 삭제하는 것이 좋겠습니다.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

반영

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.

2 participants