stadtnavi / digitransit-ui

Digitransit UI Clone, especially for the city of Herrenberg ("stadtnavi.de")
https://stadtnavi.de/
Other
13 stars 14 forks source link

Display red/crossed out delay information also on route view #752

Open leonardehrenfried opened 3 years ago

leonardehrenfried commented 3 years ago

In #749 we changed the display of delay information in the itinerary view.

However, on the view showing the entire route the delay is still shown in green.

The following shows a view where a train is actually delayed.

Screenshot from 2021-07-30 10-47-17

The green text suggests that everything is fine, when it really isn't.

Acceptance criteria

Beck-berry commented 3 years ago

You did not mention the original time but I put it there anyway: image

What do you think?

By the way, I could not use the newly created component. Luckily, the one used here needed only a little modification, so I hope this solution will be ok too.

leonardehrenfried commented 3 years ago

Yes, this is exactly what we need