public inbox for yew-devel@lists.proxmox.com
 help / color / mirror / Atom feed
From: Nicolas Frey <n.frey@proxmox.com>
To: yew-devel@lists.proxmox.com
Subject: [PATCH proxmox-yew-widget-toolkit 0/5] add multi-select component
Date: Wed, 28 Oct 2026 16:15:10 +0100	[thread overview]
Message-ID: <20261028151517.518742-1-n.frey@proxmox.com> (raw)

as it's already been used in internal GUI, put it into the yew
widget toolkit for potential future use in our products.

first patch is something independent that I noticed while looking
through the data table code. the following two pathces fix existing issues
regarding multi select in a datatable, namely to do with how selection
behaves in combination with filtering.

this multi-select implementation addresses the issue the doc comment
for the Combobox mentions, by listing the selected values in a comma
separated list and breaking at the form input's width.

proxmox-yew-widget-toolkit:

Nicolas Frey (5):
  widget: data table: simplify lookup of keys near the cursor
  widget: data table: only extend explicit select all to new rows
  widget: grid picker: keep selected records hidden by the filter
  widget: form: implement multi select field
  widget: form: combobox: update doc to point to `MultiSelect`

 src/state/data_store.rs             |   3 +
 src/state/store.rs                  |   4 +
 src/state/tree_store/mod.rs         |   4 +
 src/widget/data_table/data_table.rs |  89 +++++---
 src/widget/form/combobox.rs         |   5 +-
 src/widget/form/mod.rs              |   5 +
 src/widget/form/multi_select.rs     | 308 ++++++++++++++++++++++++++++
 src/widget/grid_picker.rs           |   2 +
 8 files changed, 391 insertions(+), 29 deletions(-)
 create mode 100644 src/widget/form/multi_select.rs


Summary over all repositories:
  8 files changed, 391 insertions(+), 29 deletions(-)

--
Generated by murpp 0.12.1




             reply	other threads:[~2026-10-28 15:15 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-10-28 15:15 Nicolas Frey [this message]
2026-10-28 15:15 ` [PATCH proxmox-yew-widget-toolkit 1/5] widget: data table: simplify lookup of keys near the cursor Nicolas Frey
2026-10-28 15:15 ` [PATCH proxmox-yew-widget-toolkit 2/5] widget: data table: only extend explicit select all to new rows Nicolas Frey
2026-10-28 15:15 ` [PATCH proxmox-yew-widget-toolkit 3/5] widget: grid picker: keep selected records hidden by the filter Nicolas Frey
2026-10-28 15:15 ` [PATCH proxmox-yew-widget-toolkit 4/5] widget: form: implement multi select field Nicolas Frey
2026-10-28 15:15 ` [PATCH proxmox-yew-widget-toolkit 5/5] widget: form: combobox: update doc to point to `MultiSelect` Nicolas Frey

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20261028151517.518742-1-n.frey@proxmox.com \
    --to=n.frey@proxmox.com \
    --cc=yew-devel@lists.proxmox.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
Service provided by Proxmox Server Solutions GmbH | Privacy | Legal