[pve-devel] applied: [PATCH widget-toolkit 1/1] node/Tasks: merge improvements from PBS and make it more generic

Thomas Lamprecht t.lamprecht at proxmox.com
Mon Jun 28 17:47:34 CEST 2021


On 24.06.21 09:16, Dominik Csapak wrote:
> this copies most of the task grid from pbs, but adds handling so that
> users can add aribtrary filter fields
> 
> the filter fields always present are:
> * since
> * until
> * task type
> * task status
> 
> other filters fields can be added by giving an 'extraFilter' array
> which must contain widget definitions that emit a 'change' event.
> this is then used to update the filters for the api call
> 
> also you can add a 'preFilter' object, that sets the filter parameter
> only once at the beginning
> 
> Signed-off-by: Dominik Csapak <d.csapak at proxmox.com>
> ---
>  src/css/ext6-pmx.css |   4 +
>  src/node/Tasks.js    | 578 ++++++++++++++++++++++++++++++-------------
>  2 files changed, 411 insertions(+), 171 deletions(-)
> 
>

applied, thanks!





More information about the pve-devel mailing list