Skip to content

feat(proxystatus): color the exit red and each hop level distinctly in the route tree - #4205

Merged
0pcom merged 1 commit into
skycoin:developfrom
0pcom:feat/tree-hop-colors
Aug 26, 2026
Merged

feat(proxystatus): color the exit red and each hop level distinctly in the route tree#4205
0pcom merged 1 commit into
skycoin:developfrom
0pcom:feat/tree-hop-colors

Conversation

@0pcom

@0pcom 0pcom commented Aug 26, 2026

Copy link
Copy Markdown
Collaborator

The status.skysocks route tree now paints each hop PK by role: the exit (any leg's final destination) red, and every intermediate hop by its DEPTH — all level-1 intermediates one hue, all level-2 another, cycling every four levels (color by hop depth across all legs, not by leg).

Computed once per snapshot into a PK->class map and applied through the existing bitree StyleCell, so the zero-width span wrappers don't disturb the monospace column alignment. The legend below the tree gains exit + hop-level swatches, and the hues are theme-aware (re-darkened for light mode).

…n the route tree

The status.skysocks route tree now paints each hop PK by its role: the exit
(any leg's final destination) red, and every intermediate hop by its DEPTH — all
level-1 intermediates one hue, all level-2 another, and so on, cycling every four
levels. Coloring is by hop depth across all legs, not by leg, computed once per
snapshot into a PK->class map and applied in the existing bitree StyleCell so the
zero-width span wrappers don't disturb the monospace column layout. The legend
below the tree gains exit + hop-level swatches, and the hues are theme-aware.
@0pcom
0pcom merged commit 3b728bf into skycoin:develop Aug 26, 2026
12 of 15 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