Skip to content

Add restocking view, reports i18n, and new API endpoints#35

Open
faizu6 wants to merge 1 commit intobeck-source:mainfrom
faizu6:new_features
Open

Add restocking view, reports i18n, and new API endpoints#35
faizu6 wants to merge 1 commit intobeck-source:mainfrom
faizu6:new_features

Conversation

@faizu6
Copy link
Copy Markdown

@faizu6 faizu6 commented Mar 25, 2026

Summary

  • Add new Restocking page with budget-based priority recommendations derived from demand forecasts, including order submission and tracking
  • Refactor Reports view from Options API to Composition API with full i18n (English/Japanese) and filter support
  • Add backend API endpoints for quarterly reports, monthly trends, restocking recommendations, and submitted orders
  • Add submitted restocking orders section to the Orders view
  • Expand inventory data with 8 new items (widgets, bearings, gaskets, motors, filters, valves, sensors, controllers)
  • Add backend test coverage for reports endpoints

Test plan

  • Verify Restocking page loads recommendations and respects budget input
  • Verify restocking order submission creates an order and appears in Orders view
  • Verify Reports page displays quarterly and monthly data with filters applied
  • Verify language switching works for all new restocking and reports translations
  • Run pytest tests/backend/test_reports.py to confirm backend tests pass
  • Verify new inventory items appear on the Inventory page

🤖 Generated with Claude Code

…PI endpoints

- Add Restocking page with budget-based recommendations from demand forecasts
- Refactor Reports view from Options API to Composition API with i18n support
- Add restocking and reports API endpoints (quarterly, monthly trends, recommendations)
- Add submitted restocking orders section to Orders view
- Add new inventory items (widgets, bearings, gaskets, motors, filters, valves, sensors, controllers)
- Add en/ja translations for restocking and reports sections
- Add backend test coverage for reports endpoints
- Add architecture documentation
- Update CLAUDE.md with comment documentation guideline

Co-Authored-By: Claude Opus 4.6 <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