grote / Transportr

Free Public Transport Assistant without Ads or Tracking
https://transportr.app
GNU General Public License v3.0
1.04k stars 188 forks source link

Hide Via toggle in directions form if not supported #711

Closed ialokim closed 3 years ago

ialokim commented 4 years ago

After the first part of https://github.com/schildbach/public-transport-enabler/pull/333 has been merged in, we should use this information for hiding the "Via" toggle for providers that don't support this (mainly Navitia-based ones).

ialokim commented 3 years ago

One question that arises while implementing this: Should we care for removing legacy favorite trips with the Via field set and if so, how should we handle these? Some sort of database migration?

grafik

grote commented 3 years ago

I wouldn't bother, but if you have fun doing it... :P