[MGNLUI-3054] Refine component action availability Created: 11/Jul/14 Updated: 11/Jul/14 Resolved: 11/Jul/14 |
|
| Status: | Closed |
| Project: | Magnolia UI |
| Component/s: | actionbar, pages app, user interaction |
| Affects Version/s: | 5.2.4, 5.3 |
| Fix Version/s: | None |
| Type: | Improvement | Priority: | Neutral |
| Reporter: | Philip Mundt | Assignee: | Mikaël Geljić |
| Resolution: | Obsolete | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||
| 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)
|
||||||||
| Date of First Response: | |||||||||
| Description |
|
Area definitions which are defined in the prototype are not available in the TemplateDefinition of an stkTemplate. The information about those areas are merged in the STKRenderer, see info/magnolia/module/templatingkit/renderers/STKRenderer.java:90 To be able to use the full definition in pages app we would have to introduce a dependency to STK, because those def. are tighly connected to the STK Site definition. |
| Comments |
| Comment by Mikaël Geljić [ 11/Jul/14 ] |
|
Deemed obsolete, because we reverted usage of an availability rule for the addComponent action. We keep relying on client-side logic (hence we have the info from the prototypes!) and perform custom en/disabling of actionbar item. |