[PR #197] feat: add sparklines to VM and Node summary components #188

Closed
opened 2026-02-26 17:37:40 +03:00 by kerem · 0 comments
Owner

Original Pull Request: https://github.com/Corsinvest/cv4pve-admin/pull/197

State: closed
Merged: Yes


Summary

  • VM Summary: sostituisce due Queue<HistoryPoint(X,Y)> separate con un'unica Queue<HistoryPoint(X,Cpu,Ram)> — un solo record per campione
  • Node Summary: stessa refactoring con Queue<HistoryPoint(X,Cpu,Ram,IoDelay)> — aggiunge anche sparkline per IO delay
  • RenderTitleWithSparkline riceve string valueProperty (es. nameof(HistoryPoint.Cpu)) usato come ValueProperty in RadzenLineSeries
  • Valori arrotondati a 1 decimale prima dell'inserimento in coda

Test plan

  • Aprire il Summary di una VM — verificare sparkline CPU e RAM accanto ai titoli
  • Aprire il Summary di un Node — verificare sparkline CPU, RAM e IO delay
  • Attendere qualche refresh e verificare che lo sparkline si aggiorna
  • Hovering sullo sparkline mostra tooltip con valore %
**Original Pull Request:** https://github.com/Corsinvest/cv4pve-admin/pull/197 **State:** closed **Merged:** Yes --- ## Summary - **VM Summary**: sostituisce due `Queue<HistoryPoint(X,Y)>` separate con un'unica `Queue<HistoryPoint(X,Cpu,Ram)>` — un solo record per campione - **Node Summary**: stessa refactoring con `Queue<HistoryPoint(X,Cpu,Ram,IoDelay)>` — aggiunge anche sparkline per IO delay - `RenderTitleWithSparkline` riceve `string valueProperty` (es. `nameof(HistoryPoint.Cpu)`) usato come `ValueProperty` in `RadzenLineSeries` - Valori arrotondati a 1 decimale prima dell'inserimento in coda ## Test plan - [ ] Aprire il Summary di una VM — verificare sparkline CPU e RAM accanto ai titoli - [ ] Aprire il Summary di un Node — verificare sparkline CPU, RAM e IO delay - [ ] Attendere qualche refresh e verificare che lo sparkline si aggiorna - [ ] Hovering sullo sparkline mostra tooltip con valore %
kerem 2026-02-26 17:37:40 +03:00
kerem changed title from [PR #197] [MERGED] feat: add sparklines to VM and Node summary components to [PR #197] feat: add sparklines to VM and Node summary components 2026-03-07 19:57:24 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/cv4pve-admin#188
No description provided.