stable

Clone or download

Read-only

refactor: Backend provides criteria

Instead of having hard coded list of criterion on the frondend, the list is now provided by the backend. It will allow us to add criteria for custom properties later. No functional changes. Part of story #24197: search for Documents with criteria Change-Id: If7522f938ba33765fa229e08108a5c4b903d8b3a

Modified Files

Name
M plugins/document/include/Tree/DocumentTreeController.php +2 −0 Go to diff View file
M plugins/document/include/Tree/DocumentTreePresenter.php +7 −0 Go to diff View file
A plugins/document/include/Tree/ListOfSearchCriterionPresenterBuilder.php +64 −0 Go to diff View file
A plugins/document/include/Tree/ListOfSearchCriterionPresenterBuilderTest.php +43 −0 Go to diff View file
A plugins/document/include/Tree/SearchCriterionPresenter.php +36 −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/SearchCriteriaPanel.test.ts +13 −4 Go to diff View file
M plugins/document/scripts/document/components/AdvancedSearch/SearchCriteriaPanel.vue +12 −31 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 +0 −3 Go to diff View file
M plugins/document/scripts/document/store/configuration/index.ts +2 −1 Go to diff View file
M plugins/document/scripts/document/type.ts +8 −0 Go to diff View file
M plugins/document/site-content/fr_FR/LC_MESSAGES/tuleap-document.po +18 −0 Go to diff View file
M plugins/document/templates/document-tree.mustache +1 −0 Go to diff View file