stable

Clone or download

Read-only

feat: Display item icon in search results

This will help end user to figure out which type of item it is (folder, wiki, link, …). As of today File items will all have the same generic icon. A dedicated contribution will be done for this case. Note: You have to activate the feature beforehand: tuleap config-set feature_flag_search_for_documents_with_criteria 1 Part of story #24197: search for Documents with criteria Change-Id: I7b810132d5159b657e15978f74d4f44f082a9fb6

Modified Files

Name
M plugins/docman/include/REST/v1/Folders/BuildSearchedItemRepresentationsFromSearchReport.php +5 −1 Go to diff View file
M plugins/docman/include/REST/v1/Folders/SearchRepresentation.php +9 −1 Go to diff View file
A plugins/docman/include/REST/v1/Search/SearchRepresentationTypeVisitor.php +68 −0 Go to diff View file
M plugins/docman/tests/unit/REST/v1/Folders/BuildSearchedItemRepresentationsFromSearchReportTest.php +2 −0 Go to diff View file
M plugins/document/scripts/document/components/AdvancedSearch/SearchResult/SearchResultTable.vue +1 −0 Go to diff View file
M plugins/document/scripts/document/components/AdvancedSearch/SearchResult/TableBodyEmpty.vue +1 −1 Go to diff View file
M plugins/document/scripts/document/components/AdvancedSearch/SearchResult/TableBodyResultRow.test.ts +1 −0 Go to diff View file
M plugins/document/scripts/document/components/AdvancedSearch/SearchResult/TableBodyResultRow.vue +34 −1 Go to diff View file
M plugins/document/scripts/document/components/AdvancedSearch/SearchResult/TableBodySkeleton.vue +7 −1 Go to diff View file
M plugins/document/scripts/document/components/AdvancedSearch/SearchResult/__snapshots__/TableBodyResultRow.test.ts.snap +4 −1 Go to diff View file
M plugins/document/scripts/document/type.ts +1 −0 Go to diff View file
M plugins/document/themes/_search.scss +8 −0 Go to diff View file