[pdm-devel] applied: [PATCH datacenter-manager v3] ui: top entities: show hint message if there are no entities
Lukas Wagner
l.wagner at proxmox.com
Tue Jan 13 15:25:21 CET 2026
On Tue Jan 13, 2026 at 1:52 PM CET, Shan Shaji wrote:
> When the entities list was empty, the dashboard did not display any
> message inside the Top Entities panels. This change adds a empty-state
> message so the panels provide proper feedback when no entries are
> available.
>
> Signed-off-by: Shan Shaji <s.shaji at proxmox.com>
> ---
> changes since v2: Thanks @Lukas
> - Removed new line changes
> - Updated commit message.
> - Added `if` clause for better readability.
>
> changes since v1: Thanks @Dominik
> - Removed the extra property inside the TopEntities struct.
> - Added optional_child to the Panel to show the empty error message.
> - There was an empty space caused by the `TopEntities` component when the
> entities list was empty. Inorder to fix that now the TopEntities will
> only be rendered if the entities list is not empty.
>
Applied, thanks!
I folded a cargo fmt change into your commit, but nothing major.
More information about the pdm-devel
mailing list