OpenRailAssociation / osrd

An open source web application for railway infrastructure design, capacity analysis, timetabling and simulation
https://osrd.fr
GNU Lesser General Public License v3.0
415 stars 40 forks source link

front: if current infra is the one we delete, change the store #7925

Closed sim51 closed 1 day ago

sim51 commented 2 days ago

Fix #7798

codecov-commenter commented 2 days ago

:warning: Please install the 'codecov app svg image' to ensure uploads and comments are reliably processed by Codecov.

Codecov Report

Attention: Patch coverage is 0% with 6 lines in your changes missing coverage. Please review.

Project coverage is 18.48%. Comparing base (0dc83c3) to head (ed514bc). Report is 3 commits behind head on dev.

Files Patch % Lines
...aSelector/InfraSelectorEditionActionsBarDelete.tsx 0.00% 6 Missing :warning:

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.

:exclamation: There is a different number of reports uploaded between BASE (0dc83c3) and HEAD (ed514bc). Click for more details.

HEAD has 7 uploads less than BASE | Flag | BASE (0dc83c3) | HEAD (ed514bc) | |------|------|------| |railjson_generator|2|1| |gateway|2|1| |tests|2|1| |front|2|1| |core|2|1| |editoast|2|0|
Additional details and impacted files ```diff @@ Coverage Diff @@ ## dev #7925 +/- ## ============================================ - Coverage 28.47% 18.48% -9.99% Complexity 2059 2059 ============================================ Files 1256 981 -275 Lines 154576 125577 -28999 Branches 3049 3049 ============================================ - Hits 44008 23217 -20791 + Misses 108751 100543 -8208 Partials 1817 1817 ``` | [Flag](https://app.codecov.io/gh/OpenRailAssociation/osrd/pull/7925/flags?src=pr&el=flags&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=None) | Coverage Δ | | |---|---|---| | [core](https://app.codecov.io/gh/OpenRailAssociation/osrd/pull/7925/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=None) | `75.00% <ø> (ø)` | | | [editoast](https://app.codecov.io/gh/OpenRailAssociation/osrd/pull/7925/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=None) | `?` | | | [front](https://app.codecov.io/gh/OpenRailAssociation/osrd/pull/7925/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=None) | `9.96% <0.00%> (-0.01%)` | :arrow_down: | | [gateway](https://app.codecov.io/gh/OpenRailAssociation/osrd/pull/7925/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=None) | `2.34% <ø> (ø)` | | | [railjson_generator](https://app.codecov.io/gh/OpenRailAssociation/osrd/pull/7925/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=None) | `87.49% <ø> (ø)` | | | [tests](https://app.codecov.io/gh/OpenRailAssociation/osrd/pull/7925/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=None) | `72.93% <ø> (ø)` | | Flags with carried forward coverage won't be shown. [Click here](https://docs.codecov.io/docs/carryforward-flags?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=None#carryforward-flags-in-the-pull-request-comment) to find out more.

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.