-
Notifications
You must be signed in to change notification settings - Fork 45
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
front: restore miniGET sync by storing scale domain #5601
Conversation
Codecov ReportAttention:
Additional details and impacted files@@ Coverage Diff @@
## dev #5601 +/- ##
============================================
+ Coverage 27.72% 27.87% +0.15%
Complexity 2165 2165
============================================
Files 1003 1007 +4
Lines 126573 126912 +339
Branches 2580 2582 +2
============================================
+ Hits 35097 35382 +285
- Misses 89986 90038 +52
- Partials 1490 1492 +2
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
106396c
to
0c052ec
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 the PR. Left one comment.
Tested and it works when entering a scenario but if I delete the selected train in the timetable, the synchro with the timeline is lost.
It might work again when this issue will be fixed.
front/src/modules/simulationResult/components/TimeLine/TimeLine.tsx
Outdated
Show resolved
Hide resolved
Probably so I'll wait for it |
The fix is merged, you can rebase and test if it's working :) |
0c052ec
to
7897fe4
Compare
It's working, could you make a last chek ? |
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, if you could just remove the comment if not needed :)
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.
Thanks for this useful PR, I left some comments :)
front/src/modules/simulationResult/components/SpaceTimeChart/withOSRDData.tsx
Outdated
Show resolved
Hide resolved
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 (only left 1 comment), tested ✅ You just need to rebase and clean your commit, and then it's all good !
front/src/applications/operationalStudies/views/SimulationResults.tsx
Outdated
Show resolved
Hide resolved
front/src/applications/operationalStudies/views/SimulationResults.tsx
Outdated
Show resolved
Hide resolved
front/src/applications/operationalStudies/views/SimulationResults.tsx
Outdated
Show resolved
Hide resolved
eb3bf2a
to
3eec694
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, thanks 🙏 ✅
front:no use of chartXDomain front: no more sync by store front: no nice remove useless func def
3eec694
to
e8783b6
Compare
This PR needed a rebase and some adaptations, so the approve is not valid anymore
e8783b6
to
771581d
Compare
771581d
to
312d0ff
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 following this PR ! Left some comments
front/src/modules/simulationResult/components/TimeLine/TimeLine.tsx
Outdated
Show resolved
Hide resolved
front/src/modules/simulationResult/components/SpaceTimeChart/SpaceTimeChart.tsx
Outdated
Show resolved
Hide resolved
front/src/applications/operationalStudies/views/SimulationResults.tsx
Outdated
Show resolved
Hide resolved
front/src/modules/simulationResult/components/SpaceTimeChart/SpaceTimeChart.tsx
Outdated
Show resolved
Hide resolved
front/src/modules/simulationResult/components/SpaceTimeChart/SpaceTimeChart.tsx
Outdated
Show resolved
Hide resolved
front/src/modules/simulationResult/components/SpaceTimeChart/SpaceTimeChart.tsx
Outdated
Show resolved
Hide resolved
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 the changes. Just two more comments :)
front/src/modules/simulationResult/components/SpaceTimeChart/SpaceTimeChart.tsx
Show resolved
Hide resolved
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 !
This will restore sunc between Timeline and GET in domain changes by sliders. Cannot pass D3Scale trhough Store, so it is the retrurn of chartXCGEV, in a readable manner (i hope)
Closes #5367