[ZBXNEXT-1986] Selection shortcuts for comboboxes Created: 2013 Oct 26  Updated: 2014 Aug 21

Status: Open
Project: ZABBIX FEATURE REQUESTS
Component/s: Frontend (F)
Affects Version/s: 2.0.9
Fix Version/s: None

Type: Change Request Priority: Trivial
Reporter: Marc Assignee: Unassigned
Resolution: Unresolved Votes: 4
Labels: patch, selection, unsquashable, usability
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Attachments: Text File ZBXNEXT-1986-2.0.10-non_vanilla_patches.txt     PNG File ZBXNEXT-1986-2.0.9.A.PNG     PNG File ZBXNEXT-1986-2.0.9.B.PNG     PNG File ZBXNEXT-1986-2.0.9.C.PNG     File ZBXNEXT-1986-2.0.9.patch     File zabbix-2.2.0-ZBXNEXT-1986.patch     File zbxNext1986-2.2.5.patch    

 Description   

When having a lot of items in a combo-box it might be a bit annoying to get 'all' selected.
Especially in connection with ZBXNEXT-370 it's pretty nice to get a single combo-box or all combo-boxes selected for 'all' items by a shortcut.

Shortcuts are only displayed if 'All' or 'None / offer all' is configured for 'Dropdown first entry'



 Comments   
Comment by Marc [ 2013 Oct 27 ]

Attached patch adds mentioned shortcuts to Monitoring->Triggers and to Configuration->Web.
Just to show the idea. I've implemented this feature additionally (see ZBXNEXT-1986-2.0.10-non_vanilla_patches.txt) in:

  • Monitoring->Web
  • Monitoring->Latest data
  • Monitoring->Events
  • Monitoring->Graphs
  • Configuration->Templates
  • Configuration->Hosts
  • Configuration->Maintenance
Comment by Volker Fröhlich [ 2014 Jan 07 ]

Attached straight 2.2 port of the example patch

I'd argue the links could be hidden if the selection already matches what the links are meant for.

The advantage of having a link for single fields is mostly in saving one click and the navigation to "all".

Comment by Marc [ 2014 Jan 07 ]

Attached file:
ZBXNEXT-1986-2.0.10-non_vanilla_patches.txt

includes additional diffs against non vanilla files what means they may include (parts of) other custom patches.
Any diff needs to be reviewed before applying it!

Comment by Marc [ 2014 Aug 21 ]

Attached patch zbxNext1986-2.2.5.patch adds shortcuts to:

  • Monitoring->Overview
  • Monitoring->Web
  • Monitoring->Latest data
  • Monitoring->Triggers
  • Monitoring->Events
  • Inventory->Overview
  • Inventory->Host
  • Configuration->Templates
  • Configuration->Hosts
  • Configuration->Maintenance

As in previous patches the shortcuts are only displayed when having 'Dropdown first entry' set to 'All'

If one has manually enforced a different first Dropdown entry (e.g., deny_all) then this is not recognized and the shortcuts might be displayed anyway.
In such case just omit the respective file from patching or remove the shortcut functionality manually afterwards.

Generated at Tue Apr 16 07:23:31 EEST 2024 using Jira 9.12.4#9120004-sha1:625303b708afdb767e17cb2838290c41888e9ff0.