From 1c3b40b6316df61239ed1875db67e8a8aeb68168 Mon Sep 17 00:00:00 2001 From: Andy Lee Date: Mon, 20 Jul 2026 15:29:12 +0800 Subject: [PATCH] refactor(host): update resource usage gauges and table column headers to fit small screen (#1031) * refactor(host): update resource usage gauges and table column headers - Replace ConsumptionGauge with PercentageBar in CPU/Memory/Storage formatters to show the percentage next to the progress bar - Rename the Disk State column header to Disk (via i18n) - Display the CPU Manager column header on two lines Signed-off-by: Andy Lee * refactor: add noopener noreferrer rel Signed-off-by: Andy Lee --------- Signed-off-by: Andy Lee --- pkg/harvester/formatters/HarvesterCPUUsed.vue | 101 ++++++++++++------ .../formatters/HarvesterMemoryUsed.vue | 95 ++++++++++------ .../formatters/HarvesterStorageUsed.vue | 81 +++++++------- pkg/harvester/l10n/en-us.yaml | 3 +- pkg/harvester/list/harvesterhci.io.host.vue | 17 ++- 5 files changed, 189 insertions(+), 108 deletions(-) diff --git a/pkg/harvester/formatters/HarvesterCPUUsed.vue b/pkg/harvester/formatters/HarvesterCPUUsed.vue index 08035843..1a899799 100644 --- a/pkg/harvester/formatters/HarvesterCPUUsed.vue +++ b/pkg/harvester/formatters/HarvesterCPUUsed.vue @@ -1,11 +1,11 @@