598d3925a5
fix: restore default faction + remove dead data-testid attributes
...
- Restore default faction to 'adepta-sororitas' on first load (matches pre-refactor behavior; was a silent behavior change)
- Add regression test asserting default-load shows only Adepta Sororitas units and hides the Faction column
- Remove unused data-testid="app-root" from App.jsx and data-testid="mover-row" from MoversPanel.jsx (no test queried either)
2026-06-23 17:41:06 -04:00
41f43f2ea8
refactor: rewrite App.jsx as orchestrator over new component tree
2026-06-23 17:15:01 -04:00
e2b4a39b51
refactor(app): add data-testid to root Box for tests
2026-06-23 17:03:30 -04:00
2b8713a624
test: add renderWithTheme helper to test setup
2026-06-23 17:00:26 -04:00
613a6dba80
feat(components): extract UnitTable from App
2026-06-23 16:45:57 -04:00
187aa4dfd6
feat(utils): extract buildColumns from App
2026-06-23 16:20:48 -04:00
87f4060487
feat(components): extract FilterBar from App
2026-06-23 16:15:21 -04:00
bd4ca78c1d
feat(components): extract MoversPanel + MoversSection from App
2026-06-23 16:06:57 -04:00
b87f5ea5aa
feat(components): extract GraphModal from App
2026-06-23 16:02:13 -04:00
4727a7454e
feat(components): extract PointsHistoryChart from GraphModal
2026-06-23 15:55:57 -04:00
0e3036e767
feat(components): extract SizeCell from App
2026-06-23 15:52:18 -04:00
812d27a363
chore(vite): enable MUI jsdom test infra (react-transition-group alias, jsx automatic)
2026-06-23 15:50:47 -04:00
ed8e359918
feat(utils): add buildChartGeometry (pure SVG scale math)
2026-06-23 15:41:33 -04:00
b86a95ede1
feat(utils): add computeMovers (top-5 drops + rises)
2026-06-23 15:34:57 -04:00
07c15cd81a
feat(utils): add URL read/write helpers for filter state
2026-06-23 15:32:04 -04:00
fc21c887f2
feat(utils): add format helpers (sizeShort, pctLabel, ptsLabel, changeColor)
2026-06-23 15:27:42 -04:00
ba16b6b717
test: add representative data.json fixture for UI tests
2026-06-23 15:21:59 -04:00
376cd2be36
chore: add vitest + testing-library + test config
2026-06-23 15:17:19 -04:00
root
38bffa491c
Initial commit: WH40K Points Comparator
...
- React + MUI DataGrid app with faction filter, search, change filter
- Biggest movers cards (drops/rises) scoped to current filter view
- Historical points graph modal (5 MFM versions: 1.14 → current)
- URL state sync (faction, dir, q params — shareable URLs)
- Grimdark favicon + OG embed image (Google Imagen)
- Multi-stage Dockerfile (node build → nginx serve)
- docker-compose.yml with Traefik + Cloudflare TLS
- Data pipeline: build_deduped_data.py merges PDF + live scrape
- Ynnari merged into Aeldari (shared codex)
- Mobile responsive: flex columns, no fixed pixel widths
- Color semantics: green=cheaper, red=costlier (consistent everywhere)
- 1,449 units across 31 factions
2026-06-18 02:42:29 +00:00