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: [RFC yew-widget-toolkit/yew-widget-toolkit-assets 0/2] Animate navigation drawer menus collapsing/expanding
Date: Fri, 19 Jun 2026 09:44:26 +0200	[thread overview]
Message-ID: <20260619074434.705653-1-d.csapak@proxmox.com> (raw)

This is a common UI pattern so implement it. The current version only uses
a 0.1s animation time, so it should not reduce the usability at all but
gives a nice feedback for expanding/collapsing.

Sending as RFC regardless since I'm not sure if we want to enable this by
default or not.


proxmox-yew-widget-toolkit-assets:

Dominik Csapak (1):
  nav: add classes for animated navigation drawer menus

 scss/_nav.scss | 30 ++++++++++++++++++++++++++++++
 1 file changed, 30 insertions(+)


proxmox-yew-widget-toolkit:

Dominik Csapak (1):
  widget: navigation drawer: make menu collapsing/expanding animated

 src/dom/focus.rs                    | 30 ++++++++++++++++++++++++-----
 src/widget/nav/navigation_drawer.rs | 24 ++++++++++++++++++-----
 2 files changed, 44 insertions(+), 10 deletions(-)


Summary over all repositories:
  3 files changed, 74 insertions(+), 10 deletions(-)

-- 
Generated by murpp 0.11.0




             reply	other threads:[~2026-06-19  7:45 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-06-19  7:44 Dominik Csapak [this message]
2026-06-19  7:44 ` [PATCH yew-widget-toolkit-assets 1/2] nav: add classes for animated navigation drawer menus Dominik Csapak
2026-06-19  7:44 ` [PATCH yew-widget-toolkit 2/2] widget: navigation drawer: make menu collapsing/expanding animated 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=20260619074434.705653-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