Fixes T6102. Give "priority" treatment to strings that are exact matches.
Details
Details
- Reviewers
epriestley - Maniphest Tasks
- T6102: Improve typeahead behavior around exact matches
- Commits
- Restricted Diffusion Commit
rP81a13ed8bda8: Search Typeahead - make exact matches show up first
made a bunch of projects with the word project in them including "Project". before patch, "Project" wouldn't even show up if I typed "Project" - now its the second result right after the application "Projects".
Diff Detail
Diff Detail
- Repository
- rP Phabricator
- Branch
- T6102
- Lint
Lint Passed - Unit
No Test Coverage - Build Status
Buildable 3077 Build 3083: [Placeholder Plan] Wait for 30 Seconds
Event Timeline
Comment Actions
Do we need toLowerCase()? I think we might already have called it on both parts (maybe only one part?) by the time we get here.
Comment Actions
remove toLowerCase for both parts; they must be normalized by now in the stack
tested by searching for PROJECT, project, pRoJeCt, and PROJECT EVER... got the right results each time.