See www.zabbix.com for the official Zabbix site.

Docs/specs/ZBXNEXT-1493

From Zabbix.org
Jump to: navigation, search

Change action dropdowns to buttons

ZBXNEXT-1493

Status: 1.0

Owner: Richlv

Dependencies: this development depends on conversion of HTML inputs to buttons, otherwise we won't be able to set action per button

Summary

Zabbix 1.8 changed activity buttons to dropdowns. This change negatively affects usability and buttons should be used instead.

Specification

See https://www.zabbix.org/wiki/Death_to_the_dropdowns#Activity_dropdowns for the rationale.

Activity dropdowns at the bottom of various pages should be changed to buttons. Labels like Enable selected should be shortened to Enable. Labels for buttons that lead to another page should have trailing ellipsis (3 dots without a space between label and the dots).

It has been decided not to identify buttons that lead to other pages, thus ellipsis will be removed from the existing buttons.

Go button should be removed.

In front of the buttons, selected element counter should be added. It should accommodate 4 digits without changing width - if more would be required, it should change width appropriately. The counter should be followed by word selected. Counter text, along with the number, should be translatable as a plural string. If no entries are selected, text 0 selected should be displayed.

Buttons should be disabled when no elements are selected and enabled when at least one element is selected.

Button ordering should be changed to be more consistent, see #Button ordering.

All the confirmation popups should stay the same.

The buttons should wrap.

Mockups

The suggested approach is to do show the counter on the same background as the bar - note that it might have to be inverted in the dark themes.

Action-counter.png

Details

Full list of pages that should be changed. Changed strings are indicated here, too.

Specific pages

Monitoring

  • Monitoring -> Latest data
    • Display stacked graph
    • Display graph
  • Monitoring -> Triggers
    • Bulk acknowledge

Configuration

  • Configuration -> Host groups
    • Enable selected -> Enable hosts <--- suggested to clarify which entities will be changed
    • Disable selected -> Disable hosts <--- suggested to clarify which entities will be changed
    • Delete selected -> Delete
  • Configuration -> Templates
    • Export selected -> Export
    • Delete selected -> Delete
    • Delete selected with linked elements -> Delete and clear <--- suggested to be consistent with other locations
  • Configuration -> Hosts
    • Export selected -> Export
    • Mass update -> Mass update
    • Enable selected -> Enable
    • Disable selected -> Disable
    • Delete selected -> Delete
  • Configuration -> Maintenance
    • Delete selected -> Delete
  • Configuration -> Actions
    • Enable selected -> Enable
    • Disable selected -> Disable
    • Delete selected -> Delete
  • Configuration -> Screens
    • Export selected -> Export
    • Delete selected -> Delete
  • Configuration -> Slide shows
    • Delete selected -> Delete
  • Configuration -> Maps
    • Export selected -> Export
    • Delete selected -> Delete
  • Configuration -> Discovery
    • Enable selected -> Enable
    • Disable selected -> Disable
    • Delete selected -> Delete
Host/template entities
  • Configuration -> Applications
    • Enable selected -> Enable
    • Disable selected -> Disable
    • Delete selected -> Delete
  • Configuration -> Items
    • Enable selected -> Enable
    • Disable selected -> Disable
    • Force check <--- after ZBXNEXT-473
    • Mass update -> Mass update
    • Copy selected to ... -> Copy
    • Clear history for selected -> Clear history
    • Delete selected -> Delete
  • Configuration -> Triggers
    • Enable selected -> Enable
    • Disable selected -> Disable
    • Mass update -> Mass update
    • Copy selected to ... -> Copy
    • Delete selected -> Delete
  • Configuration -> Graphs
    • Copy selected to ... -> Copy
    • Delete selected -> Delete
  • Configuration -> Discovery rules
    • Enable selected -> Enable
    • Disable selected -> Disable
    • Force check <--- after ZBXNEXT-473
    • Delete selected -> Delete
  • Configuration -> Discovery rules -> Item prototypes
    • Enable selected -> Enable
    • Disable selected -> Disable
    • Delete selected -> Delete
  • Configuration -> Discovery rules -> Graph prototypes
    • Delete selected -> Delete
  • Configuration -> Discovery rules -> Host prototypes
    • Enable selected -> Enable
    • Disable selected -> Disable
    • Delete selected -> Delete
  • Configuration -> Web scenarios
    • Enable selected -> Enable
    • Disable selected -> Disable
    • Clear history for selected -> Clear history
    • Delete selected -> Delete

Administration

  • Administration -> General -> Regular expressions
    • Delete selected -> Delete
  • Administration -> Proxies
    • Enable selected -> Enable hosts <--- suggested to clarify which entities will be changed
    • Disable selected -> Disable hosts <--- suggested to clarify which entities will be changed
    • Delete selected -> Delete
  • Administration -> Users -> User groups
    • Enable selected -> Enable
    • Disable selected -> Disable
    • Enable debug mode
    • Disable debug mode
    • Delete selected -> Delete
  • Administration -> Users
    • Unblock selected -> Unblock
    • Delete selected -> Delete
  • Administration -> Media types
    • Enable selected -> Enable
    • Disable selected -> Disable
    • Delete selected -> Delete
  • Administration -> Scripts
    • Delete selected -> Delete

Button ordering

Potential ordering of the buttons, listing actions on pages that share actions with other pages. Here, common things like enable/disable are placed first, and common delete action is placed last. Actions that lead to additional pages are placed together.

  • Enable
  • Enable hosts
  • Disable
  • Disable hosts
  • Export
  • Enable debug mode
  • Disable debug mode
  • Clear history
  • Copy
  • Mass update
  • Unblock
  • Delete
  • Delete and clear

Translation strings

  • Changed
    • Clear history for selected -> Clear history
    • Delete selected with linked elements -> Delete and clear
    • Export selected -> Export
    • Unblock selected -> Unblock
  • Removed
    • Enable selected
    • Disable selected
    • Delete selected
    • Copy selected to ...
  • Added
    • Disable hosts
    • Enable hosts

Out of scope

Ability to add icons on buttons should be investigated, but currently it is out of scope for this development.

Documentation

  • What's new
  • Screenshots of most pages (see #Details above for exact list of pages)
  • Description of most pages (see #Details above for exact list of pages)

ChangeLog

  • N/A