-
Notifications
You must be signed in to change notification settings - Fork 40
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: convert times from NGE to OSRD #8416
Conversation
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 #8416 +/- ##
============================================
- Coverage 37.04% 37.01% -0.03%
Complexity 2165 2165
============================================
Files 1267 1267
Lines 117203 117262 +59
Branches 3139 3139
============================================
- Hits 43413 43408 -5
- Misses 71948 72012 +64
Partials 1842 1842
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
fe1950c
to
d031d8e
Compare
47e5a35
to
4d4b0c0
Compare
a7828f4
to
70a81b8
Compare
It looks like changing the source arrival time for the first section also changes the departure time (caused directly by NGE times propagation). |
front/src/applications/operationalStudies/components/MacroEditor/ngeToOsrd.ts
Show resolved
Hide resolved
Right, |
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.
Another weird thing : when creating a train with a via in NGE and asking the train to stop at this via, the output table is properly updated with the stop but not the input table.
I believe this bug happens without this PR as well. |
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.
Tested and LGTM. Thanks a lot for this precious feature 💯
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. The input table issue will be done in a different PR.
…IsoDate() The Date constructor can also take an existing Date object.
70a81b8
to
a59bb03
Compare
isNonStopTransit
makes NGE blow up withNaN
when editing timesCloses: #8389