26f39fad0b
Phase 1 — Layout: remove paths from title bar (moved to Config tab); fold Scan Results panel into Fleet Summary with live compliance progress; fix panel misalignment by removing free-floating status bar; simplify Server Detail to name/drift/error only; redesign Recent Runs to 1-line-per-run RAG-colored rows sorted by descending run number; add full command line to Run Details screen. Phase 2 — Mouse (bubblezone v1.0.0): replace coordinate-math hit-testing with zone.Mark()/zone.Get().InBounds() for server rows, run rows, sidebar tabs, and hamburger toggle. Double-click on a run opens details. Phase 3 — Icons & sidebar: add iconSet struct with Icons singleton and Get(name) dynamic lookup; Nerd Font glyphs for all actions; collapsed sidebar shows tab icons only, expanded shows icon+label; m key or mouse click on hamburger toggles; footer hints updated with icons. Phase 4 — Config tab: show PlaybookDir and InventoryPath at top. Tests: 21 UI tests covering truncate edge cases, fleet counts, group sorting, icon dispatch, drift icons, sidebar width, menu toggle key, fleet summary compliance display, title bar paths removal, server detail field removal, recent runs format, seq numbering, and style uniqueness. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
36 lines
1.3 KiB
Modula-2
36 lines
1.3 KiB
Modula-2
module ansibletui
|
|
|
|
go 1.24.2
|
|
|
|
require (
|
|
github.com/charmbracelet/bubbles v1.0.0
|
|
github.com/charmbracelet/bubbletea v1.3.10
|
|
github.com/charmbracelet/lipgloss v1.1.0
|
|
gopkg.in/yaml.v3 v3.0.1
|
|
)
|
|
|
|
require (
|
|
github.com/atotto/clipboard v0.1.4 // indirect
|
|
github.com/aymanbagabas/go-osc52/v2 v2.0.1 // indirect
|
|
github.com/charmbracelet/colorprofile v0.4.1 // indirect
|
|
github.com/charmbracelet/x/ansi v0.11.6 // indirect
|
|
github.com/charmbracelet/x/cellbuf v0.0.15 // indirect
|
|
github.com/charmbracelet/x/term v0.2.2 // indirect
|
|
github.com/clipperhouse/displaywidth v0.9.0 // indirect
|
|
github.com/clipperhouse/stringish v0.1.1 // indirect
|
|
github.com/clipperhouse/uax29/v2 v2.5.0 // indirect
|
|
github.com/erikgeiser/coninput v0.0.0-20211004153227-1c3628e74d0f // indirect
|
|
github.com/lrstanley/bubblezone v1.0.0
|
|
github.com/lucasb-eyer/go-colorful v1.3.0 // indirect
|
|
github.com/mattn/go-isatty v0.0.20 // indirect
|
|
github.com/mattn/go-localereader v0.0.1 // indirect
|
|
github.com/mattn/go-runewidth v0.0.19 // indirect
|
|
github.com/muesli/ansi v0.0.0-20230316100256-276c6243b2f6 // indirect
|
|
github.com/muesli/cancelreader v0.2.2 // indirect
|
|
github.com/muesli/termenv v0.16.0 // indirect
|
|
github.com/rivo/uniseg v0.4.7 // indirect
|
|
github.com/xo/terminfo v0.0.0-20220910002029-abceb7e1c41e // indirect
|
|
golang.org/x/sys v0.38.0 // indirect
|
|
golang.org/x/text v0.24.0 // indirect
|
|
)
|