[MGNLUI-3050] Shorthand action "New Content Component +" from within PagesEditor should also respect ActionAvailability Created: 07/Jul/14  Updated: 09/Mar/21  Resolved: 09/Mar/21

Status: Closed
Project: Magnolia UI
Component/s: page editor
Affects Version/s: 5.2.6, 5.3
Fix Version/s: None

Type: Bug Priority: Neutral
Reporter: Philip Mundt Assignee: Unassigned
Resolution: Won't Do Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Attachments: PNG File new-extras-component.png    
Issue Links:
Relates
relates to MGNLUI-2931 Add Component action availability Closed
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   

MGNLUI-2931 introduced better action availability for component actions in the action bar of the pageseditor. However, the shorthand actions within the pages editor (e.g. clicking on component placeholder) do not take these action availabilities into account.



 Comments   
Comment by Roman Kovařík [ 07/Jul/14 ]

Action availability for bars is currently being taken from page editor HTML tags (same as in 4.5).

<!-- cms:area content="website:/demo-project/about/subsection-articles/article" name="htmlHeader" availableComponents="" type="noComponent" label="HTML Header" inherit="false" optional="false" createAreaNode="false" showAddButton="false" showNewComponentArea="false" -->
Generated at Mon Feb 12 09:02:44 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.