ProfessionalWiki / ProfessionalWiki/Rules
Improve category search
Nobody has claimed this yet.
- Dominant language
- PHP
- Stars
- 3
- Forks
- 4
- PR merge metrics
- No merged PRs in 30d
Description
At the moment it seems to be doing only prefix search. If a category is Foo Bar Baz, it should show up in the suggestions when the user types Bar
Using the search API might be better (https://github.com/ProfessionalWiki/Rules/pull/56#event-18950488486)
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start in modules/ext.rules/utils/api.js at lines 48-58 and inspect how category suggestions currently perform prefix matching. Review the linked pull request event for the search API option. Done means typing “Bar” returns the category “Foo Bar Baz” in suggestions.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- search
- Issue type
- Feature
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 48/100