Add the selected train and the projection to the scenario URL #9018
Labels
area:front
Work on Standard OSRD Interface modules
kind:enhancement
Improvement of existing features
module:operational-studies
Multi-train simulation with structured studies management
Description and goal
It would be very nice if the train I have selected and the projection I'm using on my GET are not reset after a refresh. #9011 exist.
We should encode the selected train and projection in the URL doing so will allow sharing a specific view to others.
Technical design
The URL could look like this:
Both
selected_train
andprojection
are train schedule ids.Note
If this query parameter is not provided / invalid (deleted train). These parameters should be replaced by the first valid train.
Tip
Bonus: The selected train/projection could also be saved in the local storage. So the next time a user opens its scenario, he has the same page as before.
Acceptance criteria
The text was updated successfully, but these errors were encountered: