-
Type: Improvement
-
Status: Resolved
-
Priority: Minor
-
Resolution: Fixed
-
Affects Version/s: None
-
Fix Version/s: Designer-1.0.0
-
Component/s: Studio Designer
-
Tags:
-
Sprint:nxNest Sprint 9.2.5
-
Story Points:1
When creating a Drawer Browse item the contribution is something like:
<!-- Contribution of element 'nuxeo-document-tree' for slot 'DRAWER_PAGES' --> <nuxeo-slot-content name="newBrowse" slot="DRAWER_PAGES" > <template> <nuxeo-document-tree root-doc-path="/default-domain/workspaces/test" name="newbrowse"></nuxeo-document-tree> </template> </nuxeo-slot-content>
Most users will want to add current-document="[[document]]"
Final would be:
<nuxeo-slot-content name="newBrowse" slot="DRAWER_PAGES" > <template> <nuxeo-document-tree root-doc-path="/default-domain/workspaces" name="newbrowse" current-document="[[document]]" label="new.browse" ></nuxeo-document-tree> </template> </nuxeo-slot-content>
Goal
As this is a relevant attribute it should also be shown to the user by default.