Scrum4Me/__tests__
Madhura68 e89fb7149f feat(PBI-79/ST-1335): sprint-membership-summary + cross-sprint-blocks endpoints
Twee nieuwe GET-route handlers, beide verplicht gescoped op pbiIds (geen
product-brede aanroepen).

- app/api/products/[id]/sprint-membership-summary/route.ts
  Response: { [pbiId]: { total, inSprint } } via twee prisma.groupBy calls
  (totaal + binnen actieve sprint). Voor state-B tri-state.

- app/api/products/[id]/cross-sprint-blocks/route.ts
  Response: { [storyId]: { sprintId, sprintName } } voor stories in andere
  OPEN sprints. UX-hint voor disabled-vinkjes; commit-acties blijven
  autoritatief.

Tests: 13 cases dekken happy path, 400 zonder pbiIds, 400 zonder sprintId,
404 zonder product-access, auth-fail, en NOT-clause voor excludeSprintId.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-11 13:48:47 +02:00
..
actions feat(PBI-79/ST-1334): user-settings pendingSprintDraft-slot 2026-05-11 13:43:32 +02:00
api feat(PBI-79/ST-1335): sprint-membership-summary + cross-sprint-blocks endpoints 2026-05-11 13:48:47 +02:00
app feat(ST-1138): mobile Solo-pagina + verify TaskDetailDialog (T-331/T-332/T-333) 2026-05-04 10:52:41 +02:00
components feat(PBI-76): migrate cookie-based prefs to user-settings (Phase 2) (#189) 2026-05-10 21:20:29 +02:00
lib feat(PBI-79/ST-1343): sprint-conflicts helper-library 2026-05-11 13:45:59 +02:00
proxy proxy: add /ideas to protectedRoutes; verify demo-guard for /api/ideas (M12 T-501) 2026-05-04 19:56:41 +02:00
realtime feat(PBI-74): Zustand product-workspace rearchitecture (Stories 1-8) (#180) 2026-05-10 02:25:19 +02:00
stores feat(PBI-79/ST-1334): user-settings pendingSprintDraft-slot 2026-05-11 13:43:32 +02:00
lars-flow-checklist.md docs(ST-612): update Lars-flow checklist met todo Data Table stappen 2026-04-25 20:10:16 +02:00