-
Notifications
You must be signed in to change notification settings - Fork 16
Open
Description
PR #48 introduced search functionality to forklore.in but the search is limited to "username", "full name", "projects list" at the moment, where "projects list" is project names
forklore/components/MaintainerList.vue
Lines 19 to 26 in d13418a
| const miniSearch = new MiniSearch({ | |
| fields: ["username", "full_name", "projects_list"], | |
| storeFields: ["username", "full_name", "projects_list"], | |
| searchOptions: { | |
| prefix: true, | |
| fuzzy: 0.2, | |
| }, | |
| }); |
forklore/components/MaintainerList.vue
Lines 9 to 14 in d13418a
| const normalizedMaintainers = computed(() => | |
| maintainers.value?.map((m) => ({ | |
| ...m, | |
| projects_list: m.projects.map((p) => p.name).join(", "), | |
| })) | |
| ); |
It'll be great if the users could also search "long description" and "short description" of the project. This enables searches of the kind "security", "python", etc for the users and thereby discover maintainers within those ecosystems.
Metadata
Metadata
Assignees
Labels
No labels