stable

Clone or download

Read-only

feat: Display error state

If RESTΒ API raises an error, then end user should be informed that her query didn't succeed. Note: You have to activate the feature beforehand: tuleap config-set feature_flag_search_for_documents_with_criteria 1 You can simulate the error by adding a `throw` in \Tuleap\Docman\REST\v1\SearchResource::search() Part of story #24197: search for Documents with criteria Change-Id: I0347f087e57d7d2e6685966a1c32befdc5c078e5

Modified Files

Name
M plugins/document/scripts/document/components/AdvancedSearch/SearchContainer.test.ts +35 βˆ’2 Go to diff View file
M plugins/document/scripts/document/components/AdvancedSearch/SearchContainer.vue +20 βˆ’6 Go to diff View file
A plugins/document/scripts/document/components/AdvancedSearch/SearchResult/SearchResultError.test.ts +113 βˆ’0 Go to diff View file
A plugins/document/scripts/document/components/AdvancedSearch/SearchResult/SearchResultError.vue +90 βˆ’0 Go to diff View file
M plugins/document/scripts/document/components/AdvancedSearch/SearchResult/SearchResultTable.vue +1 βˆ’1 Go to diff View file
M plugins/document/scripts/document/po/fr_FR.po +3 βˆ’0 Go to diff View file
M plugins/document/themes/_search.scss +5 βˆ’1 Go to diff View file