green-traveller / web

🚴🌳 Green Traveller - WebApp
https://green-traveller.github.io/web/
GNU General Public License v3.0
9 stars 2 forks source link

Set distance threshold for including 'walking' and 'bicycle' routes in search results @Preferences @Search #133

Open Osbie-Feel opened 4 years ago

Osbie-Feel commented 4 years ago

I suppose for long distance travels such as "Berlin-Ulm" or "Hamburg-München" hardly anyone would choose walking or cycling as means of transport.

Even for the considerably shorter "Berlin-Potsdam" the 'walking'-option seems far-fetched in most cases and even cycling will be only occasional.

Therefore it would be nice to have the option to set a threshold for distances up to which these means of transport are displayed in the results. Ideally in the results view there would still be a toggle switches below the routes to give the user the option to display 'walking' or 'cycling' nevertheless.

Of course these are just my suggestions and they'll need to be discussed by the team!

bucherfa commented 3 years ago

I think this option makes a lot of sense. And I also want to refrain from having those option completely removed.

So my suggestion would be to hide the unlikely options by default but by pressing on a not too visible button below the reasonable results which shows the unlikely options. Screen Shot 2021-01-12 at 15 55 16

what i am not so sure about is the order the options should be all in

// either below, since the button is below
public transport
car
walk
bike
// or above, since all the results are sorted like this
walk
bike
public transport
car

a third option could be to add the + unlikely options to the top, as a placeholder, since walking and bicycling are always on top

bucherfa commented 3 years ago

as preference options

let the user set an options in the settings, first enabling the threshold and then at what distance

bucherfa commented 3 years ago

user popup for info in the settings