[pdm-devel] [PATCH datacenter-manager 00/18] enable custom views on the UI

Dominik Csapak d.csapak at proxmox.com
Fri Nov 14 11:56:42 CET 2025



On 11/14/25 11:20 AM, Lukas Wagner wrote:
> On Wed Nov 12, 2025 at 5:11 PM CET, Dominik Csapak wrote:
>> With this series, users are able to add/edit/delete custom views.
>>
>> NOTE: this series is based on Lukas' series (v4) for the backend[0]
>>
>> A new 'Views' menu entry is added where the CRUD ui sits, and an entry
>> for each view below it.
>>
>> The includes/excludes are editable from the CRUD grid, and the layout is
>> editable in the view itself.
>>
>> For now i opted to make the layout part of the `ViewConfig` struct, but
>> as a simple json-string only, because we're not able to use the
>> api-macro (for now; the rust enum features i use are currently not
>> supported there). To verify it regardless, we try to deserialize
>> the layout in the add/update call, so that no wrong layout can enter
>> the config (via the api).
>>
>> The patch 'ui: dashboard: prepare view for editint custom views'
>> is adapted from my last series, but all other changes are new,
>> especially the CRUD api.
>>
>> There are still a few parts missing/wrong, namely
>> * while the api is prepared, clicking on guest status items does not
>>    yet populate the search field with a '+view:foo' term
>> * subscriptions panels are still added by default when none is in the
>>    layout itself (the plan is to move the subscription notice)
>> * i'm still working on making the 'resource tree' a full widget that
>>    users can add to their views.
>>
> 
> Seems like this needs a rebase :)

yep, i'll send one today





More information about the pdm-devel mailing list