HSLdevcom / HSLdevcom/digitransit-ui
"Earlier departures" and "Later departures" options could be added in intermodal route suggestions
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:
- 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
- Note the availability of "Earlier departures" and "Later departures" options.
- Switch to the Intermodal Route Suggestions view.
- 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:
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
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- 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