Skip to content

feat: add production requirements report screens - #169

Merged
malacration merged 1 commit into
mainfrom
feat/necessidade-producao
Oct 26, 2026
Merged

malacration merged 1 commit into
mainfrom
feat/necessidade-producao

Conversation

@malacration

Copy link
Copy Markdown
Owner

Description

Please include a summary of the change and which issue is fixed. Please also include relevant motivation and context. List any dependencies that are required for this change.

Fixes # (issue)

Type of change

Please delete options that are not relevant.

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • This change requires a documentation update

Checklist:

  • I have performed a self-review of my own code
  • I have made corresponding changes to the documentation
  • My changes generate no new warnings
  • I have run tests (npm run test & npm run e2e) that prove my fix is effective or that my feature works

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Oct 22, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-10-22T20:31:59.952913Z 43e0e3c PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 43e0e3c6ad

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment on lines +74 to +76
next: (depositos) => {
this.depositos = depositos ?? [];
this.montarOpcoes();

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

P2 Badge Discard obsolete warehouse responses

When both product-range fields are edited in quick succession, each (change) starts a request and every response is accepted. If the earlier request finishes last, it replaces the warehouse and branch options with data for the old range; if it finishes first, it also clears carregandoDepositos while the newer request remains pending, allowing a report to be generated with stale selections. Cancel the previous request or associate each response with the range/request that initiated it.

Useful? React with 👍 / 👎.

Comment on lines +94 to +97
gerar(): void {
if (!this.faixaValida()) return;
this.carregando = true;
this.erro = null;

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

P2 Badge Clear stale report before regenerating

After a report has been generated, starting another request leaves resultado visible, and the error path also preserves it. If the user changes the range or filters and the new request fails, the page therefore shows the new filter controls and an error alongside the previous report, which can be mistaken for results from the current selection. Clear or explicitly mark the existing result as stale when generation starts or fails.

Useful? React with 👍 / 👎.

@malacration
malacration merged commit ee7d5ac into main Oct 26, 2026
2 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