all lists on lists.proxmox.com
 help / color / mirror / Atom feed
* [PATCH datacenter-manager v2 0/3] ui: search: improve filter UX
@ 2026-12-01 15:45 Dominik Csapak
  2026-12-01 15:45 ` [PATCH datacenter-manager v2 1/3] pdm-search: keep the order of the search terms Dominik Csapak
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Dominik Csapak @ 2026-12-01 15:45 UTC (permalink / raw)
  To: pdm-devel

By doing two things:
* show the applied category filters as 'chips' that can be removed
  easily
* show a 'filter add' panel above the search bar, so users
  can easily discover which filter there are. also use the panel
  to explain the search syntax and implications of required and optional
  searches.

changes from v1:
* add the 'folder' category: its values are picked from the folders the
  user can open, and like views, folder filters are always required,
  since the server limits the results to the selected folder
* take the views for the filter panel from the view list context
  instead of loading them separately
* create the submit callback for the filter panel only once, so the
  panel isn't rendered again on every input in the search box
* match the category titles and value inputs on the parsed
  SearchCategory, so a new category fails to compile instead of being
  shown as an unknown one
* use Row/Column and the typed css helpers instead of class strings

Dominik Csapak (3):
  pdm-search: keep the order of the search terms
  ui: search box: show categorized search terms as chips
  ui: search box: add a panel to add and edit search filters

 lib/pdm-search/src/lib.rs            |  62 ++--
 ui/css/pdm.scss                      |  13 +
 ui/src/widget/mod.rs                 |   1 +
 ui/src/widget/search_box.rs          | 420 ++++++++++++++++++++++----
 ui/src/widget/search_filter_panel.rs | 427 +++++++++++++++++++++++++++
 5 files changed, 835 insertions(+), 88 deletions(-)
 create mode 100644 ui/src/widget/search_filter_panel.rs

-- 
2.47.3





^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2026-12-01 15:47 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-12-01 15:45 [PATCH datacenter-manager v2 0/3] ui: search: improve filter UX Dominik Csapak
2026-12-01 15:45 ` [PATCH datacenter-manager v2 1/3] pdm-search: keep the order of the search terms Dominik Csapak
2026-12-01 15:45 ` [PATCH datacenter-manager v2 2/3] ui: search box: show categorized search terms as chips Dominik Csapak
2026-12-01 15:45 ` [PATCH datacenter-manager v2 3/3] ui: search box: add a panel to add and edit search filters Dominik Csapak

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.
Service provided by Proxmox Server Solutions GmbH | Privacy | Legal