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

front: remove multiple calls in project/study/scenario #6023

Closed
1 task
nicolaswurtz opened this issue Dec 6, 2023 · 0 comments · Fixed by #6189
Closed
1 task

front: remove multiple calls in project/study/scenario #6023

nicolaswurtz opened this issue Dec 6, 2023 · 0 comments · Fixed by #6189
Assignees
Labels
area:front Work on Standard OSRD Interface modules module:operational-studies Multi-train simulation with structured studies management

Comments

@nicolaswurtz
Copy link
Contributor

nicolaswurtz commented Dec 6, 2023

Description

In the components Study and Scenario, we send several calls (up to 3) to the api to get the project, the study and the scenario.
But this is not needed anymore, since the endpoints have been changed by #5981.

Now only 1 call is needed to get the object and the name of its parent:

  • api/projects/.../studies/.../
  • api/projects/.../studies/.../scenarios/.../

AC

  • Only 1 call by page Project, Study, Scenario
@nicolaswurtz nicolaswurtz added the area:front Work on Standard OSRD Interface modules label Dec 6, 2023
@axrolld axrolld added the module:operational-studies Multi-train simulation with structured studies management label Dec 12, 2023
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 module:operational-studies Multi-train simulation with structured studies management
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants