[pdm-devel] [RFC network/proxmox{, -backup, -api-types, -yew-comp, -datacenter-manager} v2 00/32] Add initial SDN / EVPN integration

Stefan Hanreich s.hanreich at proxmox.com
Tue Aug 26 16:13:32 CEST 2025


On 8/26/25 4:12 PM, Dominik Csapak wrote:
[snip]

>>>   * Clicking the refresh button should IMO not collapse the tree.
>>
>> Not sure how I can prevent that, since I rebuild the tree after every
>> request so it will 'reset' to the collapsed state. Maybe @Dominik has an
>> idea?
>>
> 
> for the root node of a tree, there are
> `extract_expanded_state()` and `apply_expanded_state()` so
> the idea here is you extract the state, refresh, and then apply the old
> state again. assuming the keys did not change, this should keep the
> expansion state

Definitely missed that - thanks for the pointer! I'll fix that in the v3
then!

[snip]




More information about the pdm-devel mailing list