pve-manager/www/manager6/form
Dominik Csapak f0535b036d ui: bulk actions: rework filters and include tags
This moves the filters out of the grid header for the BulkActions and
puts them into their own fieldset above the grid. With that, we can
easily include a tags filter (one include and one exclude list).

The filter fieldset is collapsible and shows the active filters in
parenthesis. aside from that the filter should be the same as before.

To achieve the result, we regenerate the filterFn on every change of
every filter field, and set it with an 'id' so that only that filter is
overridden each time.

To make this work, we have to change three tiny details:
* manually set the labelWidths for the fields, otherwise it breaks
  the ones in the fieldset.
* change the counting in the 'getErrors' of the VMSelector, so that we
  actually get the count of selected VMs, not the one from the
  selectionModel
* override the plugins to '' in the BulkAction windows, so that e.g. in
  the backup window we still have the filters in the grid header
  (we could add a filter box there too, but that is already very crowded
  and would take up too much space for now)

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2023-11-09 12:10:48 +01:00
..
ACMEAccountSelector.js ui: eslint: fix trailing comma and comma related whitespaces errors 2021-01-19 17:31:03 +01:00
ACMEAPISelector.js ui: fix usage of findRecord 2020-11-26 10:52:07 +01:00
ACMEPluginSelector.js ui: add ACME selector formfields for account and plugins 2020-05-06 17:49:35 +02:00
AgentFeatureSelector.js ui: qga: Add option to turn off QGA fs-freeze/-thaw on backup 2023-06-07 18:28:01 +02:00
BackupCompressionSelector.js ui: clarify that compression selector is for backup only 2023-10-11 15:59:45 +02:00
BackupModeSelector.js ui: eslint: fix trailing comma and comma related whitespaces errors 2021-01-19 17:31:03 +01:00
BandwidthSelector.js ui: size field: allow to specifiy emptyValue 2021-04-26 14:25:02 +02:00
BridgeSelector.js ui: eslint: enforce "no-extra-parens" rule 2021-01-19 17:42:36 +01:00
BusTypeSelector.js ui: BusTypeSelector: change noVirtIO to withVirtIO 2022-04-07 15:35:17 +02:00
CacheTypeSelector.js ui: eslint: fix trailing comma and comma related whitespaces errors 2021-01-19 17:31:03 +01:00
CalendarEvent.js ui: form/calendar event: add monthly and yearly examples 2022-01-18 05:51:59 +01:00
CephFSSelector.js ui: storage/cephfs: make ceph fs selectable 2021-11-11 17:52:08 +01:00
CephPoolSelector.js ui: ceph: adapt urls to new ceph/pool endpoint 2023-03-20 15:31:04 +01:00
ComboBoxSetStoreNode.js ui: local storage selector: avoid cut-off for node field 2023-01-31 17:59:58 +01:00
ContentTypeSelector.js ui: eslint: fix trailing comma and comma related whitespaces errors 2021-01-19 17:31:03 +01:00
ControllerSelector.js cleanup: style fix 2022-10-24 13:38:23 +02:00
CPUModelSelector.js api: move cpu path into qemu/capabilities 2021-06-09 11:29:34 +02:00
DayOfWeekSelector.js ui: eslint: fix various spacing related issues 2021-01-19 17:39:15 +01:00
DiskFormatSelector.js ui: eslint: fix various spacing related issues 2021-01-19 17:39:15 +01:00
DiskStorageSelector.js fix #4551: ui: use gettext on hardcoded byte units 2023-07-05 09:12:57 +02:00
FileSelector.js ui: eslint: enforce "no-extra-parens" rule 2021-01-19 17:42:36 +01:00
FirewallPolicySelector.js ui: eslint: fix various spacing related issues 2021-01-19 17:39:15 +01:00
GlobalSearchField.js ui: refactor ui option related methods into UIOptions 2023-02-22 09:12:36 +01:00
GroupSelector.js ui: eslint: fix various spacing related issues 2021-01-19 17:39:15 +01:00
GuestIDSelector.js ui: eslint: fix trailing comma and comma related whitespaces errors 2021-01-19 17:31:03 +01:00
HashAlgorithmSelector.js ui: add HashAlgorithmSelector 2021-06-21 11:25:58 +02:00
HotplugFeatureSelector.js ui: eslint: fix various spacing related issues 2021-01-19 17:39:15 +01:00
IPProtocolSelector.js ui: eslint: fix various spacing related issues 2021-01-19 17:39:15 +01:00
IPRefSelector.js firewall: add scope field to IPRefSelector 2023-06-15 09:35:32 +02:00
iScsiProviderSelector.js ui: eslint: fix various spacing related issues 2021-01-19 17:39:15 +01:00
ListField.js ui: form: listfield: add 5px padding between grid and 'Add' button 2023-08-02 09:57:10 +02:00
MDevSelector.js ui: mdev selector: avoid separate gettext for "Avail" 2022-10-04 13:54:10 +02:00
MemoryField.js ui: eslint: enforce "no-extra-parens" rule 2021-01-19 17:42:36 +01:00
MultiFileButton.js fix #4758: ui: lxc wizard: allow multiple ssh keys 2023-07-15 23:26:34 +02:00
MultiPCISelector.js ui: pci map edit: reintroduce warnings checks 2023-06-21 10:03:52 +02:00
NetworkCardSelector.js ui: eslint: fix trailing comma and comma related whitespaces errors 2021-01-19 17:31:03 +01:00
NodeSelector.js ui: form/Node Selector: eslint fixes and code cleanup/refactoring 2021-05-18 16:50:38 +02:00
NotificationModeSelector.js ui: backup: allow to select notification target for jobs 2023-08-16 11:11:12 +02:00
NotificationPolicySelector.js ui: backup: allow to select notification target for jobs 2023-08-16 11:11:12 +02:00
NotificationTargetSelector.js ui: backup: allow to select notification target for jobs 2023-08-16 11:11:12 +02:00
PCIMapSelector.js ui: add some missing htmlEncodes 2023-07-25 16:59:09 +02:00
PCISelector.js ui: improve permission handling for hardware 2023-06-19 08:30:53 +02:00
PermPathSelector.js ui: perm path: increase width of the perm path selector combobox 2023-08-16 11:11:21 +02:00
PoolSelector.js ui: eslint: fix various spacing related issues 2021-01-19 17:39:15 +01:00
PreallocationSelector.js ui: add PreallocationSelector 2021-10-21 12:14:38 +02:00
PrivilegesSelector.js ui: form/Priv.Selector: eslint fixes and code cleanup/refactoring 2021-05-18 16:50:53 +02:00
QemuBiosSelector.js ui: eslint: fix trailing comma and comma related whitespaces errors 2021-01-19 17:31:03 +01:00
ScsiHwSelector.js ui: eslint: fix trailing comma and comma related whitespaces errors 2021-01-19 17:31:03 +01:00
SDNControllerSelector.js sorters: use correct property 'direction' and keep default 'ASC' 2021-12-16 10:11:48 +01:00
SDNDnsSelector.js sorters: use correct property 'direction' and keep default 'ASC' 2021-12-16 10:11:48 +01:00
SDNIpamSelector.js sorters: use correct property 'direction' and keep default 'ASC' 2021-12-16 10:11:48 +01:00
SDNVnetSelector.js ui: sdn: consistent usage of VNet & VLAN without gettext 2023-06-14 14:10:56 +02:00
SDNZoneSelector.js sorters: use correct property 'direction' and keep default 'ASC' 2021-12-16 10:11:48 +01:00
SecurityGroupSelector.js sorters: use correct property 'direction' and keep default 'ASC' 2021-12-16 10:11:48 +01:00
SnapshotSelector.js ui: eslint: fix various spacing related issues 2021-01-19 17:39:15 +01:00
SpiceEnhancementSelector.js ui: eslint: enforce "dot-notation" rule 2021-01-19 17:45:01 +01:00
StorageScanNodeSelector.js ui: storage: use null as empty value for scanned-node selector 2023-01-18 16:01:08 +01:00
StorageSelector.js sorters: use correct property 'direction' and keep default 'ASC' 2021-12-16 10:11:48 +01:00
Tag.js ui: tags: fix focus for edit mode 2023-10-24 16:48:46 +02:00
TagColorGrid.js ui: refactor ui option related methods into UIOptions 2023-02-22 09:12:36 +01:00
TagEdit.js ui: wizards: allow adding tags in the qemu/lxc create wizard 2023-11-06 17:02:08 +01:00
TagFieldSet.js ui: wizards: allow adding tags in the qemu/lxc create wizard 2023-11-06 17:02:08 +01:00
TFASelector.js ui: auth realm: do not delete tfa if empty on create 2020-04-26 13:35:36 +02:00
TokenSelector.js ui: form/API Token Selector: eslint fixes and code cleanup/refactoring 2021-05-18 16:51:21 +02:00
USBMapSelector.js ui: add some missing htmlEncodes 2023-07-25 16:59:09 +02:00
USBSelector.js ui: improve permission handling for hardware 2023-06-19 08:30:53 +02:00
UserSelector.js fix #4739: ui: user list: add column for group memberships 2023-06-14 15:36:55 +02:00
ViewSelector.js ui: remove 'Storage View' 2023-02-22 09:12:36 +01:00
VLanField.js ui: enable gettext localisation for more user exposed strings 2023-04-24 11:52:23 +02:00
VMCPUFlagSelector.js ui: form/VMCPUFlagSelector: mark radio-buttons as 'not form fields' 2021-05-27 12:43:07 +02:00
VMSelector.js ui: bulk actions: rework filters and include tags 2023-11-09 12:10:48 +01:00
VNCKeyboardSelector.js ui: utils: drop some useles _array helpers, just use Object.entries 2022-04-26 09:07:14 +02:00