stable

Clone or download

Read-only

fix: do not search if filter is only spaces

Given I enter only spaces, then projects and history should not be filtered. Given I enter 3 spaces and a 'x' (" x") then no call to the REST API should be made. Part of story #26771: Index artifact fields (REST + Switch to) on updated artifacts only Change-Id: I26a4a663ab1495dd2a7389d5ef12329d813c3b95

Modified Files

Name
M src/scripts/switch-to/src/components/Body/HighlightMatchingText.vue +2 −2 Go to diff View file
M src/scripts/switch-to/src/components/Body/Items/RecentItems/ListOfRecentItems.test.ts +6 −7 Go to diff View file
M src/scripts/switch-to/src/components/Body/Items/RecentItems/ListOfRecentItems.vue +2 −2 Go to diff View file
M src/scripts/switch-to/src/components/Body/Items/SearchResults/SearchResults.test.ts +5 −11 Go to diff View file
M src/scripts/switch-to/src/components/Body/Items/SearchResults/SearchResults.vue +1 −1 Go to diff View file
M src/scripts/switch-to/src/components/Body/Projects/ListOfProjects.test.ts +3 −3 Go to diff View file
M src/scripts/switch-to/src/components/Body/Projects/ListOfProjects.vue +3 −3 Go to diff View file
M src/scripts/switch-to/src/components/Body/SwitchToBody.vue +3 −7 Go to diff View file
M src/scripts/switch-to/src/components/Header/SwitchToHeader.vue +1 −1 Go to diff View file
M src/scripts/switch-to/src/stores/index.test.ts +89 −6 Go to diff View file
M src/scripts/switch-to/src/stores/index.ts +15 −4 Go to diff View file
M src/scripts/switch-to/src/stores/keyboard-navigation.ts +6 −14 Go to diff View file