feat(tui): ntcharts latency line chart in inline detail panel

Replace block-element sparkline with ntcharts streamline chart in the
inline detail panel. Renders a 4-row line chart with thin line style
using the theme accent color. Auto-scales Y axis to latency range.

Added github.com/NimbleMarkets/ntcharts v0.5.1 dependency (lipgloss v1
compatible). Min/Avg/Max stats rendered below the chart.
This commit is contained in:
2026-06-21 13:05:02 -04:00
parent 01dd53241a
commit ad469c86eb
5 changed files with 45 additions and 9 deletions
+1
View File
@@ -3,6 +3,7 @@ module gitea.lerkolabs.com/lerkolabs/uptop
go 1.26.4
require (
github.com/NimbleMarkets/ntcharts v0.5.1
github.com/charmbracelet/bubbles v0.21.1-0.20250623103423-23b8fd6302d7
github.com/charmbracelet/bubbletea v1.3.10
github.com/charmbracelet/harmonica v0.2.0