bbdoc / PoracleWeb

Web Interface add-on to PoracleJS
GNU Affero General Public License v3.0
21 stars 33 forks source link

A config option to disable the location button #34

Closed ccev closed 3 years ago

ccev commented 3 years ago

Since locations require a nominatim server and I don't have one set up, It'd be cool if I could disable the button.

bbdoc commented 3 years ago

I will think about it... but then all distance related stuff would also need to be disabled as it would confuse people.

Some other users only use location and would like to disable areas instead ;-)

ccev commented 3 years ago

I thought about removing distance as well, but users can still set their location with !location in the bot.

The best option would be to have a map where you can pick the location, I think. But I assume that takes some time and until then, I just want to disable the button

bbdoc commented 3 years ago

So more globally this is something I already had in mind. My idea is to :

Letting people chose their location on a map would be cool but probably a lot more complicated to put in place but if they can at least use their current position, that would tacke cases where no nominatim is available.

I will work on that soon ;-)

bbdoc commented 3 years ago

Locations and Areas can now be disabled in config with latest commits.

Disabling Location will also disable all distance settings.