Closed Bug 1037113 Opened 10 years ago Closed 10 years ago

[UX] Define the contacts list search behavior

Categories

(Hello (Loop) :: Client, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: mak, Unassigned)

References

Details

(Whiteboard: [ux])

We should define whether searching will match any part of the name or just the beginning of it.
For example if I search for "bo" I likely want to find Marco [Bo]nardo or [Bo]b Rossi, while it's very unlikely I'm looking for Luis Tabo.

On the other side, when matching e-mail we might relax the algorithm, it could still make more sense to match on the username only since searching "ho" should return all users using hotmail. E-mail matching might still return unrelated matches this way, so it should happen only after a given number of chars.

Summing up, my suggestion about this:
1. Name/Last Name matches should always be returned before any e-mail match
2. e-mail matches should be returned only if the search string has not less than 3 chars
Blocks: 1037114
Whiteboard: [ux]
Blocks: 1037131
> Summing up, my suggestion about this:
> 1. Name/Last Name matches should always be returned before any e-mail match
> 2. e-mail matches should be returned only if the search string has not less
> than 3 chars
Can't we just exclude the domain name from the string search given it won't ever be relevant - anything on the right hand-side of the @ is not searched against.

Darrin what are your thoughts?
Flags: needinfo?(dhenein)
(In reply to Romain Testard [:RT] from comment #1)
> > Summing up, my suggestion about this:
> > 1. Name/Last Name matches should always be returned before any e-mail match
> > 2. e-mail matches should be returned only if the search string has not less
> > than 3 chars
> Can't we just exclude the domain name from the string search given it won't
> ever be relevant - anything on the right hand-side of the @ is not searched
> against.

That's my assumption as well, but I also think due to nature of usernames we should _still_ limit to at-least-3 chars search strings.

As a comparison, if you search for a contact in gmail it also matches the domain, but only at the beginning.
OK agreed, so:
Search results against names returned when the search string is even only 1 character
Search results against e-mail addresses returned when search string of 3 characters or more is entered
Sounds like you guys worked it out, and I agree with the proposed suggestion.
Flags: needinfo?(dhenein)
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Untracking for QA since this is a UX bug. We'll track testing in the dependent implementation bugs.
Whiteboard: [ux] → [ux][qa-]
Flags: qe-verify-
Whiteboard: [ux][qa-] → [ux]
You need to log in before you can comment on or make changes to this bug.