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

Content in info panels is not copyable #4406

Closed
yaugenka opened this issue Oct 6, 2017 · 6 comments
Closed

Content in info panels is not copyable #4406

yaugenka opened this issue Oct 6, 2017 · 6 comments
Labels
bug A bug - let's fix this! help wanted For intermediate contributors, requires investigation or knowledge of iD code

Comments

@yaugenka
Copy link

yaugenka commented Oct 6, 2017

It would be nice to have current object id displayed somewhere and have a possibility to copy it.
The current workarround is to open it in the openstreetmap.org and copy from the url, but that's not a comfortable thing.

@bhousel
Copy link
Member

bhousel commented Oct 7, 2017

iD now has a feature called "Panels" to show more information to advanced users:

⌘ Cmd+⇧ Shift+B: Toggle background panel
⌘ Cmd+⇧ Shift+H: Toggle history panel
⌘ Cmd+⇧ Shift+L: Toggle location panel
⌘ Cmd+⇧ Shift+M: Toggle measurement panel

(note if you are on Windows or Linux, change ⌘ Cmd to Ctrl)

Both the History and the Measurement panels will show you the osm id of the selected feature. Can you try this and let me know if it's what you are looking for?

I'm leaving this open because I think we have a bug that prevents users from copying the stuff that is displayed in these panels.

@bhousel bhousel added the bug A bug - let's fix this! label Oct 7, 2017
@yaugenka
Copy link
Author

yaugenka commented Oct 7, 2017

Yes, there is a bug that you cannot copy data from the pannels.
Anyway the pannels seem to be a bit excessive for the purpose of getting just the id.

@bhousel bhousel added good first issue Best for first-time contributors. No experience necessary! Hacktoberfest labels Oct 7, 2017
@bhousel bhousel changed the title Display and allow to copy current object id Content in info panels is not copyable Oct 9, 2017
@yaugenka
Copy link
Author

yaugenka commented Oct 9, 2017

When you launch iD from OSM with some object selected, it displays its id in the url. How about changing the id in the url whenever selection is changed?

@bhousel
Copy link
Member

bhousel commented Oct 9, 2017

When you launch iD from OSM with some object selected, it displays its id in the url. How about changing the id in the url whenever selection is changed?

iD actually does this - but you won't see the url bar change on openstreetmap.org because iD runs in an iframe. This is what I see when I run iD locally:

url_with_selection

Anyway, please just pop open an info panel if you want to look at osm ids. I added these specifically for users with more advanced needs.

@yaugenka
Copy link
Author

yaugenka commented Oct 9, 2017

I noticed that the coordinates in the url change when I move the map in iD on openstreetmap.org, so thought id can be changed as well. But ok if that is not possible.

@bhousel
Copy link
Member

bhousel commented Oct 9, 2017

I noticed that the coordinates in the url change when I move the map in iD on openstreetmap.org, so thought id can be changed as well. But ok if that is not possible.

It's possible but requires special code to push location updates between the iframe and the parent frame.. I'd rather not complicate that code right now.

@bhousel bhousel added help wanted For intermediate contributors, requires investigation or knowledge of iD code and removed good first issue Best for first-time contributors. No experience necessary! labels Oct 12, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug A bug - let's fix this! help wanted For intermediate contributors, requires investigation or knowledge of iD code
Projects
None yet
Development

No branches or pull requests

2 participants