Skip to content

Conversation

@caseBread
Copy link
Member

요약

구현 사항

  • [ ]
  • [ ]
  • [ ]
  • [ ]

📸 스크린샷

Need Review

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

Reference

📜 리뷰 규칙

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

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

@caseBread caseBread requested a review from dasosann November 28, 2025 17:17
@caseBread caseBread self-assigned this Nov 28, 2025
@vercel
Copy link

vercel bot commented Nov 28, 2025

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

Project Deployment Preview Comments Updated (UTC)
fe Building Building Preview Comment Nov 28, 2025 5:17pm

@gemini-code-assist
Copy link
Contributor

Summary of Changes

Hello @caseBread, 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은 시연 테스트 중 발견된 문제를 해결하기 위해 앨범 목록 내에서 사진 개수와 좋아요 정보가 표시되는 방식을 개선합니다. 앨범 타입 인식을 도입하여 선택된 앨범 보기에 따라 UI가 콘텐츠를 정확하게 반영하도록 함으로써 데이터 일관성과 사용자 경험을 향상시킵니다.

Highlights

  • 앨범 타입 상태 관리 추가: useAlbumTypeStore를 PhotoList 컴포넌트에 통합하여 앨범 타입(예: 'all', 'deep')에 따라 UI를 동적으로 변경할 수 있도록 했습니다.
  • 사진 개수 표시 로직 수정: 앨범 타입이 'all'일 때는 전체 사진 개수를, 그 외의 경우에는 현재 로드된 사진의 개수를 표시하도록 수정하여 정확한 정보를 제공합니다.
  • 좋아요 정보 표시 조건 확장: PhotoBox 컴포넌트에서 좋아요 개수와 좋아요 여부 표시 조건을 '좋아요순' 정렬 외에 'deep' 앨범 타입일 경우에도 적용되도록 확장했습니다.
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.

@caseBread caseBread merged commit b09c800 into main Nov 28, 2025
3 of 4 checks passed
@caseBread caseBread deleted the fix/last-last-qa branch November 28, 2025 17:18
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

시연 테스트 중 발견된 이슈를 수정하는 PR이네요. albumType 상태를 추가하여 사진 개수 표시와 '좋아요' 정보 표시 로직을 개선한 점이 좋습니다. 전반적으로 올바른 수정으로 보입니다. 다만, 사진 개수를 표시하는 부분에서 사용자 경험을 조금 더 개선할 수 있는 점이 있어 리뷰 코멘트를 남겼습니다. 확인 부탁드립니다.

<div className='mb-3 flex justify-between'>
<span className='typo-body-lg-regular text-text-subtle'>
{totalPhotoCount || 0}
{(albumType === 'all' ? totalPhotoCount : photos.length) || 0}
Copy link
Contributor

Choose a reason for hiding this comment

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

medium

무한 스크롤이 적용된 리스트에서 '총'이라는 단어와 함께 현재 로드된 사진의 개수(photos.length)를 보여주는 것은 사용자에게 혼란을 줄 수 있습니다. 전체 사진 개수가 아닌 로드된 개수임을 명확히 하거나, '총'이라는 단어를 제거하는 것을 고려해보는 것이 좋겠습니다. 예를 들어, 'all' 타입일 때만 '총'을 붙여주고, 다른 경우에는 사진 개수만 표시할 수 있습니다.

Suggested change
{(albumType === 'all' ? totalPhotoCount : photos.length) || 0}
{albumType === 'all' ? `총 ${totalPhotoCount || 0}장` : `${photos.length || 0}`}

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