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 DC7141FF0E1 for ; Mon, 10 Aug 2026 16:35:40 +0200 (CEST) Received: from gate001.proxmox.com (localhost.localdomain [127.0.0.1]) by gate001.proxmox.com (Proxmox) with ESMTP id A88A221783; Mon, 10 Aug 2026 16:35:40 +0200 (CEST) From: Dominik Csapak To: yew-devel@lists.proxmox.com Subject: [PATCH yew-widget-toolkit/yew-widget-toolkit-assets 0/4] adaptive scaffold/navigation rail improvements Date: Mon, 10 Aug 2026 16:34:50 +0200 Message-ID: <20260810143536.31163-1-d.csapak@proxmox.com> X-Mailer: git-send-email 2.47.3 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-SPAM-LEVEL: Spam detection results: 0 AWL 1.067 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: FGJHSFDGDWB5SLWLXZYAN2E2Y24O5BXC X-Message-ID-Hash: FGJHSFDGDWB5SLWLXZYAN2E2Y24O5BXC 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: Yew framework devel list at Proxmox List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: Move the automatic expand/collapse logic to the navigation rail and add an (opt-in) button there too for activating it manually. Also add a pass-through option for the rail group alignment there. Possible future work: * Add proper animations * make 'leading' element know about the expanded/collapsed state (e.g. so a fab button can render its label correctly) * possibly make the group-alignment start by default, like it's described in material design. proxmox-yew-widget-toolkit-assets: Dominik Csapak (1): navigation rail: style the expand button scss/_navigation_rail.scss | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) proxmox-yew-widget-toolkit: Dominik Csapak (3): touch: navigation rail: move auto layout from AdaptiveScaffold touch: navigation rail: add an optional expand button touch: adaptive scaffold: pass the rail group alignment through src/touch/adaptive_scaffold.rs | 67 ++++++++---------- src/touch/navigation_rail.rs | 126 +++++++++++++++++++++++++++++++-- 2 files changed, 150 insertions(+), 43 deletions(-) Summary over all repositories: 3 files changed, 167 insertions(+), 43 deletions(-) -- Generated by murpp 0.11.0