You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The header represents the spatial axis of the Space-Time Diagram (GET). From the header, there should be a FIT button that allows switching to a view where the entire path is displayed.
On the first render, the selected train must be optimally displayed horizontally.
Acceptance Criteria
The user has a button to reset the zoom level in order to see a train in its entirety.
On the first render, the user can see the selected train in full.
On the first render, the horizontal scale must be adjusted to the trains in the timetable.
Implementation Plan
osrd-ui (size 0.75)
In the header, add a button to dispatch an event that resets the scale.
In the Header+GET component, add logic to:
Adjust the maximum allowed zoom level on the GET.
Modify the vertical scales (space) when clicking the button.
Modify the horizontal scale (time) for the first render.
osrd (size 0.25)
Integrate the new version of the header, providing the new props if necessary.
The text was updated successfully, but these errors were encountered:
closes https://github.com/osrd-project/osrd-confidential/issues/636
Description
The header represents the spatial axis of the Space-Time Diagram (GET). From the header, there should be a FIT button that allows switching to a view where the entire path is displayed.
On the first render, the selected train must be optimally displayed horizontally.
Acceptance Criteria
Implementation Plan
osrd-ui (size 0.75)
osrd (size 0.25)
The text was updated successfully, but these errors were encountered: