feat: add summary dashboard history charts

This commit is contained in:
2026-04-21 18:03:51 +02:00
parent 0bb4be861c
commit 44f4206f34
12 changed files with 790 additions and 81 deletions

View File

@@ -1,6 +1,14 @@
# Changelog
## Unreleased (2026-04-21)
- Added a new `Summary` tab with a denser dashboard layout inspired by infrastructure monitoring tools.
- Added persisted metric history with SwiftData for CPU, memory, disk, and swap charts.
- Added `Hour`, `Day`, `Week`, and `Month` ranges to summary charts.
- Added CPU, memory, disk, and swap history widgets that expand across the available summary width.
- Reworked `General` to remain the more traditional detailed information tab while `Summary` focuses on quick status and trends.
- Isolated metric history into an app-specific SwiftData store and recover cleanly from incompatible history stores.
- Fixed the summary CPU chart to use the summary payload's reported CPU percentage and allow values above `100%` with a dynamic Y axis.
- Fixed excessive summary redraws by moving the interval indicator timer out of the main detail view so charts no longer refresh every second.
- Added optional sidebar groups for hosts, including group creation, editing, deletion, and host assignment.
- Added grouped host ordering, group reordering via drag and drop, and clearer visual feedback while moving groups.
- Improved group header styling to better distinguish groups and ungrouped hosts in the sidebar.