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

Sort "more fields" dropdown items #10181

Merged
merged 1 commit into from
Apr 25, 2024

Conversation

zbycz
Copy link
Contributor

@zbycz zbycz commented Mar 29, 2024

The more fields combo dropdown offers 1) moreFields from the current preset and 2) all fields with universal:true. Currently they are all mixed together.

This PR sorts the dropdown so the moreFields are displayed first, and the universal below.

The idea is, that user would like to know which fields are relevant to the specific preset first, and not to look for them among all the universal ones.

 Screenshot

eg. for train track (w166662057)

old this PR
image image

@1ec5
Copy link
Collaborator

1ec5 commented Apr 3, 2024

Not a bad idea. 👍 Since the user may not intuit the difference between a universal field and a non-universal one, maybe there should be a horizontal divider or some other visual distinction.

@zbycz
Copy link
Contributor Author

zbycz commented Apr 9, 2024

maybe there should be a horizontal divider or some other visual distinction.

Could be - i wanted to submit the simplest mergable solution. Lets see if it will be approved 🙂

@tyrasd tyrasd added the field An issue with a field in the user interface label Apr 25, 2024
Copy link
Member

@tyrasd tyrasd left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

looks good to me, thanks

@tyrasd tyrasd merged commit aa53bbf into openstreetmap:develop Apr 25, 2024
3 checks passed
@zbycz zbycz deleted the more-fields-sorted branch April 29, 2024 09:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
field An issue with a field in the user interface
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants