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: reference map when no infra (or not existing) is selected #7897

Closed sim51 closed 2 days ago

sim51 commented 3 days ago

Fix #6541

codecov-commenter commented 3 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 110 lines in your changes missing coverage. Please review.

Project coverage is 28.53%. Comparing base (e79e415) to head (00e7b2c). Report is 2 commits behind head on dev.

Files Patch % Lines
...ront/src/common/Map/Layers/extensions/SNCF/PSL.tsx 0.00% 27 Missing :warning:
front/src/common/Map/Layers/SpeedLimits.tsx 0.00% 24 Missing :warning:
front/src/common/Map/Layers/Electrifications.tsx 0.00% 21 Missing :warning:
front/src/applications/referenceMap/Home.tsx 0.00% 11 Missing :warning:
...s/infra/components/InfraSelector/InfraSelector.tsx 0.00% 3 Missing and 1 partial :warning:
front/src/common/Map/Layers/LineSearchLayer.tsx 0.00% 3 Missing :warning:
front/src/common/Map/Layers/TracksGeographic.tsx 0.00% 3 Missing :warning:
front/src/common/Map/Layers/BufferStops.tsx 0.00% 2 Missing :warning:
front/src/common/Map/Layers/Detectors.tsx 0.00% 2 Missing :warning:
front/src/common/Map/Layers/OperationalPoints.tsx 0.00% 2 Missing :warning:
... and 6 more

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

Additional details and impacted files ```diff @@ Coverage Diff @@ ## dev #7897 +/- ## ============================================ - Coverage 28.54% 28.53% -0.02% Complexity 2059 2059 ============================================ Files 1249 1249 Lines 154210 154166 -44 Branches 3036 3036 ============================================ - Hits 44024 43990 -34 + Misses 108376 108366 -10 Partials 1810 1810 ``` | [Flag](https://app.codecov.io/gh/OpenRailAssociation/osrd/pull/7897/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/7897/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=None) | `74.95% <ø> (ø)` | | | [editoast](https://app.codecov.io/gh/OpenRailAssociation/osrd/pull/7897/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=None) | `71.62% <ø> (-0.05%)` | :arrow_down: | | [front](https://app.codecov.io/gh/OpenRailAssociation/osrd/pull/7897/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=None) | `10.00% <0.00%> (-0.01%)` | :arrow_down: | | [gateway](https://app.codecov.io/gh/OpenRailAssociation/osrd/pull/7897/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/7897/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/7897/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.