Skip to content

Add restocking workflow: Restocking tab and create-order API#190

Open
ashlesh0001 wants to merge 2 commits into
beck-source:mainfrom
ashlesh0001:new_features
Open

Add restocking workflow: Restocking tab and create-order API#190
ashlesh0001 wants to merge 2 commits into
beck-source:mainfrom
ashlesh0001:new_features

Conversation

@ashlesh0001

Copy link
Copy Markdown

Summary

Adds a Restocking workflow to the inventory app: warehouse staff assemble a restock and submit it as a new order.

  • Frontend: new Restocking.vue view + nav tab and router entry; Orders.vue updated to surface submitted restock orders; en/ja locale strings added.
  • Backend: new POST /api/orders endpoint — stamps the order Submitted, applies a fixed 14-day lead time, and computes the total server-side (so client-side unit price / line totals can't desync). In-memory only; resets on server restart.
  • Docs: adds docs/architecture.html.

Testing

  • Both dev servers run (Vite :3000, FastAPI :8001).
  • Drove the app with Playwright: all 7 nav tabs load and render real data, including the new Restocking tab. No JS console errors.

🤖 Generated with Claude Code

Ashlesh Patel and others added 2 commits July 16, 2026 07:18
Adds a Restocking view where warehouse staff assemble a restock and submit
it as a new order. Backend gains POST /api/orders, which stamps the order
"Submitted" with a fixed 14-day lead time and computes the total server-side.
Orders view surfaces submitted restock orders; en/ja locales and nav/router
are wired up for the new tab.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Adds two Claude Code definitions for the inventory-management app:

- debugger agent: runtime-error investigator for the Vue/FastAPI stack.
  Reproduces failures, localizes root cause, proposes a fix; read-only
  by design (hands .vue fixes to vue-expert).
- vue-component-analysis skill: prioritized performance and code-reuse
  report for client/src components. Analysis only; no .vue edits.

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