[MGNLUI-206] Ensure edit bars only offer non-delete actions Created: 23/Nov/12  Updated: 19/Jun/13  Resolved: 19/Jun/13

Status: Closed
Project: Magnolia UI
Component/s: pages app, user interaction
Affects Version/s: 5.0
Fix Version/s: 5.0

Type: Bug Priority: Critical
Reporter: Andreas Weder Assignee: Unassigned
Resolution: Obsolete Votes: 0
Labels: review-ux-201303, usability
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

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)
Bug DoR:
[ ]* Steps to reproduce, expected, and actual results filled
[ ]* Affected version filled
Date of First Response:

 Description   

The bars should only feature icons for the following non-destructive actions: add, edit and move. The delete icon must go and only remain accessible via the action bar.

So here are the actions for the different bar types:

  • page bar: none
  • area bar:
    • non-optional: edit (if editable)
    • optional, not created yet: add, edit (if editable)
    • optional, created: edit (if editable)
  • component bar: edit, move
  • placeholder "bar": add

The actions to delete components and to remove optional areas are available on the Action bar only.



 Comments   
Comment by Andreas Weder [ 03/Dec/12 ]

Added component(s) to make it easier to filter issues.

Comment by Christopher Zimmermann [ 28/Dec/12 ]

There is a problem in that the actionbar does not yet show delete action for some components/areas.
First the delete action should be displayed for all components/areas (PagesEditorSubApp onItemSelected()).

Comment by Christopher Zimmermann [ 28/Dec/12 ]

For an area - we need to know if the template for that area is "optional" (as is checked in AreaBar.java) This optional value refers to the prototype of the current area. (Browsable in old admincentral under Templating Kit > Site Configuration – templates > prototype > areas > stage , for example).

So, with the actual website node for the stage on a page, how do we get a reference to its prototype?

Generated at Mon Feb 12 08:34:37 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.