Skip to content

Add Restocking Planner feature#1

Open
sum4every1 wants to merge 1 commit into
mainfrom
new_features
Open

Add Restocking Planner feature#1
sum4every1 wants to merge 1 commit into
mainfrom
new_features

Conversation

@sum4every1

Copy link
Copy Markdown
Owner

Summary

  • New Restocking view recommends items to reorder based on demand forecasts and current stock, with a budget cap and order submission flow
  • Submitted restocking orders surface in the Orders view in a dedicated section alongside customer orders
  • Backend gains GET/POST /api/restocking-orders endpoints (in-memory store, cleared on server restart)
  • Adds en/ja i18n strings for the new view, architecture documentation, and per-page screenshots

Test plan

  • npm run dev in client/ and uv run python main.py in server/
  • Visit /restocking — recommendations render, budget gauge updates as items are selected
  • Submit a restocking order — success message shows order number and expected delivery
  • Visit /orders — submitted restocking orders appear in the "Submitted Restocking Orders" section
  • Switch language to Japanese — all new strings localize correctly
  • Restart server — restocking orders list resets (expected, in-memory)

\U0001F916 Generated with Claude Code

Introduces a new Restocking view that recommends items to reorder based
on demand forecasts and current stock levels, with a budget cap and
order submission. Submitted restocking orders surface in the Orders
view alongside customer orders. Adds en/ja translations, architecture
docs, and screenshots for each feature page.

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