Branch: refs/heads/stable-16.10.x Home: https://github.com/xwiki/xwiki-platform Commit: 8328a8ebc0ed347a489d635c4dec474e8dd7b77c https://github.com/xwiki/xwiki-platform/commit/8328a8ebc0ed347a489d635c4dec4... Author: Simon Urli <[email protected]> Date: 2025-04-01 (Tue, 01 Apr 2025) Changed paths: M xwiki-platform-core/xwiki-platform-index/xwiki-platform-index-test/xwiki-platform-index-test-docker/src/test/it/org/xwiki/index/test/ui/docker/DocumentTreeMacroIT.java 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-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-macro/src/main/resources/XWiki/DocumentTreeTranslations.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 (#3995) * 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 * Simplify the solution * Provide an integration test * Provide translations (cherry picked from commit ec45f1f7df2033947fe687ed0c8d5269b88e2839) To unsubscribe from these emails, change your notification settings at https://github.com/xwiki/xwiki-platform/settings/notifications