HSLdevcom / HSLdevcom/digitransit-ui
Display of delayed and too early vehicles
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 267
- Forks
- 145
- Avg merge
- 1d 15h
- Merged PRs (30d)
- 75
Description
In our downstream fork we have adjusted the display of the delay information in the following way:

The code to show the crossed out original time somewhat already there but the required field departureDelay was never requested from the server. We corrected this in https://github.com/stadtnavi/digitransit-ui/pull/749 (original issue with more screenshots and discussion) and also added some styling, namely we made the delays red, rather than the "realtime green".
We would also like to show the same information for the arrival time at the destination (the "15:20" at the bottom in the above screenshot) but right now this time refers to the start of the next leg, in this case the bike one.
We are wondering if we could perhaps collaborate with you on this issue and could come up with solution that satisfies both requirements.
Are you interested in this visualisation and if not, would you accept a config setting that switches between one or the other look?
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 reviewing the existing delayed-time display described in this issue, the linked pull request 749, and the discussion in issue 746. Clarify whether the project should adopt the proposed visualization or support a configuration setting, then define how arrival times for the destination leg should be represented before implementation.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- frontend
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100