public inbox for pmg-devel@lists.proxmox.com
 help / color / mirror / Atom feed
From: Mira Limbeck <m.limbeck@proxmox.com>
To: pmg-devel@lists.proxmox.com
Subject: Re: [pmg-devel] [PATCH pmg-gui v2] fix #4510: add filter box to many grids
Date: Wed, 21 Feb 2024 15:45:56 +0100	[thread overview]
Message-ID: <345df02c-9e53-4547-b09d-c9bd5dbac9ce@proxmox.com> (raw)
In-Reply-To: <20240221130139.1950462-1-d.csapak@proxmox.com>

On 2/21/24 14:01, Dominik Csapak wrote:
> namely relay domains, transports, trusted networks, smtp whitelist +
> when/what/who object grids.
> 
> Adds a new 'FilterField', that takes a store and a list of columns to
> filter, and filters on every change.
> 
> Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
> ---
> changes from v1:
> * lookup store automatically
> * add ability to add a renderer so that we can match that what is displayed
> * add that for the ObjectGroup's otype filter (previously otype_text)
> 
>  js/Makefile            |  1 +
>  js/MyNetworks.js       |  5 ++++
>  js/ObjectGroup.js      | 11 ++++++++
>  js/RelayDomains.js     |  5 ++++
>  js/Transport.js        |  5 ++++
>  js/form/FilterField.js | 58 ++++++++++++++++++++++++++++++++++++++++++
>  6 files changed, 85 insertions(+)
>  create mode 100644 js/form/FilterField.js
> 

The ObjectGroup filter now works on the visible text, as one would expect.

One thing I found:
IP: 10.67.0.100
Filter: 10.67. -> works

IP: 10.67.0.100
Filter: 10.67.1 -> no match

now, when you remove the `1` it should show a match again, but doesn't.
only clearing the whole filter and adding the `10.67.` again works.






  reply	other threads:[~2024-02-21 14:46 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-02-21 13:01 Dominik Csapak
2024-02-21 14:45 ` Mira Limbeck [this message]
2024-02-21 16:55   ` Thomas Lamprecht
2024-02-21 16:57     ` Thomas Lamprecht

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=345df02c-9e53-4547-b09d-c9bd5dbac9ce@proxmox.com \
    --to=m.limbeck@proxmox.com \
    --cc=pmg-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