stable

Clone or download

Read-only

feat: Update display for filtered results

When user search for something: * Projects and Recent items are on top of each other (instead of side by side by default) * If no matching projects, the Projects section is not display at all * The same for recent items * If no matching projects and no matching recent items, then a "No results" is displayed. This section will be enhanced later when we will implement the search with fts. Part of story #26771 Index artifact fields (REST + Switch to) on updated artifacts only Change-Id: I61585f77377e79d2edb24fa0576d9b9417f4e623

Modified Files

Name
M src/jest.config.js +4 −0 Go to diff View file
M src/package.json +2 −1 Go to diff View file
M src/pnpm-lock.yaml +10 −0 Go to diff View file
M src/scripts/switch-to/po/fr_FR.po +7 −4 Go to diff View file
M src/scripts/switch-to/po/pt_BR.po +6 −3 Go to diff View file
M src/scripts/switch-to/src/components/Body/Projects/ListOfProjects.test.ts +27 −2 Go to diff View file
M src/scripts/switch-to/src/components/Body/Projects/ListOfProjects.vue +16 −5 Go to diff View file
M src/scripts/switch-to/src/components/Body/RecentItems/ListOfRecentItems.test.ts +29 −0 Go to diff View file
M src/scripts/switch-to/src/components/Body/RecentItems/ListOfRecentItems.vue +12 −1 Go to diff View file
A src/scripts/switch-to/src/components/Body/SearchResults/SearchResults.test.ts +69 −0 Go to diff View file
A src/scripts/switch-to/src/components/Body/SearchResults/SearchResults.vue +43 −0 Go to diff View file
M src/scripts/switch-to/src/components/Body/SwitchToBody.test.ts +25 −0 Go to diff View file
M src/scripts/switch-to/src/components/Body/SwitchToBody.vue +21 −2 Go to diff View file
M src/scripts/switch-to/src/store/getters.ts +5 −0 Go to diff View file
M src/themes/common/css/utils/_switch-to.scss +11 −6 Go to diff View file
M src/webpack.common.js +3 −0 Go to diff View file