[pve-devel] [PATCH manager] ui: resource tree: add collapse/expand all button
Thomas Lamprecht
t.lamprecht at proxmox.com
Tue Nov 19 10:30:14 CET 2024
Am 19.11.24 um 10:22 schrieb Dominik Csapak:
> which defaults to expand all, and only if all expanded, collapse all.
>
> Changes icon dynamically when nodes expand/collapse.
>
> Signed-off-by: Dominik Csapak <d.csapak at proxmox.com>
> ---
> if we'd find an icon that would fit for both cases, we could omit the
> event bubbling probably. If there are many nodes, the 'hasCollapsed'
> check will trigger more often, iterating over all tree nodes..
We could also just do two separate buttons, FWIW.
More information about the pve-devel
mailing list