-
Notifications
You must be signed in to change notification settings - Fork 46
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
Conversation
0dba8e4
to
607963f
Compare
Codecov ReportAttention: Patch coverage is
❗ 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
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
6611820
to
df40bf3
Compare
There was a problem hiding this 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:
(Could maybe be fixed with pointer-events: none
?)
front/src/modules/trainschedule/components/ManageTrainSchedule/Map.tsx
Outdated
Show resolved
Hide resolved
1e3f06f
to
75a29a6
Compare
75a29a6
to
e822f60
Compare
There was a problem hiding this 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.
...s/trainschedule/components/ManageTrainSchedule/ManageTrainScheduleMap/ItineraryMarkersV2.tsx
Outdated
Show resolved
Hide resolved
...s/trainschedule/components/ManageTrainSchedule/ManageTrainScheduleMap/ItineraryMarkersV2.tsx
Show resolved
Hide resolved
e822f60
to
d62f480
Compare
There was a problem hiding this 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 !
There was a problem hiding this 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!)
Closes #8016
Closes #8198
Closes #8620