Skip to content

Add Restocking view, SaaS UI redesign, and backend restocking API#75

Open
dhineshr-repo wants to merge 1 commit into
beck-source:mainfrom
dhineshr-repo:feature/restocking-view-and-ui-updates
Open

Add Restocking view, SaaS UI redesign, and backend restocking API#75
dhineshr-repo wants to merge 1 commit into
beck-source:mainfrom
dhineshr-repo:feature/restocking-view-and-ui-updates

Conversation

@dhineshr-repo
Copy link
Copy Markdown

Summary

  • New Restocking view (Restocking.vue): demand-driven workflow that surfaces low-stock SKUs and lets users submit internal restocking orders directly from the UI
  • Backend restocking endpoint (POST /api/restocking-orders): creates restocking orders with a fixed 14-day lead time, appended to the in-memory orders list
  • SaaS UI refresh: updated App.vue and Orders.vue with a cleaner slate/gray design system, improved navigation, and modal patterns
  • API client update (api.js): added createRestockingOrder call
  • CLAUDE.md: expanded with full architecture docs, filter system description, data flow, key files, and test structure
  • Architecture diagram and UI screenshots added to repo

Test plan

  • Start backend (cd server && uv run python main.py) and frontend (cd client && npm run dev)
  • Navigate to the Restocking view and verify low-stock items are displayed
  • Submit a restocking order and confirm it appears in the Orders view with status "Submitted"
  • Verify POST /api/restocking-orders returns the new order with a RST-YYYY-NNNN order number
  • Check that existing Dashboard, Inventory, and Orders views are unaffected
  • Run backend tests: cd tests && uv run pytest backend/ -v

🤖 Generated with Claude Code

- New Restocking.vue: demand-driven restock workflow with order submission
- POST /api/restocking-orders endpoint with 14-day lead time logic
- SaaS-style UI refresh across App.vue and Orders.vue
- Extended api.js with restocking order creation call
- Updated CLAUDE.md with architecture, filter system, and test docs
- Added architecture diagram and UI screenshots

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