Skip to content

feat: accessibility status icons with --plain flag (#60)#64

Merged
larkly merged 10 commits intomainfrom
worktree-functional-sparking-gizmo
Mar 28, 2026
Merged

feat: accessibility status icons with --plain flag (#60)#64
larkly merged 10 commits intomainfrom
worktree-functional-sparking-gizmo

Conversation

@larkly
Copy link
Copy Markdown
Owner

@larkly larkly commented Mar 28, 2026

Summary

  • Add Unicode shape icon prefixes (●▲✘○↻■) to status text across all 13 resource views (servers, volumes, images, floating IPs, routers, networks, load balancers, server picker)
  • Add --plain CLI flag to disable icons for terminals with poor Unicode support
  • Centralized StatusIcon() function in shared/styles.go maps 40+ status strings to 6 icon categories

Closes #60

Test plan

  • go test ./... passes (including new StatusIcon tests)
  • go build ./cmd/lazystack compiles
  • Launch app — icons appear next to status text in all list/detail views
  • Launch with --plain — no icons appear
  • Verify each icon category: ● (active), ▲ (in-progress), ✘ (error), ○ (off), ↻ (transitional), ■ (paused)

@larkly larkly force-pushed the worktree-functional-sparking-gizmo branch from 4476d4b to 99b666e Compare March 28, 2026 17:57
@larkly larkly force-pushed the worktree-functional-sparking-gizmo branch from 99b666e to e30954b Compare March 28, 2026 17:59
@larkly larkly merged commit 1f849f5 into main Mar 28, 2026
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.

Accessibility: reduce reliance on color-only status indicators

1 participant