public inbox for yew-devel@lists.proxmox.com
 help / color / mirror / Atom feed
From: Dominik Csapak <d.csapak@proxmox.com>
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	[thread overview]
Message-ID: <20260810143536.31163-1-d.csapak@proxmox.com> (raw)

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




             reply	other threads:[~2026-08-10 14:35 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-08-10 14:34 Dominik Csapak [this message]
2026-08-10 14:34 ` [PATCH yew-widget-toolkit-assets 1/4] navigation rail: style the expand button Dominik Csapak
2026-08-10 14:34 ` [PATCH yew-widget-toolkit 2/4] touch: navigation rail: move auto layout from AdaptiveScaffold Dominik Csapak
2026-08-10 14:34 ` [PATCH yew-widget-toolkit 3/4] touch: navigation rail: add an optional expand button Dominik Csapak
2026-08-10 14:34 ` [PATCH yew-widget-toolkit 4/4] touch: adaptive scaffold: pass the rail group alignment through Dominik Csapak

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20260810143536.31163-1-d.csapak@proxmox.com \
    --to=d.csapak@proxmox.com \
    --cc=yew-devel@lists.proxmox.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
Service provided by Proxmox Server Solutions GmbH | Privacy | Legal