all lists on lists.proxmox.com
 help / color / mirror / Atom feed
* [PATCH datacenter-manager/yew-widget-toolkit v2 0/3] ui: persist the main menus expanded state
@ 2026-09-04 10:26 Dominik Csapak
  2026-09-04 10:26 ` [PATCH yew-widget-toolkit v2 1/3] widget: navigation drawer: fix first open for default collapsed menus Dominik Csapak
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Dominik Csapak @ 2026-09-04 10:26 UTC (permalink / raw)
  To: pdm-devel

By saving the state in the browsers local storage.

It also fixes an issue where menus that were collapsed by default wouldn't open
on the first click.

Note that for the pdm patches, pwt must be bumped and the new version must be
recorded in Cargo.toml.

the mechanism did change a bit, so i left out the r-b and t-b from lukas
(Thanks though!)

changes from v1:
* nested the persistent structure into an object with a new struct
* moved the logic into the main struct, so the persistent state can live
  in a seperate property/struct
* when defaults change, keeps now the current state instead of expanding
  collapsing.


proxmox-yew-widget-toolki:

Dominik Csapak (2):
  widget: navigation drawer: fix first open for default collapsed menus
  widget: navigation drawer: allow persisting the expanded state

 src/widget/nav/navigation_drawer.rs | 149 +++++++++++++++++++++++-----
 1 file changed, 126 insertions(+), 23 deletions(-)


proxmox-datacenter-manager:

Dominik Csapak (1):
  ui: main menu: make expanded/collapsed state persistent

 ui/src/main_menu.rs | 1 +
 1 file changed, 1 insertion(+)


Summary over all repositories:
  2 files changed, 127 insertions(+), 23 deletions(-)

-- 
Generated by murpp 0.11.0




^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2026-09-04 10:26 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-09-04 10:26 [PATCH datacenter-manager/yew-widget-toolkit v2 0/3] ui: persist the main menus expanded state Dominik Csapak
2026-09-04 10:26 ` [PATCH yew-widget-toolkit v2 1/3] widget: navigation drawer: fix first open for default collapsed menus Dominik Csapak
2026-09-04 10:26 ` [PATCH yew-widget-toolkit v2 2/3] widget: navigation drawer: allow persisting the expanded state Dominik Csapak
2026-09-04 10:26 ` [PATCH datacenter-manager v2 3/3] ui: main menu: make expanded/collapsed state persistent Dominik Csapak

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.
Service provided by Proxmox Server Solutions GmbH | Privacy | Legal