Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add new paced train #10607

Closed
10 tasks
SharglutDev opened this issue Jan 31, 2025 · 0 comments · Fixed by #10772
Closed
10 tasks

Add new paced train #10607

SharglutDev opened this issue Jan 31, 2025 · 0 comments · Fixed by #10772
Assignees
Labels
area:front Work on Standard OSRD Interface modules kind:feature-task Work related to a feature epic module:operational-studies Multi-train simulation with structured studies management

Comments

@SharglutDev
Copy link
Contributor

SharglutDev commented Jan 31, 2025

Description and goal

Update the current interface to add train to be able to add a unique train or a paced train.

Ppt mockup here : https://sncf.sharepoint.com/:p:/r/sites/OSRD644GrpO365/Documents%20partages/PO/Groupes%20et%20familles%20de%20trains/Maquette%20mission%20PI14.pptx?d=wfceedf5d80034b0aaed5e9ba4dff9dfd&csf=1&web=1&e=Tbb4nc

Note

The ppt mockup doesn't provide any specific style, it's more of a functional mockup

This interface should also have end to end tests.

End to end tests strategy (details here : https://github.com/osrd-project/osrd-tests/issues/89)

  • The old test 005-operational-studies.spec.ts should be replaced by the one in the linked issue
  • Every requirements of the tests should be done until the 6. part included

Acceptance criteria

  • When service mode is off, we can still create a regular train
  • There is a new checkbox below the submit button to switch the form between unique train and paced train
  • The checkbox is unchecked by default
  • In service mode, there is a new field Duration of the repetition time range ("Durée de la plage de répétition")
  • In service mode, there is a new field Cadence of the service ("Cadence de la mission")
  • The duration field is in minutes and is filled with 120min by default
  • The cadence field is in minutes and is filled with 60min by default
  • Both these fields are saved in the store
  • When the checkbox is checked, the main "Add" button, shows Add a service ("Ajouter une mission")
  • New e2e tests have been added and follow the strategy in description
@SharglutDev SharglutDev added area:front Work on Standard OSRD Interface modules kind:feature-task Work related to a feature epic module:operational-studies Multi-train simulation with structured studies management labels Jan 31, 2025
@SharglutDev SharglutDev self-assigned this Jan 31, 2025
This was referenced Jan 31, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area:front Work on Standard OSRD Interface modules kind:feature-task Work related to a feature epic module:operational-studies Multi-train simulation with structured studies management
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant