[ZBXNEXT-5110] Select Items popup with better visual sizing Created: 2019 Mar 15  Updated: 2024 Apr 10

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

Type: Change Request Priority: Minor
Reporter: Roman Rajniak Assignee: Valdis Murzins
Resolution: Unresolved Votes: 2
Labels: items, popups, usability
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Browser: Internet Explorer


Attachments: PNG File Popup-CHelpItems-ChangeTo4.2(plan).png     PNG File Popup-CHelpItems-ChangeTo4.2(plan)_added_space_char.png     PNG File Popup-CHelpItems-ChangeTo4.2(plan)_max-width_1200px.png     PNG File Popup-CHelpItems-Original4.2.png    
Team: Team B

 Description   

In popup for select item key on form=create Items are displayed two columns: Key and Name for description help.

Width of these columns are dynamically sized, but it seems very ugly, because for item type Zabbix agent and Zabbix agent (active) is in list very long item key: vfs.dir.count with 10 parameters.

With inserting space in the middle of parameters this text will be wrapped and in popup column for Key size is shortened. Second Name column use then more space in rest width and less wrapped text in next lines. PatchFile for ./zabbix/include/classes/items/CHelpItems.php with inserting space char in lines 272 and 578 on 101 column.

Finaly this popup with less lines and white-space between Items is shorter and better for reading.

Also with implementing customizable width with new macro definition in include definition file like('ZBX_ACTIONS_POPUP_MAX_WIDTH' ) in ZBXNEXT-4784 , we also could set max-width in inline style for larger value then 1024, which is in css definition for .modal-popup.overlay-dialogue


Generated at Tue Apr 23 23:34:38 EEST 2024 using Jira 9.12.4#9120004-sha1:625303b708afdb767e17cb2838290c41888e9ff0.