Skip to content

LC-2847 USER 가이드북 환불 환불 플로우 UI 및 API 연동#2177

Merged
yeji424 merged 4 commits intoLC-2838-Sprint-17from
LC-2847-USER-가이드북-환불-환불-플로우-UI-및-API-연동
Mar 12, 2026

Hidden character warning

The head ref may contain hidden characters: "LC-2847-USER-\uac00\uc774\ub4dc\ubd81-\ud658\ubd88-\ud658\ubd88-\ud50c\ub85c\uc6b0-UI-\ubc0f-API-\uc5f0\ub3d9"
Merged

LC-2847 USER 가이드북 환불 환불 플로우 UI 및 API 연동#2177
yeji424 merged 4 commits intoLC-2838-Sprint-17from
LC-2847-USER-가이드북-환불-환불-플로우-UI-및-API-연동

Conversation

@yeji424
Copy link
Copy Markdown
Collaborator

@yeji424 yeji424 commented Mar 10, 2026

  • 프로그램 정보 카드에서 진행 일정 대신 열람 방식 노출
  • 쿠폰 할인 금액 비노출

연관 작업

- 프로그램 정보 카드에서 진행 일정 대신 열람 방식 노출
- 쿠폰 할인 금액 비노출
@yeji424 yeji424 self-assigned this Mar 10, 2026
@github-actions github-actions Bot changed the title style: 가이드북 결제 상세 UI 구현 LC-2847 USER 가이드북 환불 환불 플로우 UI 및 API 연동 Mar 10, 2026
@gemini-code-assist
Copy link
Copy Markdown
Contributor

Summary of Changes

Hello, 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 및 API 연동을 구현합니다. 주요 변경 사항으로는 가이드북 프로그램 유형에 대한 결제 상세 페이지에서 쿠폰 할인 금액을 숨기고, 프로그램 정보 카드에서 진행 일정 대신 열람 방식을 표시하도록 조정하여 가이드북 구매 및 환불에 대한 사용자 경험을 개선하는 것을 목표로 합니다.

Highlights

  • 쿠폰 할인 금액 비노출: 가이드북 프로그램 유형에 대해 결제 상세 페이지에서 쿠폰 할인 금액이 표시되지 않도록 변경되었습니다.
  • 프로그램 정보 카드 UI 개선: 프로그램 정보 카드에서 진행 일정 대신 열람 방식이 노출되도록 변경되었습니다. (이 변경은 PR 설명에 명시되어 있으나, 제공된 코드 변경점에서는 isGuidebook 로직 개선만 확인됩니다.)
  • 가이드북 유형 확인 로직 개선: isGuidebook 확인 로직이 programType을 문자열로 변환하고 소문자로 비교하여 더 견고하게 개선되었습니다.

🧠 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.

Changelog
  • src/app/(user)/mypage/credit/[paymentId]/page.tsx
    • 프로그램 유형이 'GUIDEBOOK'인지 확인하고 그에 따라 쿠폰 할인을 숨기는 로직을 추가했습니다.
    • 쿠폰 할인 금액 표시 조건을 수정했습니다.
  • src/domain/program/OrderProgramInfo.tsx
    • programType을 문자열로 변환하고 소문자로 만들어 isGuidebook 확인 로직을 더 견고하게 업데이트했습니다.
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.

Copy link
Copy Markdown
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은 programType에 따라 쿠폰 할인 금액 표시와 프로그램 정보 표시를 처리하는 변경 사항을 도입합니다. 특히, 'GUIDEBOOK' 유형 프로그램의 쿠폰 할인 금액을 숨기고, 'GUIDEBOOK' 프로그램 정보가 표시되는 방식을 조정합니다. 요청된 로직을 올바르게 구현했습니다.

Comment thread src/app/(user)/mypage/credit/[paymentId]/page.tsx
Comment thread src/domain/program/OrderProgramInfo.tsx
yeji424 added 3 commits March 12, 2026 00:18
- 다운로드 여부 조회 API 연동
- 가이드북에 한 해 다운로드 여부 조회
- 가이드북 결제 취소 페이지에서 쿠폰할인 섹션 비노출
- React Query 캐시 무효화 미반영되어 결제 취소 시에도 결제 상세가 새로고침 되지 않은 상태로 나타남
- 결제 목록 쿼리와 결제 상세 쿼리 쿼리키 분리, 각각 invalidate하도록 수정
@yeji424 yeji424 merged commit 828a3f0 into LC-2838-Sprint-17 Mar 12, 2026
3 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.

1 participant