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

stdcm: simulation report map is not showing the path #8256

Merged
merged 1 commit into from
Sep 2, 2024

Conversation

SarahBellaha
Copy link
Contributor

@SarahBellaha SarahBellaha commented Jul 30, 2024

Closes #8016
Closes #8198
Closes #8620

@SarahBellaha SarahBellaha force-pushed the sba/front/fix-stdcm-map-8016 branch 3 times, most recently from 0dba8e4 to 607963f Compare July 30, 2024 13:47
@codecov-commenter
Copy link

codecov-commenter commented Jul 30, 2024

⚠️ 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 74 lines in your changes missing coverage. Please review.

Project coverage is 36.83%. Comparing base (83f8fb5) to head (d62f480).
Report is 34 commits behind head on dev.

Files with missing lines Patch % Lines
...ainschedule/components/ManageTrainSchedule/Map.tsx 0.00% 59 Missing ⚠️
...dule/ManageTrainScheduleMap/ItineraryMarkersV2.tsx 0.00% 10 Missing ⚠️
...s/stdcmV2/components/StdcmResults/StdcmResults.tsx 0.00% 4 Missing ⚠️
front/src/applications/stdcm/hooks/useStdcm.ts 0.00% 1 Missing ⚠️

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

Additional details and impacted files
@@             Coverage Diff              @@
##                dev    #8256      +/-   ##
============================================
- Coverage     36.91%   36.83%   -0.08%     
- Complexity     2175     2177       +2     
============================================
  Files          1279     1254      -25     
  Lines        118972   113661    -5311     
  Branches       3188     3202      +14     
============================================
- Hits          43922    41871    -2051     
+ Misses        73165    69896    -3269     
- Partials       1885     1894       +9     
Flag Coverage Δ
core 74.79% <ø> (-0.08%) ⬇️
editoast 71.72% <ø> (+5.52%) ⬆️
front 14.95% <0.00%> (-0.90%) ⬇️
gateway 2.20% <ø> (ø)
osrdyne 2.71% <ø> (ø)
railjson_generator 87.49% <ø> (ø)
tests 86.45% <ø> (+13.52%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@SarahBellaha SarahBellaha force-pushed the sba/front/fix-stdcm-map-8016 branch 3 times, most recently from 6611820 to df40bf3 Compare July 31, 2024 16:00
@SarahBellaha SarahBellaha marked this pull request as ready for review July 31, 2024 16:00
@SarahBellaha SarahBellaha requested a review from a team as a code owner July 31, 2024 16:00
Copy link
Member

@emersion emersion left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Seems like this TypeScript error pops up:

 [TypeScript] Type '{ hideAttribution: true; hideItinerary: true; preventPointSelection: true; pathProperties: ManageTrainSchedulePathProperties | undefined; }' is not assignable to type 'IntrinsicAttributes & MapProps'. Property 'preventPointSelection' does not exist on type 'IntrinsicAttributes & MapProps'.

/app/src/applications/stdcmV2/components/StdcmConfig.tsx:115:44

By spamming clicks on the map markers (when the cursor appears as a hand), I can get it in a weird state where the markers are offset:

out

(Could maybe be fixed with pointer-events: none?)

@SarahBellaha SarahBellaha force-pushed the sba/front/fix-stdcm-map-8016 branch 3 times, most recently from 1e3f06f to 75a29a6 Compare August 21, 2024 07:15
Copy link
Contributor

@SharglutDev SharglutDev left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for this PR ! Tested and it works great. Left some comments.

Copy link
Contributor

@SharglutDev SharglutDev left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Lgtm and tested, good job for the fix !

Copy link
Member

@emersion emersion left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thanks! (Sorry for the delay!)

@SarahBellaha SarahBellaha added this pull request to the merge queue Sep 2, 2024
Merged via the queue into dev with commit 478260d Sep 2, 2024
22 checks passed
@SarahBellaha SarahBellaha deleted the sba/front/fix-stdcm-map-8016 branch September 2, 2024 06:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
4 participants