From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from firstgate.proxmox.com (firstgate.proxmox.com [212.224.123.68]) by lore.proxmox.com (Postfix) with ESMTPS id 7768D1FF191 for ; Tue, 23 Sep 2025 11:51:32 +0200 (CEST) Received: from firstgate.proxmox.com (localhost [127.0.0.1]) by firstgate.proxmox.com (Proxmox) with ESMTP id AE617A012; Tue, 23 Sep 2025 11:51:59 +0200 (CEST) From: Dominik Csapak To: pdm-devel@lists.proxmox.com Date: Tue, 23 Sep 2025 11:51:03 +0200 Message-ID: <20250923095124.1679038-1-d.csapak@proxmox.com> X-Mailer: git-send-email 2.47.3 MIME-Version: 1.0 X-SPAM-LEVEL: Spam detection results: 0 AWL 0.026 Adjusted score from AWL reputation of From: address BAYES_00 -1.9 Bayes spam probability is 0 to 1% DMARC_MISSING 0.1 Missing DMARC policy KAM_DMARC_STATUS 0.01 Test Rule for DKIM or SPF Failure with Strict Alignment RCVD_IN_VALIDITY_CERTIFIED_BLOCKED 0.001 ADMINISTRATOR NOTICE: The query to Validity was blocked. See https://knowledge.validity.com/hc/en-us/articles/20961730681243 for more information. RCVD_IN_VALIDITY_RPBL_BLOCKED 0.001 ADMINISTRATOR NOTICE: The query to Validity was blocked. See https://knowledge.validity.com/hc/en-us/articles/20961730681243 for more information. RCVD_IN_VALIDITY_SAFE_BLOCKED 0.001 ADMINISTRATOR NOTICE: The query to Validity was blocked. See https://knowledge.validity.com/hc/en-us/articles/20961730681243 for more information. SPF_HELO_NONE 0.001 SPF: HELO does not publish an SPF Record SPF_PASS -0.001 SPF: sender matches SPF record URIBL_BLOCKED 0.001 ADMINISTRATOR NOTICE: The query to URIBL was blocked. See http://wiki.apache.org/spamassassin/DnsBlocklists#dnsbl-block for more information. [storage.rs, remote.rs, overview.rs, renderer.rs, lib.rs, proxmox.com, status.rs, lxc.rs, qemu.rs] Subject: [pdm-devel] [PATCH datacenter-manager/yew-comp 00/10] status row/node status cleanup + refactor X-BeenThere: pdm-devel@lists.proxmox.com X-Mailman-Version: 2.1.29 Precedence: list List-Id: Proxmox Datacenter Manager development discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: Proxmox Datacenter Manager development discussion Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: pdm-devel-bounces@lists.proxmox.com Sender: "pdm-devel" While implemnting some basic PBS panels, i stumbled over our reimplemntation of the already existing `MeterLabel` and `StatusRow` from proxmox-yew-comp. So this series should improve on that by reusing them. Also refactored the panel for the NodeStatus in a way that we can reuse it for PBS as well and at the same time make it more conform to what we already have in the 'native' PVE/PBS gui. Note that the pdm patches depend on the yew-comp patches, so a bump is necessary also i based this series on top of my other two patches[0] (but they should not interfere with each other) 0: https://lore.proxmox.com/pdm-devel/20250923094311.1612890-1-d.csapak@proxmox.com/T/#t proxmox-yew-comp: Dominik Csapak (8): status: impl conversion to classes status row: add option to add the icon on the right side meter label: make value optional meter label: use `StatusRow` for text row meter label: align the status row with baseline meter label: add `animated` property meter label: add option to align the icon on the right add `node_info` helper to render a consistent view of the NodeStatus Cargo.toml | 3 + src/lib.rs | 3 + src/meter_label.rs | 53 ++++++----- src/node_info.rs | 222 +++++++++++++++++++++++++++++++++++++++++++++ src/status.rs | 8 ++ src/status_row.rs | 36 ++++++-- 6 files changed, 295 insertions(+), 30 deletions(-) create mode 100644 src/node_info.rs proxmox-datacenter-manager: Dominik Csapak (2): ui: pve: node: use `node_info` helper from yew-comp ui: rework status row/meter helpers ui/src/pve/lxc.rs | 48 ++++++++--------- ui/src/pve/node/overview.rs | 76 +++----------------------- ui/src/pve/qemu.rs | 48 ++++++++--------- ui/src/pve/remote.rs | 103 +++++++++++++++++------------------- ui/src/pve/storage.rs | 55 +++++++++---------- ui/src/renderer.rs | 63 +++++++--------------- 6 files changed, 145 insertions(+), 248 deletions(-) Summary over all repositories: 12 files changed, 440 insertions(+), 278 deletions(-) -- Generated by git-murpp 0.8.1 _______________________________________________ pdm-devel mailing list pdm-devel@lists.proxmox.com https://lists.proxmox.com/cgi-bin/mailman/listinfo/pdm-devel