feat(tui): inline detail panel, titled borders, panel focus #146
Reference in New Issue
Block a user
Delete Branch "feat/inline-detail"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
Major monitors tab UX overhaul — multi-panel layout with lazygit-style chrome.
Inline detail panel (P4b):
itoggles a compact detail panel below the monitors+logs splitEnteropens full-screen detail for deep dive (history, SLA, probe results)Titled panel borders:
Panel focus:
ltoggles focus to log panel, arrow keys scroll logs when focusedEscreturns focus to monitors (or closes detail)Log timestamp refactor:
models.LogEntry{Message, CreatedAt}replaces raw stringsMM/DD HH:MM[HH:MM]prefix stripped from pre-refactor DB entriesResponsive:
Design items P4b + P4d from
tui-polish-design.local.md.Test plan
itoggles inline detail panel below monitorsEnteropens full-screen detail with history/SLAltoggles log focus, arrows scroll logsEscreturns focus / closes detailMM/DD HH:MMformat[HH:MM]prefix display correctlyh/sfrom detail open history/SLA full-screenIntroduced models.LogEntry{Message, CreatedAt} to replace raw strings in the log pipeline. Timestamps are now formatted at render time, not baked into stored messages. - Engine: appendLog stores LogEntry with time.Now() - Store: LoadLogs returns []LogEntry, selects created_at from DB - Store: strips legacy [HH:MM] prefix from pre-refactor DB entries - TUI: sidebar shows "MM/DD HH:MM" from CreatedAt - TUI: full log view shows "MM/DD HH:MM" from CreatedAt - SaveLog still receives plain message string (DB handles timestamp)