[pdm-devel] [PATCH datacenter-manager v5 10/10] ui: dashboard: guest panel: add search icon for better discoverability

Dominik Csapak d.csapak at proxmox.com
Wed Sep 3 15:09:26 CEST 2025


of the search function. With this icon, it should be clear that one
can click/press these items.

Signed-off-by: Dominik Csapak <d.csapak at proxmox.com>
---
no changes in v5
 ui/src/dashboard/guest_panel.rs | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/ui/src/dashboard/guest_panel.rs b/ui/src/dashboard/guest_panel.rs
index af35c2c..814ecfa 100644
--- a/ui/src/dashboard/guest_panel.rs
+++ b/ui/src/dashboard/guest_panel.rs
@@ -85,7 +85,7 @@ impl yew::Component for PdmGuestPanel {
         })
         .padding(4)
         .class(css::Flex::Fill)
-        .grid_template_columns("auto auto 1fr");
+        .grid_template_columns("auto auto 1fr auto");
 
         list.into()
     }
@@ -145,6 +145,7 @@ fn create_list_tile(
                     .padding_end(2)
                     .with_child(count),
             )
+            .with_child(Fa::new("search"))
             // FIXME: repalce with on_activate for `ListTile` when implemented
             .onclick(link.callback(move |_| create_guest_search_term(guest_type, status, template)))
             .onkeydown(link.batch_callback(
-- 
2.47.2





More information about the pdm-devel mailing list