stable

Clone or download

Read-only

feat: search in whole project documentation

When we search in the whole project documentation (aka in root folder), then no breadcrumbs should be displayed in the search criteria panel. When we search in a sub folder, then an additional link "Search in whole project documentation" is added after the breadcrumbs. Part of story #24197: search for Documents with criteria Change-Id: Ie5d4d10dca6b927135be729030178af0c6e33ca8

Modified Files

Name
M plugins/document/include/Tree/DocumentTreeController.php +12 −32 Go to diff View file
M plugins/document/include/Tree/DocumentTreePresenter.php +6 −0 Go to diff View file
M plugins/document/include/documentPlugin.php +1 −0 Go to diff View file
M plugins/document/scripts/document/components/AdvancedSearch/SearchContainer.vue +5 −1 Go to diff View file
M plugins/document/scripts/document/components/AdvancedSearch/SearchCriteriaBreadcrumb.test.ts +3 −3 Go to diff View file
M plugins/document/scripts/document/components/AdvancedSearch/SearchCriteriaBreadcrumb.vue +11 −0 Go to diff View file
M plugins/document/scripts/document/components/AdvancedSearch/SearchCriteriaPanel.test.ts +38 −0 Go to diff View file
M plugins/document/scripts/document/components/AdvancedSearch/SearchCriteriaPanel.vue +14 −1 Go to diff View file
M plugins/document/scripts/document/components/AdvancedSearch/__snapshots__/SearchCriteriaBreadcrumb.test.ts.snap +69 −8 Go to diff View file
M plugins/document/scripts/document/index.js +2 −0 Go to diff View file
M plugins/document/scripts/document/po/fr_FR.po +3 −0 Go to diff View file
M plugins/document/scripts/document/router/index.js +4 −2 Go to diff View file
M plugins/document/scripts/document/store/configuration/index.ts +1 −0 Go to diff View file
M plugins/document/site-content/fr_FR/LC_MESSAGES/tuleap-document.po +4 −1 Go to diff View file
M plugins/document/templates/document-tree.mustache +1 −0 Go to diff View file