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

Improve text input in tag editor for long content #804

Open
PattaFeuFeu opened this issue Aug 10, 2024 · 1 comment
Open

Improve text input in tag editor for long content #804

PattaFeuFeu opened this issue Aug 10, 2024 · 1 comment

Comments

@PattaFeuFeu
Copy link

Feature request

Text input fields in the text editor should allow text to be edited with ease, regardless of how much content they contain

Solution ideas

  • Fixed ratio of key to value field of 50% each (minus necessary padding and ℹ️ button space) for a uniform look. Probably not the best idea as there are tags where the key is regularly way shorter than the value. But could be worth toying with.
  • Max width (ratio), e.g. 70% for key and/or value field
  • Allow key and value input fields to have multiple lines
    • Should probably be soft-wrap and newlines disallowed for most cases?

Examples of the issue

Annoying

IMG_1198

Fields like opening_hours can easily become quite lengthy and it’s more cumbersome to scroll through them or see at a glance if all special rules for a place are already taken care of.

Impossible

IMG_1199

If tag keys become so lengthy that they fill the whole width, you cannot even see the value field. It’s possible to tap on the key and press the “Next” button above the keyboard, but then I still cannot see the content of the value field.

Super long key tag as an example: seamark:shoreline_construction:water_level for https://www.openstreetmap.org/way/854244002

@bryceco
Copy link
Owner

bryceco commented Aug 10, 2024

In this situation you can rotate the phone to landscape mode to free up room, but I agree there should be better constraints on the sizes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants