[PAGES-1574] Make messaging for "Asynchronous actions" persistent Created: 06/Feb/24  Updated: 09/Feb/24

Status: Accepted
Project: Magnolia pages module
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Improvement Priority: Normal
Reporter: Laura Delnevo Assignee: Unassigned
Resolution: Unresolved Votes: 0
Labels: performance, usability
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Attachments: PNG File bg task indicator.png    
Template:
Acceptance criteria:
Empty
Task DoD:
[ ]* Doc/release notes changes? Comment present?
[ ]* Downstream builds green?
[ ]* Solution information and context easily available?
[ ]* Tests
[ ]* FixVersion filled and not yet released
[ ]  Architecture Decision Record (ADR)
Epic Link: ui progress feedback

 Description   

Current behaviour

https://docs.magnolia-cms.com/product-docs/6.2/Apps/App-configuration/Action-definition.html#_asynchronous_actions 

Setting the asynchronous property to true allows you to run a command action asynchronously in the background. Use this feature for long-running actions that would otherwise block the UI and prevent the user from continuing their work.
When a user launches an asynchronous action, Magnolia starts to execute the action immediately. If the action is not completed within five seconds, the system will notify the user that the action will take a while to complete.

The notification will disappear after 2 seconds. The user doesn't have any visual feedback to know what's happening or what the status of the progress is - especially when users do not have enough time to read the (blue) message 

Desired behaviour

Make the yellow message persistence, so that it doesn't disappear after 2 secs. Instead the user intentionally needs to click on ( x ) to acknowledge the message and make it disappear.

Context

This ticket describes a shorter term improvement until we a more general solution is available. E.g. an indicator showing in progress background tasks. See these mock ups for current work in progress by prodrigues.


Generated at Mon Feb 12 06:29:22 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.