OpenRailAssociation / osrd

An open source web application for railway infrastructure design, capacity analysis, timetabling and simulation
https://osrd.fr
458 stars 43 forks source link

Display pathfinding constraints on shortest path #8356

Closed sim51 closed 2 months ago

sim51 commented 2 months ago

Implements #7719

This PR is just the fusion (+ rebase) of :

codecov-commenter commented 2 months 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 15.66633% with 829 lines in your changes missing coverage. Please review.

Project coverage is 37.30%. Comparing base (606e0e3) to head (09960df). Report is 4 commits behind head on dev.

Files Patch % Lines
...ncompatibleConstraints/IncompatibleConstraints.tsx 0.00% 250 Missing and 1 partial :warning:
...patibleConstraints/IncompatibleConstraintsItem.tsx 0.00% 88 Missing and 1 partial :warning:
...inding/components/IncompatibleConstraints/utils.ts 0.00% 71 Missing and 1 partial :warning:
...atibleConstraints/IncompatibleConstraintsLayer.tsx 0.00% 64 Missing and 1 partial :warning:
...ibleConstraints/IncompatibleConstrainstFilters.tsx 0.00% 58 Missing and 1 partial :warning:
...patibleConstraints/IncompatibleConstraintsList.tsx 0.00% 51 Missing and 1 partial :warning:
front/src/common/Collapsable.tsx 0.00% 42 Missing and 1 partial :warning:
...nt/src/modules/pathfinding/hooks/usePathfinding.ts 0.00% 41 Missing and 1 partial :warning:
...bleConstraints/IncompatibleConstraintsMapFocus.tsx 0.00% 36 Missing and 1 partial :warning:
...s/pathfinding/components/Itinerary/ItineraryV2.tsx 0.00% 21 Missing :warning:
... and 14 more

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

Additional details and impacted files ```diff @@ Coverage Diff @@ ## dev #8356 +/- ## ============================================ - Coverage 38.42% 37.30% -1.13% - Complexity 2163 2165 +2 ============================================ Files 1242 1266 +24 Lines 113599 117397 +3798 Branches 3131 3169 +38 ============================================ + Hits 43650 43792 +142 - Misses 68105 71736 +3631 - Partials 1844 1869 +25 ``` | [Flag](https://app.codecov.io/gh/OpenRailAssociation/osrd/pull/8356/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/8356/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=None) | `74.95% <72.67%> (-0.64%)` | :arrow_down: | | [editoast](https://app.codecov.io/gh/OpenRailAssociation/osrd/pull/8356/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=None) | `66.38% <100.00%> (-0.51%)` | :arrow_down: | | [front](https://app.codecov.io/gh/OpenRailAssociation/osrd/pull/8356/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=None) | `16.52% <4.03%> (-0.18%)` | :arrow_down: | | [gateway](https://app.codecov.io/gh/OpenRailAssociation/osrd/pull/8356/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=None) | `2.20% <ø> (+0.17%)` | :arrow_up: | | [osrdyne](https://app.codecov.io/gh/OpenRailAssociation/osrd/pull/8356/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=None) | `2.71% <ø> (?)` | | | [railjson_generator](https://app.codecov.io/gh/OpenRailAssociation/osrd/pull/8356/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/8356/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=None) | `72.98% <ø> (ø)` | | 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.