Files
Pulse/internal/api/chartapi
rcourtman fa8e3acb32 Show node history on row hover, temperature included
The Proxmox page shares one View control between the node table and the
guest table, but only passed the bars/sparklines mode and the range to
the node table. Row-hover History therefore worked on guest rows and did
nothing on node rows, and neither hover nor Trends charted the Temp
column, so an operator looking at a node at 94°C could not tell a steady
reading from a spike without opening the drawer.

The node table now takes the page's row-hover mode. In History hover a
hovered node row swaps CPU, memory, disk and temperature to sparklines
that share one cursor, as guest rows do; Details hover keeps the bars.
Trends charts temperature on every node row. The node history reader
starts on the first hover, so a page nobody hovers reads no node history.

/api/charts/infrastructure accepts temperature as an opt-in metric. The
default payload is unchanged; node and agent host series return stored
temperature history only when a caller asks for it. Temperature
sparklines scale around their own readings with a 25° minimum span, so
a steady 60°C reads as flat rather than pinned near the top.
2026-11-17 19:09:21 +00:00
..