From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from gate001.proxmox.com (gate001.proxmox.com [45.144.208.40]) by lore.proxmox.com (Postfix) with ESMTPS id E88351FF0E4 for ; Tue, 28 Jul 2026 09:51:29 +0200 (CEST) Received: from gate001.proxmox.com (localhost.localdomain [127.0.0.1]) by gate001.proxmox.com (Proxmox) with ESMTP id 7AC72214B3; Tue, 28 Jul 2026 09:51:29 +0200 (CEST) From: Erik Fastermann To: pve-devel@lists.proxmox.com Subject: [PATCH pve-manager v2 0/2] fix #7794: ui: dc summary: add per-node VM/CT count columns Date: Tue, 28 Jul 2026 09:51:22 +0200 Message-ID: <20260728075124.53626-1-e.fastermann@proxmox.com> X-Mailer: git-send-email 2.47.3 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-SPAM-LEVEL: Spam detection results: 2 AWL -0.277 Adjusted score from AWL reputation of From: address DMARC_MISSING 0.1 Missing DMARC policy KAM_DMARC_STATUS 0.01 Test Rule for DKIM or SPF Failure with Strict Alignment (newer systems) KAM_LAZY_DOMAIN_SECURITY 1 Sending domain does not have any anti-forgery methods RDNS_NONE 1.274 Delivered to internal network by a host with no rDNS SPF_HELO_NONE 0.001 SPF: HELO does not publish an SPF Record SPF_NONE 0.001 SPF: sender does not publish an SPF Record Message-ID-Hash: IAMKEIXM7D4D6YQOHSSQE3UQSA7ZUL72 X-Message-ID-Hash: IAMKEIXM7D4D6YQOHSSQE3UQSA7ZUL72 X-MailFrom: efastermann@ruth.proxmox.com X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; loop; banned-address; emergency; member-moderation; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header CC: Erik Fastermann X-Mailman-Version: 3.3.10 Precedence: list List-Id: Proxmox VE development discussion List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: Add columns to the node list showing the number of running and total VMs and CTs per node, so the workload distribution across the cluster is visible at a glance. Changes since v1: * Using 'gridstore.beginUpdate()' and 'gridstore.endUpdate()' and passing an object to 'item.set()' as suggested by @David Riley, thank you! * Passing 'dirty: false' to 'item.set()' which avoids 'item.commit()' * Added an extra patch which cleans up this pattern in 'Summary.js' Erik Fastermann (2): ui: dc summary: update node grid fields in a single set() call fix #7794: ui: dc summary: add per-node VM/CT count columns www/manager6/dc/NodeView.js | 26 ++++++++++++++++++ www/manager6/dc/Summary.js | 55 ++++++++++++++++++++++++++++++++++--- 2 files changed, 77 insertions(+), 4 deletions(-) -- 2.47.3