codeapprove / feedback

Feedback for CodeApprove
0 stars 0 forks source link

Prioritize prefix matches before substring matches in user picker #47

Closed jwngr closed 2 years ago

jwngr commented 2 years ago

I do this all the time since we had a new person join the team causing this conflict. Leads to actual real world inefficiencies since I keep assigning the wrong person and the person I wanted to assign the PR to isn't even aware the PR exists. I notice a day later after wondering why the review hasn't happened yet.

Scenario:

Expected: Bobby Tables is the top suggestion since it's a prefix match

Actual: Alice Thingamabob is the top suggestion since she comes first alphabetically (or maybe it's just random based on some internal ID?)

samatcodeapprove commented 2 years ago

👍 this is a good improvement!

samatcodeapprove commented 2 years ago

Deploying a new build to fix this now! Should be live in ~6 minutes.

jwngr commented 2 years ago

Works great, thank you 🙏