mirror of
https://github.com/estruyf/vscode-front-matter.git
synced 2026-08-07 09:23:00 +02:00
#292 - Lower fuzzy search threshold
This commit is contained in:
@@ -21,6 +21,7 @@
|
||||
- [#283](https://github.com/estruyf/vscode-front-matter/issues/283): Added published date sorting options for the content dashboard
|
||||
- [#286](https://github.com/estruyf/vscode-front-matter/issues/286): Refresh button added for the content page
|
||||
- [#287](https://github.com/estruyf/vscode-front-matter/issues/287): Show folder name on `index.md` files for recently modified files
|
||||
- [#292](https://github.com/estruyf/vscode-front-matter/issues/292): Lower fuzzy search threshold for the content dashboard
|
||||
|
||||
### 🐞 Fixes
|
||||
|
||||
|
||||
Generated
+27
-10040
File diff suppressed because it is too large
Load Diff
+1
-1
@@ -1684,7 +1684,7 @@
|
||||
"css-loader": "5.2.7",
|
||||
"date-fns": "2.23.0",
|
||||
"downshift": "6.0.6",
|
||||
"fuse.js": "6.4.6",
|
||||
"fuse.js": "6.5.3",
|
||||
"glob": "7.1.6",
|
||||
"gray-matter": "4.0.2",
|
||||
"html-loader": "1.3.2",
|
||||
|
||||
@@ -13,7 +13,9 @@ const fuseOptions: Fuse.IFuseOptions<Page> = {
|
||||
{ name: 'title', weight: 0.8 },
|
||||
{ name: 'slug', weight: 0.8 },
|
||||
{ name: 'description', weight: 0.5 }
|
||||
]
|
||||
],
|
||||
includeScore: true,
|
||||
threshold: 0.1
|
||||
};
|
||||
|
||||
export default function usePages(pages: Page[]) {
|
||||
|
||||
Reference in New Issue
Block a user