fix: More accurate workflow and archived item search (#2363)

Sorts workflow and items search results by match score.
This commit is contained in:
sua yoo 2025-02-05 09:24:53 -08:00 committed by GitHub
parent 18e72262dd
commit 8cfa28733a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -56,7 +56,6 @@ export class SearchCombobox<T> extends LitElement {
private fuse = new Fuse<T>([], {
keys: [],
shouldSort: false,
threshold: 0.2, // stricter; default is 0.6
includeMatches: true,
});