Branch: refs/heads/XWIKI-20528
Home:
https://github.com/xwiki/xwiki-platform
Commit: 8c41057aab724e18ec6de5a0e91e60f6b0326bae
https://github.com/xwiki/xwiki-platform/commit/8c41057aab724e18ec6de5a0e91e…
Author: Simon Urli <simon.urli(a)xwiki.com>
Date: 2025-03-19 (Wed, 19 Mar 2025)
Changed paths:
M
xwiki-platform-core/xwiki-platform-index/xwiki-platform-index-tree/xwiki-platform-index-tree-api/pom.xml
M
xwiki-platform-core/xwiki-platform-index/xwiki-platform-index-tree/xwiki-platform-index-tree-api/src/main/java/org/xwiki/index/tree/IndexTreeScriptService.java
A
xwiki-platform-core/xwiki-platform-index/xwiki-platform-index-tree/xwiki-platform-index-tree-api/src/test/java/org/xwiki/index/tree/IndexTreeScriptServiceTest.java
M
xwiki-platform-core/xwiki-platform-index/xwiki-platform-index-tree/xwiki-platform-index-tree-macro/src/main/resources/XWiki/DocumentTree.xml
M
xwiki-platform-core/xwiki-platform-index/xwiki-platform-index-tree/xwiki-platform-index-tree-macro/src/main/resources/XWiki/DocumentTreeMacros.xml
M
xwiki-platform-core/xwiki-platform-index/xwiki-platform-index-tree/xwiki-platform-index-tree-war/src/main/webapp/templates/documentTree_macros.vm
M
xwiki-platform-core/xwiki-platform-tree/xwiki-platform-tree-war/src/main/webapp/templates/tree_macros.vm
Log Message:
-----------
XWIKI-20528: Add parameter to open nodes of DocumentTree to given level/depth
* Provide a new script service method to compute a distance between 2
references
* Provide a new macro parameter for DocumentTree expandToLevel
* Define that new parameter also in tree_macros.vm to allow using it
for computing the data-url
* Use that macro value in DocumentTreeMacros to decide the state of a
node to automaticaly expand them
To unsubscribe from these emails, change your notification settings at
https://github.com/xwiki/xwiki-platform/settings/notifications