Skip to content

[FEAT] 데모데이용 기능 제한#265

Merged
dodaaaaam merged 1 commit intodevelopfrom
feat/photo-manage-demover(#263)
Feb 20, 2026
Merged

[FEAT] 데모데이용 기능 제한#265
dodaaaaam merged 1 commit intodevelopfrom
feat/photo-manage-demover(#263)

Conversation

@dodaaaaam
Copy link
Contributor

@dodaaaaam dodaaaaam commented Feb 20, 2026

🔀 Pull Request Title

데모데이용 기능 제한

📌 PR 설명

이번 PR에서 어떤 작업을 했는지 요약해주세요.

  • 인화 안 함 확정 & 수령 확정 후 라우팅 제거

@dodaaaaam dodaaaaam linked an issue Feb 20, 2026 that may be closed by this pull request
@vercel
Copy link

vercel bot commented Feb 20, 2026

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

Project Deployment Actions Updated (UTC)
finders Ready Ready Preview, Comment Feb 20, 2026 2:12am

@dodaaaaam dodaaaaam requested a review from MlNTYS February 20, 2026 02:12
@gemini-code-assist
Copy link
Contributor

Summary of Changes

Hello @dodaaaaam, 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은 데모데이 시연을 위해 특정 기능을 일시적으로 제한합니다. '인화 안 함' 및 '수령 확정'과 관련된 기능을 비활성화하여 데모 시나리오에 불필요하거나 방해가 될 수 있는 사용자 흐름을 제거하는 데 중점을 둡니다. 이는 데모 환경에서 핵심 기능에 집중하고 특정 상호작용을 단순화하기 위한 것입니다.

Highlights

  • 데모데이 기능 제한: '인화 안 함' 및 '수령 확정'과 관련된 기능이 데모데이 시연을 위해 일시적으로 비활성화되었습니다.
  • 훅 사용 비활성화: usePrintSkipuseConfirmReceipt 훅의 import와 해당 뮤테이션 호출이 주석 처리되었습니다.
  • 수령 확정 액션 제거: onConfirmReceived 콜백 함수가 빈 함수로 대체되어 수령 확정 기능이 비활성화되었습니다.

🧠 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/pages/photoManage/PhotoManageMainPage.tsx
    • usePrintSkipuseConfirmReceipt 훅의 import 문을 주석 처리했습니다.
    • usePrintSkipuseConfirmReceipt 뮤테이션 호출을 주석 처리하여 기능을 비활성화했습니다.
    • onConfirmReceived 콜백 함수를 빈 함수로 변경하여 수령 확정 기능을 제거했습니다.
    • 다이얼로그 내에서 printSkip 뮤테이션을 호출하는 로직을 주석 처리했습니다.
Activity
  • 이 PR에 대한 활동은 제공되지 않았습니다.
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.

@dodaaaaam dodaaaaam requested a review from jeonbinggu February 20, 2026 02:12
Copy link
Contributor

@MlNTYS MlNTYS left a comment

Choose a reason for hiding this comment

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

버튼 기능 빠지는거 확인 했습니다! 어푸 드려요!

@dodaaaaam dodaaaaam merged commit ac29742 into develop Feb 20, 2026
3 checks passed
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

데모데이를 위한 기능 제한을 위해 코드를 주석 처리하셨으나, 이는 유지보수성을 저하시키고 UI상에서 동작하지 않는 버튼이 노출되는 등 UX 문제를 야기할 수 있습니다. 주석 대신 기능 플래그를 사용하거나 불필요한 코드를 삭제하고 UI 레벨에서 조건부 렌더링을 적용하는 것을 권장합니다.

import { getBannerContent } from "@/lib/getBannerContent";
import { usePrintOrderStore } from "@/store/usePrintOrder.store";
import { usePrintSkip, useConfirmReceipt } from "@/hooks/photoManage";
// import { usePrintSkip, useConfirmReceipt } from "@/hooks/photoManage";
Copy link
Contributor

Choose a reason for hiding this comment

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

medium

주석 처리된 import 문은 코드 베이스를 복잡하게 만듭니다. 사용하지 않는 코드는 삭제하고 필요할 때 Git 히스토리를 통해 확인하는 것이 좋습니다.

Comment on lines +53 to +57
// 인화 안 함 확정 - 데모데이용에서는 제거
// const { mutate: printSkip } = usePrintSkip();

// 수령 확정
const { mutate: confirmReceiptMutate } = useConfirmReceipt();
// 수령 확정 - 데모데이용에서는 제거
// const { mutate: confirmReceiptMutate } = useConfirmReceipt();
Copy link
Contributor

Choose a reason for hiding this comment

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

medium

기능 비활성화를 위해 로직을 주석 처리하는 것보다, 환경 변수나 상수를 이용한 기능 플래그(Feature Flag)를 도입하여 제어하는 것이 향후 코드 관리 측면에서 더 효율적입니다.

onGoTrackDelivery: () => {},
onConfirmReceived: () =>
confirmReceiptMutate(workData.developmentOrderId),
onConfirmReceived: () => {},
Copy link
Contributor

Choose a reason for hiding this comment

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

medium

onConfirmReceived를 빈 함수로 두면 UI에서 버튼은 노출되지만 작동하지 않아 사용자에게 혼란을 줄 수 있습니다. 데모 모드일 경우 버튼이 렌더링되지 않도록 처리하는 것이 좋습니다.

else {
setIsDialogOpen(false);
printSkip(workData.developmentOrderId);
//printSkip(workData.developmentOrderId);
Copy link
Contributor

Choose a reason for hiding this comment

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

medium

주석 처리된 코드는 삭제하여 코드의 청결함을 유지해 주세요.

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.

[FEAT] 데모데이용 기능 제한

3 participants