Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions docs/CODE_MAP.md
Original file line number Diff line number Diff line change
Expand Up @@ -245,6 +245,15 @@ Ref picker rules:
| Scan state that outlives the view (data, progress, cancel, superseded-request guard) | `client/src/state/scanStore.ts` |
| Compare ⇄ normal without remount (normal view stays mounted, hidden) | `client/src/App.tsx` (`App`) |

Navigation rules:

- The URL is the source of truth. Treemap zoom and graph focus are one location (`at`), so a drill in either view moves both. The view switch changes only the projection.
- Every move is a real `pushState` entry. Browser Back restores the previous place with no new scan and never drops the analyzed repo.
- Refresh restores the repo, location and view from the URL. Local paths in the URL are fine, because srcly runs on localhost.
- The graph is fetched once for the repo root, so dependents outside the current folder are never missing. Focus selects inside that graph, and a drill does not refetch.
- `popstate` and the compare switch never remount the app. The scan lives in a store that outlives the view.
- Compare keeps its own `?compare=` parameter, outside the location model. The Explorer tree follows the location but keeps its own expand state.

### Client: Treemap

| Feature | Where |
Expand Down
15 changes: 15 additions & 0 deletions docs/initiative-history.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,5 +28,20 @@
"follow_ups": [
"Evaluate dependency compare on a real PR (claim C7). Nothing tracks it."
]
},
{
"title": "Unified navigation",
"slug": "unified-navigation",
"outcome": "completed",
"retired_at": "2026-11-12",
"summary": "Treemap zoom and graph focus are now one URL location with real Back, refresh and compare keep the repo, a History dropdown lists recent places, and one view switch plus visible node actions replace the old controls. Reconciled against origin/main 0bfb05ba.",
"reason": "All three milestones merged on 2026-10-15 (#45, #49, #55).",
"documentation": [
"docs/CODE_MAP.md"
],
"revision": "0bfb05ba",
"follow_ups": [
"Peripheral idea C8 (animated canvas transition between treemap and graph) was never planned and is not tracked."
]
}
]
111 changes: 0 additions & 111 deletions docs/intent/unified-navigation/implementation-plan.md

This file was deleted.

Loading
Loading