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

Add josm scheme link to edit menu #5351

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

AntonKhorev
Copy link
Collaborator

@AntonKhorev AntonKhorev commented Nov 22, 2024

image

On Android, Vespucci is registered for josm: links: https://vespucci.io/tutorials/vespucci_intents/#supported-intents

This provides an option to run Vespucci as requested by #3836. Fixes #5326.

I'm not yet making it selectable as a preference because we might want to have this equivalent to remote control on Android. That's what #1478 tried to do. The reasoning for this is probably the following. Let's say I set my preferred editor to remote control. Then I open the website on Android. Surely remote control is not going to work there as is. But I still want something to happen when I press edit. How about this thing that I added in this PR?

But there are also reasons against combining this with remote control:

  • it requires detecting the OS, something we'd rather not do
  • technically there's nothing Android-specific in josm: links
  • what if we're on iPhone or something else where http://127.0.0.1:8111 doesn't work but josm: does?
  • what if we're on something where http://127.0.0.1:8111 does work, and we want both it and josm:?

@tomhughes
Copy link
Member

Why on earth is it josm: though...

@AntonKhorev
Copy link
Collaborator Author

Probably because it supports some of the commands that remote control also supports, and remote control is mostly a JOSM thing.

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

Successfully merging this pull request may close these issues.

"Edit" menu shown on (small format) mobile devices largely non-functional
2 participants