[MGNLUI-3398] Redesign action capabilities: multi-item, command-based, asynchronous Created: 08/Apr/15  Updated: 15/Dec/22  Resolved: 15/Dec/22

Status: Closed
Project: Magnolia UI
Component/s: framework
Affects Version/s: 5.3.7
Fix Version/s: None

Type: Epic Priority: Major
Reporter: Christoph Meier Assignee: Unassigned
Resolution: Obsolete Votes: 2
Labels: tech-debt, usability
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Relates
relates to MAGNOLIA-6560 Isolation level of MarkNodeAsDeleted ... Closed
dependency
is depended upon by MAGNOLIA-6246 Send and show fewer messages when del... Open
is depended upon by MGNLUI-3606 Batch actions for publishing, duplica... Closed
is depended upon by MGNLUI-3585 Action bar is not well structured whe... Closed
relation
is related to MGNLUI-3341 Avoid multiple asynchronous tasks and... Closed
supersession
supersedes MGNLUI-3107 Publishing deletion right after delet... Closed
Template:
Epic Name: Redesign action capabilities
Acceptance criteria:
Empty
Date of First Response:

 Description   

Current implementation of async actions for multiple items must be improved.

  1. Class hierarchy is inconvenient
    • AbstractAction => AbstractMultiItemAction => AbstractCommandAction (which historically states it should not be called for multiple items)
    • This makes it very difficult for an action to compose such capabilities.
  2. Notifications do not work well w/ async and multiple items
  3. Async support is not really async
    • UI may still be blocked while supposedly async action execution takes place
    • We should reconsider hijack usage of scheduler in there
    • Proper async support depends on servlet 3; we need to evaluate consequences (e.g. on filters/filter chain) and build this appropriately
    • Push alone won't solve those issues for us

Other points which may be revisited:

  1. Availability (esp. towards multi-item)
  2. Callback hell, exposing more context, params, UI components to actions & save actions


 Comments   
Comment by Christopher Zimmermann [ 07/Jul/16 ]

While revisiting multi-item topic: Please also consider choose dialog where we will eventually add multiple item selection, maybe there is some synergy in solutions. (https://jira.magnolia-cms.com/browse/MGNLUI-3197)

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