Use scroll to search new itineraries

Description

  • Remove before, now and after buttons

  • Always try to search some additional itineraries before and after the selected time. Note: filling earlier searches can be hard as we do not know how much to step back in time. Maybe use same kind of reversed scan as 'earlier' button does now. It is a slow way, though. This logic will most likely be quite complicated, so maybe we implement it in OTP side.

  • Scroll shows the prefetched set and launches a search to get more itineraries in the scroll direction

Questions for design:

  • What happens to the time selector value?

  • Do we keep the fetched itineraries or recalculate them when user scrolls back and forth?

Acceptance Criteria

None

Activity

Show:
Vesa Meskanen
March 26, 2020, 6:55 AM

OTP2 will include builtin itinerary paging.

Tomi Hämäläinen
June 24, 2020, 1:32 PM
Edited

Guidelines for implementation:

Q: What happens to the time selector value?
A: When loading both earlier and later itineraries time selector value remains as selected.

Q: Do we keep the fetched itineraries or recalculate them when user scrolls back and forth?
A: Keep fetched itineraries.

Ville Hämäläinen
September 9, 2020, 11:14 AM

Link to Invision prototype:

Assignee

Unassigned

Reporter

Vesa Meskanen

More details from

None

Components

None

Priority

Medium

Epic Link

Story Points

None

Labels

None
Configure