Skip to content

Fix muted color contrast and add cross-resource navigation#74

Merged
larkly merged 3 commits intomainfrom
worktree-shimmying-shimmying-otter
Mar 29, 2026
Merged

Fix muted color contrast and add cross-resource navigation#74
larkly merged 3 commits intomainfrom
worktree-shimmying-shimmying-otter

Conversation

@larkly
Copy link
Copy Markdown
Owner

@larkly larkly commented Mar 29, 2026

Summary

  • Fix muted color contrast: Bump ColorMuted from #586E75 to #657B83, improving contrast ratio from ~3.2:1 to ~4.0:1 (WCAG AA). Replace two hardcoded hex values with the ColorMuted variable.
  • Add cross-resource navigation: From server detail, press v (volumes), g (security groups), or N (networks) to jump to the related tab with cursor positioned on the server's attached resource. Esc returns to server detail. Includes discoverable [v]/[g]/[N] labels and help text updates.

Partially addresses #73 and #60.

Test plan

  • Verify muted text (inactive tabs, secondary labels, placeholders) is visibly lighter and more readable
  • Open server detail for a server with attached volumes → press v → cursor lands on the volume → Esc returns to server detail
  • Open server detail for a server with security groups → press g → sec group tab opens with matching group expanded → Esc returns to server detail
  • Open server detail for a server with networks → press N → networks tab opens with matching network expanded → Esc returns to server detail
  • Verify v/g/N are no-ops when server has no resources of that type
  • Verify manual tab switching (number keys, arrows) clears the back-navigation state
  • Press ? in server detail → new keybindings appear in help overlay

larkly added 3 commits March 29, 2026 01:18
Bump ColorMuted from #586E75 to #657B83 (Solarized base00), improving
contrast ratio on #002B36 background from ~3.2:1 to ~4.0:1.

Also replace two hardcoded #586E75 values (SHUTOFF status, SHUTDOWN
power state) with the ColorMuted variable for consistency.

Partially addresses #73 and #60.
From server detail, press v/g/N to jump to the Volumes, Security
Groups, or Networks tab with the cursor positioned on the related
resource. Pressing Esc returns to server detail.

- Add NavigateToResourceMsg for tab switching with highlight context
- Add SetHighlight (volumelist) and ScrollToNames (secgroupview,
  networklist) with race-safe re-apply on data load
- Add returnToView field for back-navigation via Esc
- Add [v]/[g]/[N] labels in server detail for discoverability
- Update help overlay with new keybindings

Partially addresses #73.
Show a short UUID (first 8 chars) in the volume list so users can
match volumes to the UUIDs shown in server detail. The column has
priority 2 and hides on narrow terminals alongside Device.
@larkly larkly force-pushed the worktree-shimmying-shimmying-otter branch from c8154b5 to 0e3b8c8 Compare March 29, 2026 00:20
@larkly larkly merged commit e411433 into main Mar 29, 2026
@larkly larkly deleted the worktree-shimmying-shimmying-otter branch March 29, 2026 00:24
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