HSLdevcom / HSLdevcom/digitransit-ui

"Earlier departures" and "Later departures" options could be added in intermodal route suggestions

Open
#5,198 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
JavaScript
Stars
267
Forks
145
Avg merge
1d 15h
Merged PRs (30d)
75

Description

Description:

After performing a route search, the Public Transport Connections view offers the options "Earlier departures" and "Later departures". However, these options are no longer available when switching to the intermodal route suggestions view. It would be beneficial to have these options accessible in the intermodal view as well, without requiring the user to return to the main overview.


Steps to reproduce:

  1. Perform a route search in the application. e.G.: https://opas.matka.fi/reitti/Piitie%201%2C%20Vantaa%3A%3A60.291831728250386%2C24.987936615943912/Kaunokkitie%209%2C%20Vantaa%3A%3A60.29857301873039%2C25.002350807189945?locale=en&time=1733997446
  2. Note the availability of "Earlier departures" and "Later departures" options.
  3. Switch to the Intermodal Route Suggestions view.
  4. Observe that the "Earlier departures" and "Later departures" options are no longer available.

Observed behavior:

The "Earlier departures" and "Later departures" options are missing in the intermodal route suggestions view.

Expected behavior:

These options should also be available in the intermodal route suggestions view to allow users to easily adjust the time of departure without returning to the main overview.


Screenshots:

image
image


Environment:

  • Browser: Edge

Additional information:

Adding this functionality would enhance the user experience and make intermodal route planning more seamless and flexible.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the route search and switching to the Intermodal Route Suggestions view in the application, using the linked example URL. Trace where the “Earlier departures” and “Later departures” controls are rendered in each view; done means both options are available in the intermodal view and adjust departure time as they do in the main overview.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
frontend
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.