Scrum4Me/stores
Madhura68 9c769523cf feat(PBI-74): race-safe loaders + restore-hints + URL-prioriteit (Story 4)
- T-856: activeRequestId-guard zat al in store.ts uit Story 1; bevestigd door
  de race-safety test (in-flight ensurePbiLoaded mag niet overschrijven).
- T-857: restore-hint flow toegevoegd in setActiveProduct/setActivePbi/
  setActiveStory. Async chain: await ensureXxxLoaded → guard check →
  readHints → valideer hint via entities.byId → setActiveYyy(hint).
  Geen setTimeout-trick — chain is alleen await-based.
- T-858: writeProductHint/writePbiHint/writeStoryHint/writeTaskHint
  aangeroepen direct na set(...) zodat de hint-persistentie altijd
  consistent is met de in-store selectie.
- T-859: nieuwe components/backlog/url-task-sync.tsx — leest
  ?editTask=<id> uit useSearchParams, schrijft de hint en roept
  setActiveTask aan zodat de URL wint boven een eerder gepersisteerde
  task-hint. Gemount in beide product-pages (desktop + mobile) binnen
  BacklogHydrationWrapper.
- T-860: 6 nieuwe vitest-cases — 4 voor hint-persist per setter, 2 voor de
  restore-flow chain (hint die niet in entities zit wordt genegeerd; hint
  die wel in entities zit wordt toegepast). Bestaande race-safety test
  blijft groen.

Verify: lint+typecheck clean, 642/642 tests groen.

Refs: PBI-74, ST-1321, T-856..T-860

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-10 01:17:22 +02:00
..
product-workspace feat(PBI-74): race-safe loaders + restore-hints + URL-prioriteit (Story 4) 2026-05-10 01:17:22 +02:00
backlog-store.ts feat(PBI-71): UX-fix 'lege sprint' + sprint-switch data-refresh (#175) 2026-05-09 16:27:24 +02:00
debug-store.ts Sprint: debug, zichtbaarheid componenten (#165) 2026-05-08 08:55:43 +02:00
idea-store.ts realtime: idea-store + extend notifications hook for idea events (M12 T-503) 2026-05-04 20:02:22 +02:00
jobs-store.ts fix(PBI-59): jobs sorted newest-first, unified on created_at (#157) 2026-05-07 20:58:27 +02:00
notifications-store.ts fix(m12): user can answer idea-questions — inline + bell support 2026-05-05 13:05:39 +02:00
planner-store.ts feat: ST-201-ST-210 M2 stories, drag-and-drop en Zustand stores 2026-04-24 11:46:18 +02:00
product-store.ts feat: show active product name in navbar, links to product page 2026-04-26 17:56:50 +02:00
products-store.ts ProductDialog: create + edit met alle velden (#68) 2026-05-03 17:56:33 +02:00
selection-store.ts feat: ST-201-ST-210 M2 stories, drag-and-drop en Zustand stores 2026-04-24 11:46:18 +02:00
solo-store.ts feat(M13 PBI-31 T-519b/T-520b): NavBar stand-by badge + quota-check runbook (#119) 2026-05-06 04:34:48 +02:00
sprint-store.ts feat: ST-301-ST-312 M3 Sprint Backlog en Sprint Planning 2026-04-24 11:51:27 +02:00