Repository navigation
Description
Usability proposal. Priority: P2; first navigation improvement. Reviewed 2026-09-06 at 6c7a6fbe.
User outcome
Open a thread from a board or report, inspect it, then return to exactly where you were. Reviewing a list should not require rebuilding it after every item.
Evidence
App.handleSelectThread sets view to thread. App renders the center views conditionally, unmounting the source view. Planboard owns projectId and sort locally; Usage owns range, metric and breakdown locally. There is no source-view return context in these callbacks. A mounted Planboard changed to number-asc returns to updated after unmount/remount with identical props. This is a component reproduction plus an App wiring trace, not a desktop navigation recording.
Smallest useful scope
- Capture one return destination when opening a thread from Planboard live plans, Kanban, Activity, Digest, PRs or Insights.
- Offer a clear keyboard-accessible “Back to [view]” action in the thread header.
- Restore the source view's project, existing filters/sort/range/group, list position and originating row focus.
- Reuse a small App-owned view-state record. Do not keep every hidden report mounted and polling, add a router, or create multi-level navigation history.
- Session-only restoration is enough. Do not add persistence across app restarts.
Acceptance
- Set Planboard sort, open a live-plan thread and return: same project and sort remain.
- Open a row halfway down Activity/Digest/PRs/Insights; return to that row, with a sensible nearest-row fallback if it disappeared.
- Switching reports preserves the user's existing Usage controls.
- A missing/deleted project or thread gives a safe fallback rather than restoring an invalid selection.
- Return navigation cannot submit a prompt, launch a run, or restore a pending destructive action.
- Validate with an App-level navigation test and browser checks for scroll/focus.
Distinct from composer-draft preservation #921, named sidebar filters #939 and review itinerary #421. Preserve the daily-work/Pulse split introduced in #425.
Sources: selection callback, conditional views, Planboard local state.
Runnable evidence: node --import=./test/support/disable-grok-mcp.mjs --import=./test/support/render.mjs --experimental-strip-types docs/issue-drafts/2026-09-06-views-evidence.mjs (exit 0). This audit script asserts current behavior, not desired regression behavior. Artifact is in the audit checkout; reproduction steps above are self-contained.
Requested disposition: separate Planboard issue with plan:todo. No implementation in this research task.
Activity
currentbits commentedon Sep 8, 2026
Landed from Solenta thread "Fork: Return from a thread to the same view, selection and s". Closed on merge.