Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature Request] Better sorting when chose the owner from the list #13090

Closed
1 of 4 tasks
somera opened this issue Oct 10, 2020 · 3 comments
Closed
1 of 4 tasks

[Feature Request] Better sorting when chose the owner from the list #13090

somera opened this issue Oct 10, 2020 · 3 comments
Labels
good first issue Likely to be an easy fix topic/ui Change the appearance of the Gitea UI
Milestone

Comments

@somera
Copy link

somera commented Oct 10, 2020

  • Gitea version (or commit ref): 1.12.5
  • Git version: 2.25.1
  • Operating system: Ubuntu 20.04
  • Database (use [x]):
    • PostgreSQL
    • MySQL
    • MSSQL
    • SQLite

Description

In my local Gitea instance I had a lot of organizations. Whe I have to add new mirror project than I have to chose the organzation. I know, that the organization exists. I press first letter, i.e. h. And Gitea shows me hpc. But I look for other organization which starts with h. Than I had to scroll whole list, to search for the right organization.

As user I expect to see only organizations which starts with h or whole list with all organizations but all with h at the beginning should be first in the list.

Screenshots

image

@somera
Copy link
Author

somera commented Oct 10, 2020

Or the other Feature Requst #13091

@lafriks lafriks added topic/ui Change the appearance of the Gitea UI good first issue Likely to be an easy fix labels Oct 10, 2020
@eneuschild
Copy link
Contributor

eneuschild commented Oct 15, 2020

What do we want here?

It seems to me like the list of possible owners is sorted by "most recent". Do we want an alphabetical order instead? By default?

Option 1

Sort list of possible owners alphabetically by default. Then, when typing, the highlight would move to the block of entries starting with the user's input, thereby addressing @somera's issue.

Option 2

Keep list sorted by most recent, but switch to alphabetical order when user starts typing. Same benefit as option 1, but probably pretty confusing.

Option 3

Keep list sorted by most recent, but limit entries to those that match what the user is typing and remove all that don't.

@somera
Copy link
Author

somera commented Oct 15, 2020

On my local Gitea instance I have 160 organisations. ;)

Option 1 is what I personally prefer.

The goal is to find "fast" the right organisation which starts with X character.

@lafriks lafriks added this to the 1.14.0 milestone Oct 16, 2020
@lafriks lafriks closed this as completed Oct 16, 2020
@go-gitea go-gitea locked and limited conversation to collaborators Nov 24, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
good first issue Likely to be an easy fix topic/ui Change the appearance of the Gitea UI
Projects
None yet
Development

No branches or pull requests

3 participants