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 E2DE61FF0BA for ; Thu, 20 Aug 2026 10:18:17 +0200 (CEST) Received: from gate001.proxmox.com (localhost.localdomain [127.0.0.1]) by gate001.proxmox.com (Proxmox) with ESMTP id D0E2B215B0; Thu, 20 Aug 2026 10:18:16 +0200 (CEST) From: Dominik Csapak To: pdm-devel@lists.proxmox.com Subject: [PATCH datacenter-manager 3/3] ui: main menu: make expanded/collapsed state persistent Date: Thu, 20 Aug 2026 10:17:52 +0200 Message-ID: <20260820081803.991511-4-d.csapak@proxmox.com> X-Mailer: git-send-email 2.47.3 In-Reply-To: <20260820081803.991511-1-d.csapak@proxmox.com> References: <20260820081803.991511-1-d.csapak@proxmox.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-SPAM-LEVEL: Spam detection results: 0 AWL 0.859 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) RCVD_IN_DNSWL_MED -2.3 Sender listed at https://www.dnswl.org/, medium trust SPF_HELO_NONE 0.001 SPF: HELO does not publish an SPF Record SPF_PASS -0.001 SPF: sender matches SPF record Message-ID-Hash: 5ANEHD7V6WNYS23IACE4JRRRYWWD6YD2 X-Message-ID-Hash: 5ANEHD7V6WNYS23IACE4JRRRYWWD6YD2 X-MailFrom: d.csapak@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 X-Mailman-Version: 3.3.10 Precedence: list List-Id: Proxmox Datacenter Manager development discussion List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: by usint the new `stateful_id` property. Signed-off-by: Dominik Csapak --- ui/src/main_menu.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/ui/src/main_menu.rs b/ui/src/main_menu.rs index 1fddfa6a..04cf302c 100644 --- a/ui/src/main_menu.rs +++ b/ui/src/main_menu.rs @@ -410,6 +410,7 @@ impl Component for PdmMainMenu { let drawer = NavigationDrawer::new(menu) .aria_label("Datacenter Manager") + .stateful_id("pdm-main-menu") .class("pwt-border-end") .class(css::Flex::None) .width(275) -- 2.47.3