[lists-2] Points view over time per list #2
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Goal
For each saved army list, show a line chart of the list's total points over time. Each "refresh" recomputes total points against the current MFM prices and stores a snapshot.
Acceptance Criteria
live_data.json.{ listId, ts, totalPts, perUnitPts[] }tolocalStorageunderwh40k-pc:points-history:v1.Test Command
cd /workspace/projects/wh40k-pc/react-app && npm install --silent && npm run buildFile Scope
react-app/src/App.jsxreact-app/src/lib/pointsHistory.js(new — read/append snapshots)react-app/src/lib/mfmLookup.js(new — name -> current pts)react-app/src/components/PointsOverTime.jsx(new — SVG line chart)react-app/src/components/ListDetail.jsx(new — single-list view, refresh button)