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
4 changes: 4 additions & 0 deletions docs/CODE_MAP.md
Original file line number Diff line number Diff line change
Expand Up @@ -267,6 +267,10 @@ Navigation rules:
| Scope `(body)` nodes with shared unchanged branches, path lookup | `client/src/viz/treemap/utils/tree.ts`, `viz/treemap/utils/path.ts` |
| Label text fitting | `client/src/utils/svgText.ts` |

Treemap rules: labels are dark monospace. Every `TREEMAP_RAMP` stop keeps label contrast at 4.5:1 or more (`colors.test.ts`). Compare mode uses the same ramp, so check a ramp change in compare too, and do not fork it.

Graph-to-code rule: there is one `CodeModal`. Opening from the graph resolves the file and scope on the client, through the treemap tree (`absPath` equals the tree's `path`). The scope's end line comes from the treemap, so the graph contract needs no extra field.

### Client: 2x2 view

| Feature | Where |
Expand Down
13 changes: 13 additions & 0 deletions docs/initiative-history.json
Original file line number Diff line number Diff line change
Expand Up @@ -43,5 +43,18 @@
"follow_ups": [
"Peripheral idea C8 (animated canvas transition between treemap and graph) was never planned and is not tracked."
]
},
{
"title": "Dependency and treemap quick fixes",
"slug": "dependency-and-treemap-quick-fixes",
"outcome": "completed",
"retired_at": "2026-11-12",
"summary": "Opening code from the graph now uses the app's code viewer at the right scope, the graph has a legend and no side headers, the treemap has dark mono labels and a stronger ramp, popovers open one at a time, and the code viewer shows one table of applicable metrics. Reconciled against origin/main 0bfb05ba.",
"reason": "All five milestones merged on 2026-10-15 (#46, #48, #51, #53, #57).",
"documentation": [
"docs/CODE_MAP.md"
],
"revision": "0bfb05ba",
"follow_ups": []
}
]
137 changes: 0 additions & 137 deletions docs/intent/dependency-and-treemap-quick-fixes/implementation-plan.md

This file was deleted.

Loading
Loading