[magnolia-dev] [JIRA] (MGNLUI-2931) Add Component action availability

2014-06-19 Thread on behalf of Roman Kovařík














































Roman Kovařík
 updated  MGNLUI-2931


Add Component action availability
















Change By:


Roman Kovařík
(19/Jun/14 4:18 PM)




Comment:


Add Component action should be disabled for an area if:* area is configured as {{noComponent}}* {{maxComponents}} is reached



























This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira








For list details, see: http://www.magnolia-cms.com/community/mailing-lists.html
Alternatively, use our forums: http://forum.magnolia-cms.com/
To unsubscribe, E-mail to: 





[magnolia-dev] [JIRA] (MGNLUI-2931) Add Component action availability

2014-06-19 Thread on behalf of Roman Kovařík














































Roman Kovařík
 updated  MGNLUI-2931


Add Component action availability
















Change By:


Roman Kovařík
(19/Jun/14 4:18 PM)




Description:


#
If you set an area to be of type noComponent then the "+ Add Component" action should be disabled/removed when that area has the focus.

You can see an example by looking the page /demo-project/about/subsection-articles/article and bringing the PAGE HEADER into focus. Notice "+ Add Component" is still available. 



























This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira








For list details, see: http://www.magnolia-cms.com/community/mailing-lists.html
Alternatively, use our forums: http://forum.magnolia-cms.com/
To unsubscribe, E-mail to: 





[magnolia-dev] [JIRA] (MGNLUI-2931) Add Component action availability

2014-06-19 Thread on behalf of Roman Kovařík














































Roman Kovařík
 updated  MGNLUI-2931


Add Component action availability
















Change By:


Roman Kovařík
(19/Jun/14 4:21 PM)




Affects Version/s:


5.3



























This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira








For list details, see: http://www.magnolia-cms.com/community/mailing-lists.html
Alternatively, use our forums: http://forum.magnolia-cms.com/
To unsubscribe, E-mail to: 





[magnolia-dev] [JIRA] (MGNLUI-2931) Add Component action availability

2014-06-19 Thread on behalf of Roman Kovařík














































Roman Kovařík
 updated  MGNLUI-2931


Add Component action availability
















Change By:


Roman Kovařík
(19/Jun/14 4:21 PM)




Description:


#
*
 If you set an area to be of type noComponent then the "+ Add Component" action should be disabled/removed when that area has the focus.You can see an example by looking the page /demo-project/about/subsection-articles/article and bringing the PAGE HEADER into focus. Notice "+ Add Component" is still available.
 
* If you set an area to have a maxComponents property then when that area has reached its max it should cause the "+ Add Component" action to be disabled/removed when that area has the focus.Steps to recreate:** In template defs configure stkArticle base area to have a max of 2 components** Edit the base area of /demo-project/about/subsection-articles/article** Add 2 components ** Observe the max message is showing but you still have the ability to execute the add component action.The system still prevents the third component from being added but not until the save button is pushed in the dialog. A warning is is logged but there is no indication to the user that something has been restricted.



























This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira








For list details, see: http://www.magnolia-cms.com/community/mailing-lists.html
Alternatively, use our forums: http://forum.magnolia-cms.com/
To unsubscribe, E-mail to: 





[magnolia-dev] [JIRA] (MGNLUI-2931) Add Component action availability

2014-07-02 Thread on behalf of Roman Kovařík














































Roman Kovařík
 updated  MGNLUI-2931


Add Component action availability
















Change By:


Roman Kovařík
(02/Jul/14 11:53 AM)




Fix Version/s:


5.3.1





Fix Version/s:


5.3.x



























This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira








For list details, see: http://www.magnolia-cms.com/community/mailing-lists.html
Alternatively, use our forums: http://forum.magnolia-cms.com/
To unsubscribe, E-mail to: 





[magnolia-dev] [JIRA] (MGNLUI-2931) Add Component action availability

2014-07-07 Thread on behalf of Roman Kovařík














































Roman Kovařík
 reopened  MGNLUI-2931


Add Component action availability
















Change By:


Roman Kovařík
(07/Jul/14 11:36 AM)




Resolution:


Fixed





Status:


In QA
Reopened



























This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira








For list details, see: http://www.magnolia-cms.com/community/mailing-lists.html
Alternatively, use our forums: http://forum.magnolia-cms.com/
To unsubscribe, E-mail to: 





[magnolia-dev] [JIRA] (MGNLUI-2931) Add Component action availability

2014-07-07 Thread on behalf of Roman Kovařík














































Roman Kovařík
 reopened  MGNLUI-2931


Add Component action availability
















Change By:


Roman Kovařík
(07/Jul/14 2:02 PM)




Resolution:


Fixed





Status:


In QA
Reopened



























This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira








For list details, see: http://www.magnolia-cms.com/community/mailing-lists.html
Alternatively, use our forums: http://forum.magnolia-cms.com/
To unsubscribe, E-mail to: 





[magnolia-dev] [JIRA] (MGNLUI-2931) Add Component action availability

2014-07-07 Thread on behalf of Roman Kovařík














































Roman Kovařík
 reopened  MGNLUI-2931


Add Component action availability
















Reopen:

	http://localhost:8080/magnoliaAuthor/.magnolia/admincentral#app:pages:detail;/demo-project/about/subsection-articles/article:edit
	Click extras.
	Add component action in action bar is disabled because extras1 area is inside of extras area which doesn't have area definition for extras1.







Change By:


Roman Kovařík
(07/Jul/14 4:29 PM)




Resolution:


Fixed





Status:


Resolved
Reopened



























This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira








For list details, see: http://www.magnolia-cms.com/community/mailing-lists.html
Alternatively, use our forums: http://forum.magnolia-cms.com/
To unsubscribe, E-mail to: 





[magnolia-dev] [JIRA] (MGNLUI-2931) Add Component action availability

2014-07-10 Thread JIRA (on behalf of Espen Jervidalo)














































Espen Jervidalo
 reopened  MGNLUI-2931


Add Component action availability
















Change By:


Espen Jervidalo
(10/Jul/14 5:18 PM)




Resolution:


Fixed





Status:


In QA
Reopened



























This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira








For list details, see: http://www.magnolia-cms.com/community/mailing-lists.html
Alternatively, use our forums: http://forum.magnolia-cms.com/
To unsubscribe, E-mail to: 





[magnolia-dev] [JIRA] (MGNLUI-2931) Add Component action availability

2014-07-10 Thread JIRA (on behalf of Espen Jervidalo)














































Espen Jervidalo
 updated  MGNLUI-2931


Add Component action availability
















Change By:


Espen Jervidalo
(10/Jul/14 5:54 PM)




Attachment:


Screen Shot 2014-07-10 at 17.49.12.png



























This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira








For list details, see: http://www.magnolia-cms.com/community/mailing-lists.html
Alternatively, use our forums: http://forum.magnolia-cms.com/
To unsubscribe, E-mail to: 





[magnolia-dev] [JIRA] (MGNLUI-2931) Add Component action availability

2014-07-11 Thread JIRA (on behalf of Philip Mundt)














































Philip Mundt
 reopened  MGNLUI-2931


Add Component action availability
















Doesn't work with extras1, because the template cannot be found.





Change By:


Philip Mundt
(11/Jul/14 9:41 AM)




Resolution:


Fixed





Status:


Resolved
Reopened



























This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira








For list details, see: http://www.magnolia-cms.com/community/mailing-lists.html
Alternatively, use our forums: http://forum.magnolia-cms.com/
To unsubscribe, E-mail to: 





[magnolia-dev] [JIRA] (MGNLUI-2931) Add Component action availability

2014-07-11 Thread on behalf of Mikaël Geljic














































Mikaël Geljic
 updated  MGNLUI-2931


Add Component action availability
















Change By:


Mikaël Geljic
(11/Jul/14 12:22 PM)




Description:


* If you set an area to be of type noComponent then the "+ Add Component" action should be disabled/removed when that area has the focus.You can see an example by looking the page /demo-project/about/subsection-articles/article and bringing the PAGE HEADER into focus. Notice "+ Add Component" is still available.* If you set an area to have a maxComponents property then when that area has reached its max it should cause the "+ Add Component" action to be disabled/removed when that area has the focus.Steps to recreate:** In template defs configure stkArticle base area to have a max of 2 components** Edit the base area of /demo-project/about/subsection-articles/article** Add 2 components ** Observe the max message is showing but you still have the ability to execute the add component action.The system still prevents the third component from being added but not until the save button is pushed in the dialog. A warning is is logged but there is no indication to the user that something has been restricted.---(!) At first it was attempted to fix this using an availability rule, but that turned to be complex to implement, regarding e.g. merged prototype in rendering whose definitions couldn't be accessed from the rule, + it was actually creating a second mechanism that was out-of-sync w/ what's done on the client-side, so we decided against this approach.The good news is that there is already a 'custom' availability mechanism in page-editor that checks for client-side "addibility", since MGNLUI-1586,
 *
 it just doesn't take
 *maxComponent*
 _maxComponent_
 into account.
*



























This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira








For list details, see: http://www.magnolia-cms.com/community/mailing-lists.html
Alternatively, use our forums: http://forum.magnolia-cms.com/
To unsubscribe, E-mail to: 





[magnolia-dev] [JIRA] (MGNLUI-2931) Add Component action availability

2014-07-11 Thread on behalf of Mikaël Geljic














































Mikaël Geljic
 updated  MGNLUI-2931


Add Component action availability
















Change By:


Mikaël Geljic
(11/Jul/14 12:22 PM)




Description:


* If you set an area to be of type noComponent then the "+ Add Component" action should be disabled/removed when that area has the focus.You can see an example by looking the page /demo-project/about/subsection-articles/article and bringing the PAGE HEADER into focus. Notice "+ Add Component" is still available.* If you set an area to have a maxComponents property then when that area has reached its max it should cause the "+ Add Component" action to be disabled/removed when that area has the focus.Steps to recreate:** In template defs configure stkArticle base area to have a max of 2 components** Edit the base area of /demo-project/about/subsection-articles/article** Add 2 components ** Observe the max message is showing but you still have the ability to execute the add component action.The system still prevents the third component from being added but not until the save button is pushed in the dialog. A warning is is logged but there is no indication to the user that something has been restricted.
---(!) At first it was attempted to fix this using an availability rule, but that turned to be complex to implement, regarding e.g. merged prototype in rendering whose definitions couldn't be accessed from the rule, + it was actually creating a second mechanism that was out-of-sync w/ what's done on the client-side, so we decided against this approach.The good news is that there is already a 'custom' availability mechanism in page-editor that checks for client-side "addibility", since MGNLUI-1586, it just doesn't take *maxComponent* into account.



























This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira








For list details, see: http://www.magnolia-cms.com/community/mailing-lists.html
Alternatively, use our forums: http://forum.magnolia-cms.com/
To unsubscribe, E-mail to: