Skip to content

Deliver Meridian engagement: R1-R4 remediation + Restocking feature#20

Open
mostrogian85 wants to merge 2 commits into
lindsey-anthropic:mainfrom
mostrogian85:delivery/meridian-r1-r4
Open

Deliver Meridian engagement: R1-R4 remediation + Restocking feature#20
mostrogian85 wants to merge 2 commits into
lindsey-anthropic:mainfrom
mostrogian85:delivery/meridian-r1-r4

Conversation

@mostrogian85

Copy link
Copy Markdown

Summary

  • R1 - Reports remediation: Rewrote Reports.vue (Options API to Composition API), wired warehouse/category filters to API calls, added missing i18n keys, fixed console noise from unresolved component reference
  • R2 - Restocking view: New RestockingView.vue with budget input, greedy allocation algorithm, urgency badges, and budget-status indicators; backed by new /api/restocking endpoint with full filter + budget support
  • R3 - Playwright browser tests: 21 tests across 5 critical flows (inventory, filter state consistency, reports, restocking, cross-module navigation); all passing
  • R4 - Vite alias + tasks API: Added missing @ path alias to vite.config.js; added /api/tasks CRUD endpoints to resolve frontend 404s; removed phantom PurchaseOrderModal component reference from Dashboard

Test plan

  • All 21 Playwright e2e tests pass (tests/e2e/critical-flows.spec.js)
  • Reports page: quarterly table, monthly chart, YTD stats, warehouse/category filters all working
  • Restocking page: budget input triggers recommendations, urgency + coverage badges render correctly
  • No Vue console warnings or 404 errors on any page
  • Navigation persists filter state across views

Generated with Claude Code (https://claude.com/claude-code)

mostrogian85 and others added 2 commits April 27, 2026 12:09
R1 — Reports module remediation:
- Migrate Reports.vue from Options API to Composition API
- Replace direct axios calls with api.js wrapper
- Wire all 4 filters (warehouse, category, time period, status) via useFilters
- Add filter params to /api/reports/quarterly and /api/reports/monthly-trends
- Add full i18n coverage (en + ja) for Reports view
- Remove console.log noise; replace var loops with modern JS

R2 — Restocking recommendations:
- New /api/restocking endpoint with greedy budget allocation by urgency
- New RestockingView.vue: budget input, recommendation table, summary cards
- Wired to warehouse/category filters; real-time recalculation on change
- i18n keys added (en + ja); nav link added

R3 — Automated browser tests:
- Playwright e2e suite in tests/e2e/ covering 5 critical flows
- 21 tests, all passing: inventory, filters, reports, restocking, navigation

R4 — Fix Vite @ alias missing from vite.config.js (prerequisite for all views)

Proposal package in proposal/ (executive summary, technical approach, timeline,
pricing, capabilities deck)

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
- Remove <PurchaseOrderModal> from Dashboard.vue — component was
  referenced in the template but never built by the previous vendor,
  causing a Vue warn on every page load
- Add Task model and in-memory CRUD endpoints (GET/POST/DELETE/PATCH
  /api/tasks) to server/main.py — frontend was calling this endpoint
  and receiving 404s on every dashboard mount

All 21 Playwright tests pass after these fixes.

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