Skip to content

hotfix: delete is_confirmed filter from cost report analyze API#5931

Merged
yuda110 merged 2 commits intomasterfrom
hotfix-cost-report-is-confirmed
Jun 5, 2025
Merged

hotfix: delete is_confirmed filter from cost report analyze API#5931
yuda110 merged 2 commits intomasterfrom
hotfix-cost-report-is-confirmed

Conversation

@yuda110
Copy link
Copy Markdown
Member

@yuda110 yuda110 commented Jun 4, 2025

Skip Review (optional)

  • Minor changes that don't affect the functionality (e.g. style, chore, ci, test, docs)
  • Previously reviewed in feature branch, further review is not mandatory
  • Self-merge allowed for solo developers or urgent changes

Description (optional)

Things to Talk About (optional)

yuda110 added 2 commits June 5, 2025 08:50
Signed-off-by: yuda <yuda@megazone.com>
Signed-off-by: yuda <yuda@megazone.com>
@yuda110 yuda110 requested a review from Copilot June 4, 2025 23:52
@vercel
Copy link
Copy Markdown

vercel bot commented Jun 4, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
cost-report ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jun 4, 2025 11:55pm
2 Skipped Deployments
Name Status Preview Comments Updated (UTC)
console ⬜️ Ignored (Inspect) Visit Preview Jun 4, 2025 11:55pm
web-storybook ⬜️ Ignored (Inspect) Visit Preview Jun 4, 2025 11:55pm

@github-actions
Copy link
Copy Markdown
Contributor

github-actions bot commented Jun 4, 2025

✅ There are no commits in this PR that require review.

@github-actions
Copy link
Copy Markdown
Contributor

github-actions bot commented Jun 4, 2025

🎉 @seungyeoneeee has been randomly selected as the reviewer! Please review. 🙏

@github-actions github-actions bot requested a review from seungyeoneeee June 4, 2025 23:52
@yuda110 yuda110 removed the request for review from seungyeoneeee June 4, 2025 23:52
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

Hotfix for cost report confirmation with minor changes to improve workspace data handling and report filtering.

  • Updated workspace column logic to conditionally render the workspace field for admin users.
  • Modified the value handler for the workspace field to use a reference-based approach.
  • Removed the "is_confirmed: true" filter from the cost report detail page API query.

Reviewed Changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.

File Description
apps/web/src/services/cost-explorer/components/CostReportReportsTab.vue Adjusted workspace column rendering and updated value handling for workspace data.
apps/web/src/common/pages/CostReportDetailPage.vue Removed the "is_confirmed: true" filter from the API query.
Comments suppressed due to low confidence (3)

apps/web/src/services/cost-explorer/components/CostReportReportsTab.vue:72

  • Conditionally displaying the Workspace column for admin users may lead to differences in table structure between user roles; please confirm this behavior aligns with the intended design.
        ...(isAdminMode.value ? [{ label: 'Workspace', name: 'workspace_id' }] : []),

apps/web/src/services/cost-explorer/components/CostReportReportsTab.vue:88

  • Switching from a distinct value handler to a reference value handler for the workspace field should be verified against backend expectations; if additional parameters or handling are required, please update accordingly.
        workspace_id: makeReferenceValueHandler('identity.Workspace'),

apps/web/src/common/pages/CostReportDetailPage.vue:256

  • Removing the 'is_confirmed: true' filter may affect the report data by including unconfirmed entries; please verify that this change reflects the desired functionality for report details.
            is_confirmed: true,

@yuda110 yuda110 changed the title Hotfix cost report is confirmed hotfix: delete is_confirmed filter from cost report analyze API Jun 4, 2025
@yuda110 yuda110 merged commit d5d0fde into master Jun 5, 2025
14 checks passed
@yuda110 yuda110 deleted the hotfix-cost-report-is-confirmed branch June 5, 2025 00:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants