- lib/user-settings.ts: activeSprints values nullable in Zod-schema. Key-aanwezigheid heeft nu betekenis (key+null = bewust geen sprint; key ontbreekt = fallback-cascade). - lib/active-sprint.ts: nieuwe readStoredActiveSprintState helper + resolveActiveSprint respecteert expliciet 'cleared' state zonder fallback. clearActiveSprintInSettings schrijft null i.p.v. de key te verwijderen. - actions/active-sprint.ts: nieuwe clearActiveSprintAction met auth + membership-check. - components/shared/sprint-switcher.tsx: '— Geen actieve sprint —'-optie in dropdown, disabled wanneer er geen actieve sprint is. - Tests: nieuwe active-sprint.test.ts (resolver-paden + clear), active-sprint-action.test.ts (action-laag), uitbreiding user-settings.test.ts. Plan: docs/plans/PBI-79-backlog-sprint-workflow.md Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| active-product.test.ts | ||
| active-sprint-action.test.ts | ||
| auth.test.ts | ||
| claude-jobs-batch.test.ts | ||
| claude-jobs.test.ts | ||
| ideas-crud.test.ts | ||
| pairing.test.ts | ||
| products.test.ts | ||
| push.test.ts | ||
| questions.test.ts | ||
| settings.test.ts | ||
| sprint-dates.test.ts | ||
| sprint-runs.test.ts | ||
| sprints-cascade.test.ts | ||
| story-claim.test.ts | ||
| tasks-dialog.test.ts | ||
| user-settings.test.ts | ||