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 B4AA61FF187 for ; Tue, 2 Dec 2025 09:31:49 +0100 (CET) Received: from firstgate.proxmox.com (localhost [127.0.0.1]) by firstgate.proxmox.com (Proxmox) with ESMTP id 4B8E38761; Tue, 2 Dec 2025 09:32:14 +0100 (CET) From: Christian Ebner To: pdm-devel@lists.proxmox.com Date: Tue, 2 Dec 2025 09:31:52 +0100 Message-ID: <20251202083152.71130-1-c.ebner@proxmox.com> X-Mailer: git-send-email 2.47.3 MIME-Version: 1.0 X-Bm-Milter-Handled: 55990f41-d878-4baa-be0a-ee34c49e34d2 X-Bm-Transport-Timestamp: 1764664285433 X-SPAM-LEVEL: Spam detection results: 0 AWL 0.048 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. [mod.rs] Subject: [pdm-devel] [RFC datacenter-manager] ui: rename PBS node slug to overview as stop-gap for search routing 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" This makes sure that the correct view is rendered when searching and clicking on a PBS datastore while being on a panel not related to the PBS remotes. The search produces the correct path in navigate_to() when the PdmResourceTree triggers Msg::NavigateToEntry, setting this via the navigator(). The result is however still being the node status view slug to be appended, which leads to datastores being displayed incorrectly. By setting the slug to `overview`, it now works for both cases. This is intended as temporary stop-gap until the actual routing behaviour is fixed. Signed-off-by: Christian Ebner --- Still unsure how the actual routing behaviour is, but it seems to be related to the node status pushing the slug to the path somehow. This seems to also depend on whether the node was selected first or not. Please ignore if you do not see this fitting as stop-gap. ui/src/pbs/node/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ui/src/pbs/node/mod.rs b/ui/src/pbs/node/mod.rs index 2033bb1..e32c2c6 100644 --- a/ui/src/pbs/node/mod.rs +++ b/ui/src/pbs/node/mod.rs @@ -70,7 +70,7 @@ impl yew::Component for PbsNodePanelComp { .class(ColorScheme::Neutral) .with_item_builder( TabBarItem::new() - .key("status_view") + .key("overview") .label(tr!("Overview")) .icon_class("fa fa-tachometer"), { -- 2.47.3 _______________________________________________ pdm-devel mailing list pdm-devel@lists.proxmox.com https://lists.proxmox.com/cgi-bin/mailman/listinfo/pdm-devel