Improve the usability of the image editor (MGNLDAM-341)

[MGNLDAM-343] Zoom actions should show if they are enabled Created: 19/Nov/13  Updated: 23/Apr/21  Resolved: 23/Apr/21

Status: Closed
Project: Magnolia DAM Module
Component/s: User Interaction
Affects Version/s: 1.2
Fix Version/s: None

Type: Sub-task Priority: Neutral
Reporter: Andreas Weder Assignee: Unassigned
Resolution: Outdated Votes: 0
Labels: actionbar, actions, image_editor, usability
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Attachments: PNG File 1 Zoom.fit.png     PNG File 2 Zoom.canvas.png     PNG File 3 Zoom.actual.png    
Template:
Team: AuthorX

 Description   

Currently, it's unclear which zoom variant is currently active. The idea actually was that the zoom actions would remain selected (or: "enabled, see below) if clicked, so that this would be clear (see screen shots).

This change request requires to:

  • change actions to be able to optionally have a state (enabled/not enabled)
    • if an action's state is "enabled", the action's text color becomes green (same as green shown on hover, currently), else it's white
    • on hover, an "enabled" action remains green (don't show white on hover)
    • on click, an "enabled" action shows its text in white. You can click on an "enabled" action again, to re-enable and reset it-
  • ensure that the current zoom variant is indicated by the corresponding action being "enabled"

Generated at Mon Feb 12 04:58:54 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.