Skip to content

R1: Reports module remediation#16

Draft
pygna84 wants to merge 1 commit into
lindsey-anthropic:mainfrom
pygna84:r1-reports-cleanup
Draft

R1: Reports module remediation#16
pygna84 wants to merge 1 commit into
lindsey-anthropic:mainfrom
pygna84:r1-reports-cleanup

Conversation

@pygna84

@pygna84 pygna84 commented Apr 27, 2026

Copy link
Copy Markdown

Wires the Reports page through the global filter system and closes the defects flagged in the previous-vendor handoff. Both backend report endpoints now accept warehouse / category / status / month query params via a shared filter helper; quarter mapping is derived from the date instead of hardcoded to 2025.

Frontend rewritten on the Composition API to match the rest of the codebase. Reports now consumes the useFilters composable and reloads on any filter change, talks to the backend through the centralized api.js client, and runs all visible strings through useI18n. Currency follows the active locale (USD/JPY) with locale-correct number formatting. Bar chart picks up aria attributes and a memoized max-revenue computed.

Locales: added the missing months.may long-form key, a full reports.* namespace, plus reports.notAvailable and reports.chartBarLabel for the remaining holdouts. formatMonth now validates input and orders Japanese dates as YYYY年Month.

Closes the eight defects logged against the Reports module.

Wires the Reports page through the global filter system and closes the
defects flagged in the previous-vendor handoff. Both backend report
endpoints now accept warehouse / category / status / month query params
via a shared filter helper; quarter mapping is derived from the date
instead of hardcoded to 2025.

Frontend rewritten on the Composition API to match the rest of the
codebase. Reports now consumes the useFilters composable and reloads on
any filter change, talks to the backend through the centralized api.js
client, and runs all visible strings through useI18n. Currency follows
the active locale (USD/JPY) with locale-correct number formatting.
Bar chart picks up aria attributes and a memoized max-revenue computed.

Locales: added the missing months.may long-form key, a full reports.*
namespace, plus reports.notAvailable and reports.chartBarLabel for the
remaining holdouts. formatMonth now validates input and orders Japanese
dates as YYYY年Month.

Closes the eight defects logged against the Reports module.

Co-Authored-By: Claude Sonnet 4.6 (1M context) <noreply@anthropic.com>
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