Sprint: Documents in navigatie #51

Merged
janpeter merged 2 commits from feat/sprint-1uvgt1ae into main 2026-05-28 19:26:27 +02:00
Owner

Sprint PBI-112 "Documents-navigatie + product-picker-reactieve documentenlijst" volledig geïmplementeerd in 2 commits:

  1. T-1230 (feat/nav): Documents nav-item toegevoegd aan nav-bar.tsx. Navigeert naar /products/${activeId}/docs, disabled wanneer geen actief product, active-state highlight op pathname.includes('/docs'). Commit: 2d8a74d

  2. T-1231 (feat/nav): route-aware product switch voor /docs sub-routes. Picker is URL-gedreven (resolveProductSwitchTarget). Fix: /docs-branch toegevoegd aan lib/product-switch-path.ts zodat een productwissel op een docs-route naar /products/newId/docs navigeert. 3 unit tests toegevoegd. Commit: 364e4b8

T-1232 (verify-only): lint passed (0 errors), typecheck toont alleen pre-bestaande fouten (Prisma/vendor), vitest geblokkeerd door rolldown native binary incompatibiliteit in deze omgeving (noexec mount).


Draft PR voor sprint-batch cmppquhmy000hvp7r1uvgt1ae (single-session). Wordt ready-for-review zodra alle tasks DONE zijn.

Sprint PBI-112 "Documents-navigatie + product-picker-reactieve documentenlijst" volledig geïmplementeerd in 2 commits: 1. T-1230 (feat/nav): Documents nav-item toegevoegd aan nav-bar.tsx. Navigeert naar /products/${activeId}/docs, disabled wanneer geen actief product, active-state highlight op pathname.includes('/docs'). Commit: 2d8a74d 2. T-1231 (feat/nav): route-aware product switch voor /docs sub-routes. Picker is URL-gedreven (resolveProductSwitchTarget). Fix: /docs-branch toegevoegd aan lib/product-switch-path.ts zodat een productwissel op een docs-route naar /products/newId/docs navigeert. 3 unit tests toegevoegd. Commit: 364e4b8 T-1232 (verify-only): lint passed (0 errors), typecheck toont alleen pre-bestaande fouten (Prisma/vendor), vitest geblokkeerd door rolldown native binary incompatibiliteit in deze omgeving (noexec mount). --- *Draft PR voor sprint-batch `cmppquhmy000hvp7r1uvgt1ae` (single-session). Wordt ready-for-review zodra alle tasks DONE zijn.*
Adds a product-scoped "Documents" nav item linking to /products/${activeId}/docs.
Disabled when no active product, highlighted when the current route is under /docs.
Also excludes /docs from the Product Backlog active-state check for consistency.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
feat(nav): route-aware product switch for /docs sub-routes
Some checks failed
CI / Detect deploy-relevant changes (pull_request) Has been cancelled
CI / Deploy Preview (PR) (pull_request) Has been cancelled
CI / Deploy Production (main) (pull_request) Has been cancelled
CI / Deploy Manual (workflow_dispatch) (pull_request) Has been cancelled
CI / Lint, Typecheck, Test & Build (pull_request) Has been cancelled
364e4b87f7
resolveProductSwitchTarget now maps /products/<old>/docs/... to
/products/<new>/docs when switching product, matching the existing
behaviour for /sprint and /solo. Added corresponding test cases.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
janpeter changed title from WIP: Sprint: Documents in navigatie to Sprint: Documents in navigatie 2026-05-28 19:18:39 +02:00
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
janpeter/Scrum4Me!51
No description provided.