stable

Clone or download

Read-only

feat: Start to display search results

If some items are matching the query, they are displayed in the table. Limitations that will be managed in dedicated contributions: - No icon - Description column is not interpreted - No location computation - No pagination Note: You have to activate the feature beforehand: tuleap config-set feature_flag_search_for_documents_with_criteria 1 This includes the bump of prettier in order to [be able to create snapshots][1]. See [prettier 2.5.1 changelog][2] for details. Part of story #24197: search for Documents with criteria [1]: https://github.com/facebook/jest/issues/12112 [2]: https://github.com/prettier/prettier/blob/2.5.1/CHANGELOG.md Change-Id: Ibc094812bf0d37350695c91cb6feb6200c875559

Modified Files

Name
M package.json +1 −1 Go to diff View file
M plugins/docman/include/REST/v1/Folders/SearchRepresentation.php +11 −3 Go to diff View file
M plugins/document/scripts/document/api/rest-querier.ts +5 −1 Go to diff View file
M plugins/document/scripts/document/components/AdvancedSearch/SearchContainer.vue +11 −1 Go to diff View file
M plugins/document/scripts/document/components/AdvancedSearch/SearchResult/SearchResultTable.test.ts +20 −0 Go to diff View file
M plugins/document/scripts/document/components/AdvancedSearch/SearchResult/SearchResultTable.vue +7 −1 Go to diff View file
A plugins/document/scripts/document/components/AdvancedSearch/SearchResult/TableBodyResultRow.test.ts +61 −0 Go to diff View file
A plugins/document/scripts/document/components/AdvancedSearch/SearchResult/TableBodyResultRow.vue +87 −0 Go to diff View file
A plugins/document/scripts/document/components/AdvancedSearch/SearchResult/TableBodyResults.vue +38 −0 Go to diff View file
A plugins/document/scripts/document/components/AdvancedSearch/SearchResult/__snapshots__/TableBodyResultRow.test.ts.snap +18 −0 Go to diff View file
M plugins/document/scripts/document/index.js +1 −0 Go to diff View file
M plugins/document/scripts/document/type.ts +8 −0 Go to diff View file
M pnpm-lock.yaml +9 −17 Go to diff View file