Skip to content

Keep full step labels readable in the map viewer - #50

Merged
willlzl merged 2 commits into
mainfrom
fix/viewer-readable-steps
Nov 26, 2026
Merged

willlzl merged 2 commits into
mainfrom
fix/viewer-readable-steps

Conversation

@willlzl

@willlzl willlzl commented Nov 26, 2026

Copy link
Copy Markdown
Contributor

Small change maps could open at 160% while cutting off step names after two lines. A reviewer could see “Read the corresponding…” but had to click the card to find out which input it read.

Cards now wrap the full label and change summary using the embedded font. The layout reserves that height before routing edges. Short diagrams use available width for longer labels and open at up to 100%. Users can still zoom in manually. The inspector grows with its content, and neighboring branches stay readable when a change is selected.

Checked with the same Black and IPython sessions before and after, with a larger project map, and with long English, Chinese and unbroken identifiers. Local and share exports both use the rebuilt standalone viewer. Added regression coverage for camera framing, card sizing, compact rows and off-map changes.

@willlzl
willlzl marked this pull request as ready for review November 26, 2026 08:01
@willlzl
willlzl merged commit e55e8e7 into main Nov 26, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant