[openstreetmap/openstreetmap-website] View History of ways - make nodes of each version collapsed (#2823)

franc notifications at github.com
Thu Sep 10 08:43:06 UTC 2020


Hallo
I was looking into the [Way History: 611803221](https://www.openstreetmap.org/way/611803221/history) which has at the moment 31 versions. Each version has many, many Nodes, e.g.:

![grafik](https://user-images.githubusercontent.com/927269/92700060-aafe1b80-f34e-11ea-94a4-a9c340a2be94.png)
 
... and so on...
And to get to the next version number it is a lot of scrolling. 

It would be great if each version would be by default collapsed, at least the nodes section, so in scrolling I would first see only the versions with the Nodes maybe as a "[Collapsible](https://www.w3schools.com/howto/howto_js_collapsible.asp)".

Example:

![grafik](https://user-images.githubusercontent.com/927269/92702774-ddf5de80-f351-11ea-9039-4e5f78d14ff7.png)

Only a click on the "Nodes" would expand them (I edited the source to show it like that, obviously beside the "Nodes" some Icon to uncollapse would be neccessary).

Is this possible or would it be too much Browser-Rendering? Already now the loading of all versions takes a good bit of time.
Thanks.
frank


-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/issues/2823
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20200910/ffa57b70/attachment.htm>


More information about the rails-dev mailing list