stable

Clone or download

Read-only

refactor: extract retrieval of results from the store

This decreases the responsibility of the store. Results retrieval and de-duplication is now located in a dedicated component, store just have to store the results. No functional changes Part of story #26771: Index artifact fields (REST + Switch to) on updated artifacts only Change-Id: Ib3474ca4b3fae6401e34b241824b7c707a5ba9d7

Modified Files

Name
A src/scripts/switch-to/src/helpers/search-querier.test.ts +73 −0 Go to diff View file
A src/scripts/switch-to/src/helpers/search-querier.ts +57 −0 Go to diff View file
M src/scripts/switch-to/src/stores/fulltext.test.ts +12 −48 Go to diff View file
M src/scripts/switch-to/src/stores/fulltext.ts +12 −35 Go to diff View file