-
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: add track column to timestops table #9614
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 #9614 +/- ##
==========================================
- Coverage 38.18% 38.14% -0.04%
==========================================
Files 996 998 +2
Lines 92033 92118 +85
Branches 1192 1192
==========================================
Hits 35143 35143
- Misses 56434 56519 +85
Partials 456 456
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
03a3ecd
to
29742bf
Compare
(Update to the tests coming soon ^^) |
@Yohh je t'ajoute en review juste pour le mini changement de test |
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! I extended the width a bit. |
151b7bc
to
85937c8
Compare
2 notes : - conflict with incoming #9642 to fix, probably by replacing the formatSuggestedOperationalPoints call by a formatSuggestedOperationalPointsWithTrackName call in use output table data
|
front/src/applications/operationalStudies/components/Scenario/ScenarioContent.tsx
Outdated
Show resolved
Hide resolved
Todo :
|
10d1424
to
91155f7
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 last changes ! Left some comments, they are totally debatable
front/src/applications/operationalStudies/components/Scenario/ScenarioContent.tsx
Outdated
Show resolved
Hide resolved
front/src/applications/operationalStudies/hooks/useScenarioContext.tsx
Outdated
Show resolved
Hide resolved
front/src/applications/operationalStudies/hooks/useTrackSections.ts
Outdated
Show resolved
Hide resolved
front/src/applications/operationalStudies/hooks/useTrackSections.ts
Outdated
Show resolved
Hide resolved
front/src/applications/operationalStudies/hooks/useTrackSections.ts
Outdated
Show resolved
Hide resolved
front/src/applications/operationalStudies/hooks/useTrackSections.ts
Outdated
Show resolved
Hide resolved
front/src/applications/operationalStudies/hooks/useSetupItineraryForTrainUpdate.ts
Outdated
Show resolved
Hide resolved
2 new fixup, the second one is the change from usestate to useref for the content of the cache, to avoid dependency loops and useless renders |
Clara asked me to ping all maintainers about adding context to the scenario, so here : @kmer2016 @emersion @SharglutDev @clarani @Math-R . Sorry for the inconvenience, hope I didn't forget anyone ^^ |
front/src/applications/operationalStudies/hooks/useTrackSections.ts
Outdated
Show resolved
Hide resolved
front/src/applications/operationalStudies/hooks/useTrackSections.ts
Outdated
Show resolved
Hide resolved
69c64e5
to
cd1d70b
Compare
Lgtm and tested for me. Waiting for at least a 2nd maintainer approval for the context subject :) (@clarani) |
cd1d70b
to
23c2391
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.
Nice job ! Just a small suggestion
front/src/applications/operationalStudies/views/ManageTrainSchedule.tsx
Outdated
Show resolved
Hide resolved
Overall the context approach sounds good to me :) |
b61d8d2
to
6c0bcc4
Compare
6c0bcc4
to
8248abe
Compare
front/src/applications/operationalStudies/hooks/useCachedTrackSections.ts
Outdated
Show resolved
Hide resolved
front/src/applications/operationalStudies/hooks/useCachedTrackSections.ts
Outdated
Show resolved
Hide resolved
front/src/applications/operationalStudies/hooks/useScenarioContext.tsx
Outdated
Show resolved
Hide resolved
front/src/applications/operationalStudies/components/Scenario/ScenarioContent.tsx
Outdated
Show resolved
Hide resolved
front/src/applications/operationalStudies/hooks/useSetupItineraryForTrainUpdate.ts
Show resolved
Hide resolved
front/src/modules/simulationResult/hooks/useFormattedOperationalPoints.ts
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.
Nice PR! The changes look good for the minor update in the e2e test.
If possible, could you expand the scope to include a check for the track values? If adding it now isn't feasible, please create an issue and assign it to me for follow-up later.
Thanks! 😊
720327f
to
f6ddeae
Compare
Done! |
f6ddeae
to
fab965a
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 ✅
Signed-off-by: Alice Khoudli <[email protected]>
Signed-off-by: Alice Khoudli <[email protected]>
Signed-off-by: Alice Khoudli <[email protected]>
Signed-off-by: Alice Khoudli <[email protected]>
fab965a
to
2e4b902
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 for e2e tests ✅
Close #9526