Skip to content

Add Restocking recommendation engine with budget optimization#95

Open
adriengrimal-hue wants to merge 1 commit into
beck-source:mainfrom
adriengrimal-hue:new_features
Open

Add Restocking recommendation engine with budget optimization#95
adriengrimal-hue wants to merge 1 commit into
beck-source:mainfrom
adriengrimal-hue:new_features

Conversation

@adriengrimal-hue
Copy link
Copy Markdown

Summary

  • Introduce new Restocking feature with AI-driven recommendations based on demand forecasts and available budget
  • Smart budget optimization algorithm (greedy selection sorted by trend priority: increasing → stable → decreasing)
  • New API endpoints for restocking recommendations, order submission, and retrieval
  • Display submitted restocking orders in Orders page with expandable item details
  • Full internationalization support (EN/JA) for new feature

Test plan

  • Navigate to /restocking tab and verify page loads
  • Test budget slider from $0 to $65,000 and verify recommendations update in real-time
  • Submit a restocking order and confirm success message appears
  • Verify submitted orders appear in Orders page "Submitted Orders" section
  • Check expandable item details show correct quantity and unit costs
  • Test language switching (EN/JA)

🤖 Generated with Claude Code

- New Restocking view with budget slider and demand-based recommendations
- Greedy budget optimization sorted by trend (increasing → stable → decreasing)
- Three new API endpoints: recommendations, order submission, order retrieval
- Submitted restocking orders displayed in Orders page with expandable details
- Full i18n support for EN and JA locales

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