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: refacto and migrate infras list editor module #4679

Closed
7 tasks
SharglutDev opened this issue Jul 27, 2023 · 0 comments · Fixed by #4680
Closed
7 tasks

front: refacto and migrate infras list editor module #4679

SharglutDev opened this issue Jul 27, 2023 · 0 comments · Fixed by #4680
Assignees
Labels
area:front Work on Standard OSRD Interface modules kind:enhancement Improvement of existing features kind:refacto-task Task related to Refactorization Epic

Comments

@SharglutDev
Copy link
Contributor

SharglutDev commented Jul 27, 2023

Description and goal

The current clone infra function is working but has been patched with a wrong behaviour, it need to be refactored as well as the rest of the module which need to be migrate in tsx and rtk.

Acceptance criteria

  • after an infra clone, the infras list should be refreshed without setTimeout
  • renaming an infra should use the rtk editoast endpoint and the list should be properly refreshed
  • locking an infra should use the rtk editoast endpoint and the list should be properly refreshed
  • deleting an infra should use the rtk editoast endpoint and the list should be properly refreshed
  • exporting an infra should use the rtk editoast endpoint
  • all jsx files of the module should be migrated in tsx
  • adding an infra should be still working properly
@SharglutDev SharglutDev added kind:enhancement Improvement of existing features area:front Work on Standard OSRD Interface modules labels Jul 27, 2023
@SharglutDev SharglutDev self-assigned this Jul 27, 2023
@SharglutDev SharglutDev added the kind:refacto-task Task related to Refactorization Epic label Jul 28, 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 kind:enhancement Improvement of existing features kind:refacto-task Task related to Refactorization Epic
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant