grote / Transportr

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

Stop showing trips that are impossible to take #940

Open M00NJ opened 6 months ago

M00NJ commented 6 months ago

Describe the bug

When planing a Trip in the future it makes sense to show multiple options before and after the selected time of arrival, so the user can pick the best one. However it makes no sense to show options from the past that are impossible to take. None at all or maybe a maximum of 5min ago, in case the user wants to run I guess. The current situation is not optimal though. The whole screen is filled with trips that can't be taken as seen in the screenshot. It just doesn't make sense to fill up the ui with useless information like that.

To Reproduce

Steps to reproduce the behavior:

  1. Select a location and destination
  2. Select a time of arrival today, that's still possible to arrive at, but not too far off in the future
  3. Transportr shows trips from the past

Expected behavior

Transportr doesn't show trips that are impossible to take

Screenshots

signal-2024-03-31-13-13-22-592

Versions (please complete the following information):