-
Couldn't load subscription status.
- Fork 60
Open
Description
Description and goal
Part of https://github.com/osrd-project/osrd-confidential/issues/1054
mockup : https://www.sketch.com/s/008d6980-d719-4bdc-bb2a-b4c2dda0dc1e/f/6C8A4283-0CC6-4000-A499-271BADDBB093
If the current train in the old interface is invalid, these errors should be displayed in the new itinerary modal as well.
Important
the form is still not editable
Acceptance criteria
- if a path step is invalid, its fields are empty
- if the train is invalid, the itinerary is not displayed on the map
- only valid path steps are displayed on the map
- the left round icon should be red
- the op name, secondary code and track name fields are circle with red
- below the CI input, the current invalid information is displayed (if the path step name is "toto", the text shows "toto" in red) - mockup
- an error banner is displayed above the path step list (same place as the rs/category warning)
- if the error is an incompatible constraint, this error is displayed at the same place and the "incompatible constraint" modal is displayed at the bottom of the map like in the old interface
- Move the
alertBoxstyle fromprojectListtoitineraryModal
Metadata
Metadata
Assignees
Labels
No labels
Type
Projects
Status
In Progress