-
Notifications
You must be signed in to change notification settings - Fork 37
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Feature/addbutton change #520
Conversation
Codecov Report
@@ Coverage Diff @@
## develop #520 +/- ##
========================================
Coverage 91.16% 91.16%
========================================
Files 191 191
Lines 5208 5208
Branches 1292 1292
========================================
Hits 4748 4748
Misses 460 460 Continue to review full report at Codecov.
|
|
@pusztaienike sorry, I forgot to mention that in case of ContentTypes the Action that should be available is not 'Add' but 'Upload' |
For Content type I had to track the queryData cause it has an allowedChildTypes attribute, what I needed for the Action list... |
Co-Authored-By: Zoltán Bedi <[email protected]>
Co-Authored-By: Zoltán Bedi <[email protected]>
Co-Authored-By: Zoltán Bedi <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🥾
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🐱🏍
It is working what I expected, but we have 2 differences compare to the previous version:
(https://dev.demo.sensenet.com/odata.svc/Root/System/Schema/ContentTypes/GenericContent/('ListItem')/Actions) so here Add button is not enabled <==> In the previous version there was an Add button there
(https://dev.demo.sensenet.com/odata.svc/Root/System/('Settings')/Actions) and we have so many child types what we can add:
(https://dev.demo.sensenet.com/odata.svc/Root/System/('Settings')/EffectiveAllowedChildTypes?$select=Name&metadata=no) <==> In the previous version we did not have Add button on Setup