docs
docs copied to clipboard
Sharing - User search - Order by proximity to current user
Feature Request
Is your feature request related to a problem or unsupported use case? Please describe. On the docs.numerique.gouv.fr instance, there is now a lot of users available in the search view.
When searching for a user to share a doc with, the first results brought by a generic request, for example "Pierre", retrieves people that are not related to the current user, by far ! So you then have to enter almost the full name of the user you're looking for, which make the autocomplete feature less convenient.
Describe the solution you'd like Ordering the results of the user autocomplete by proximity to the current user would solve the issue for me.
For example :
Given my user email is [email protected]
And I have recently shared a document with [email protected]
And I have less recently shared a document with [email protected]
And the users [email protected], [email protected] & [email protected] also exists
When I search a user in the sharing box with "paul.d", I should see this list in this order :
# Shared with first
- [email protected] # Most recent first
- [email protected]
# Same full domain second
- [email protected]
# Same partial domain third
- [email protected]
- [email protected]
Do you want to work on it through a Pull Request? Maybe with some help :)