R1: Reports module remediation#16
Draft
pygna84 wants to merge 1 commit into
Draft
Conversation
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>
8 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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.