Atlas focus line: name with its parenthesized hash
The current-node line drew the name followed by a bare 12-hex slice of the
key and then spelled out the node type. Drop the type atom — the leading
glyph already carries it — and render the identity as name (hash): the
addressed path-hash in parentheses, its digits lit in the node's hue. A
keyless own-node ("local") has no hash, so the parenthetical is omitted.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
1 parent
0f97c0d752
commit
e46d286b13
2 files changed
+25
-11
No files matched your search
+2
-1
@@ -104,7 +104,8 @@ def test_atlas_enter_walks_and_grows_the_trail() -> None:
|
||||
assert screen._focus == topo.canonical(YUL.public_key)
|
||||
body = _plain(screen.render_body(80))
|
||||
assert "Homestead › YUL-Cartierville" in body # the trail
|
||||
assert "repeater" in body and "1 hop out" in body
|
||||
# The focus line reads name (hash) — the glyph carries the type, not a spelled-out kind.
|
||||
assert "YUL-Cartierville (3d)" in body and "1 hop out" in body
|
||||
assert "Alice" in body # YUL's onward neighbour is now a row
|
||||
assert "⌫ back" in body # the row leading home is marked
|
||||
|
||||
|
||||
Reference in new issue
Block a user