plepe / OpenStreetBrowser

An application to ‘browse’ the information in the displayed part of the map. Similar to common Wikis and also the main page of http://www.openstreetmap.org the website shows a narrow menu on the left side, most of the page is used for the display of the map. In contrast to most Wikis the menu is not static, but rather the content of the map can be browsed in categories. For the map a special style has been developed (sorry guys, I neither like the default Mapnik nor Osmarender styles), and special overlays are displayed to support the current browsed categories. When you click on an object (either from the list or directly on the map) informations on this object are displayed.
http://www.openstreetbrowser.org
GNU General Public License v3.0
88 stars 20 forks source link

OAuth Login for permanently saving custom categories #192

Open natrius opened 8 months ago

natrius commented 8 months ago

I think it would be nice to be able to login with the osm oauth-account and then being able to save categories permanently. As i use some to check one some stuff i entered regularly it would be nice.

plepe commented 8 months ago

Interesting idea! I would actually split this into two different features:

Session data also includes the Options (Language, Coordinate format, ...)

About the custom categories: I could add an action 'pin custom category', so that they are loaded again after reload.

A question arises when modifying a pinned custom category. Do you think the modified category should replace the pinned category? Or should I ask the user via popup?

natrius commented 8 months ago

Ask the user via popup and a checkmark to "not ask me again" or something like that sounds like an good idea. Or a 'settings-switch' kinda thing in the popup. Replace/Create new when editing.

plepe commented 8 months ago

Another option could be, to disable editing of a custom category when it is pinned, but add a 'clone' button as for normal categories.

plepe commented 8 months ago

Voila: https://blog.openstreetbrowser.org/node/97

How do you like it?

natrius commented 8 months ago

I like it a lot, already shared what i entered recently with others! Thanks a lot! Depending on if you want to implement a OSM-Login you can close this issue, if you want.