[pdm-devel] superseded: [PATCH datacenter-manager 00/18] enable custom views on the UI
Dominik Csapak
d.csapak at proxmox.com
Fri Nov 14 13:13:01 CET 2025
superseded by v2:
https://lore.proxmox.com/pdm-devel/20251114121218.2479318-1-d.csapak@proxmox.com/
On 11/12/25 5:19 PM, 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.
>
> 0:https://lore.proxmox.com/pdm-devel/20251112103510.158127-1-
> l.wagner at proxmox.com/T/#t
More information about the pdm-devel
mailing list