Skip to content

[DEV] 데모 리포트 페이지에서 생성 상태 조회하는 오류 해결#275

Merged
gomx3 merged 1 commit intodevelopfrom
feat/progress-bar
Mar 11, 2026
Merged

[DEV] 데모 리포트 페이지에서 생성 상태 조회하는 오류 해결#275
gomx3 merged 1 commit intodevelopfrom
feat/progress-bar

Conversation

@gomx3
Copy link
Contributor

@gomx3 gomx3 commented Mar 11, 2026

✅ Summary

데모 리포트 페이지에서 생성 상태 조회하는 오류를 해결했습니다.

📝 Description

  • 리포트 Tab 컴포넌트의 상태 조회 훅의 누락되었던 isDummy 전달을 추가

@gomx3 gomx3 self-assigned this Mar 11, 2026
@gomx3 gomx3 added the 🐛Bug Something isn't working label Mar 11, 2026
@gomx3 gomx3 merged commit 282e09b into develop Mar 11, 2026
2 checks passed
@gemini-code-assist
Copy link
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은 데모 리포트 페이지에서 리포트 생성 상태를 조회할 때 발생하던 오류를 해결합니다. isDummy 플래그를 도입하여 더미 리포트의 경우 API 호출을 최적화하고, 상태를 정확하게 반영함으로써 사용자 경험을 개선하고 불필요한 네트워크 요청을 줄입니다.

Highlights

  • useReportStatus 훅 개선: 리포트 상태를 조회하는 useReportStatus 훅에 isDummy 파라미터를 추가하여, 더미 리포트의 경우 불필요한 API 호출을 방지하고 상태를 즉시 'COMPLETED'로 설정하도록 로직을 수정했습니다.
  • 리포트 탭 컴포넌트 업데이트: TabAnalysis 및 TabOverview 컴포넌트에서 useReportStatus 훅을 호출할 때 isDummy 파라미터를 전달하도록 업데이트하여, 데모 리포트 페이지에서 올바른 상태 조회가 가능하도록 했습니다.

🧠 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
  • frontend/src/hooks/report/useReportStatus.ts
    • useReportStatus 훅에 isDummy: boolean = false 파라미터가 추가되었습니다.
    • enabled 옵션에 !isDummy 조건이 추가되어 더미 리포트일 경우 쿼리가 비활성화됩니다.
    • refetchInterval 로직에 isDummy 조건이 추가되어 더미 리포트일 경우 재요청이 발생하지 않습니다.
    • serverStatus 계산 시 isDummy가 true일 경우 즉시 'COMPLETED'를 반환하도록 로직이 추가되었습니다.
    • useMemo 의존성 배열에 isDummy가 추가되었습니다.
  • frontend/src/pages/report/_components/analysis/TabAnalysis.tsx
    • useReportStatus 훅 호출 시 isDummy 파라미터가 전달되도록 수정되었습니다.
  • frontend/src/pages/report/_components/overview/TabOverview.tsx
    • useReportStatus 훅 호출 시 isDummy 파라미터가 전달되도록 수정되었습니다.
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.

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은 데모 리포트 페이지에서 생성 상태 조회 시 발생하던 오류를 수정합니다. useReportStatus 훅에 isDummy 플래그를 추가하여, 더미 데이터일 경우 API 요청을 보내지 않고 상태를 'COMPLETED'로 설정하도록 변경되었습니다. 이 변경은 TabAnalysisTabOverview 컴포넌트에 반영되었습니다.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

🐛Bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant