-
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
front: create paced train item #10698
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 #10698 +/- ##
==========================================
+ Coverage 82.49% 82.53% +0.03%
==========================================
Files 1084 1086 +2
Lines 107628 107930 +302
Branches 740 740
==========================================
+ Hits 88786 89078 +292
- Misses 18800 18810 +10
Partials 42 42
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
3fe4c05
to
6ef4022
Compare
6ef4022
to
559c26a
Compare
559c26a
to
7a548a0
Compare
131078d
to
6a1f99e
Compare
6a1f99e
to
85b8afd
Compare
85b8afd
to
29aa2a4
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.
Good job !
lgtm (tested)
29aa2a4
to
d919fc9
Compare
front/src/modules/trainschedule/components/Timetable/PacedTrain/PacedTrainItem.tsx
Outdated
Show resolved
Hide resolved
front/src/modules/trainschedule/components/Timetable/PacedTrain/PacedTrainItem.tsx
Outdated
Show resolved
Hide resolved
front/src/modules/trainschedule/components/Timetable/PacedTrain/PacedTrainItem.tsx
Outdated
Show resolved
Hide resolved
front/src/modules/trainschedule/components/Timetable/Timetable.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.
front/src/modules/trainschedule/components/Timetable/TimetableItemActions.tsx
Show resolved
Hide resolved
front/src/modules/trainschedule/components/Timetable/PacedTrain/PacedTrainItem.tsx
Outdated
Show resolved
Hide resolved
front/src/modules/trainschedule/components/Timetable/PacedTrain/PacedTrainItem.tsx
Outdated
Show resolved
Hide resolved
front/src/modules/trainschedule/components/Timetable/PacedTrain/PacedTrainItem.tsx
Outdated
Show resolved
Hide resolved
front/src/modules/trainschedule/components/Timetable/PacedTrain/PacedTrainItem.tsx
Outdated
Show resolved
Hide resolved
front/src/styles/scss/applications/operationalStudies/_scenario.scss
Outdated
Show resolved
Hide resolved
front/src/styles/scss/applications/operationalStudies/_scenario.scss
Outdated
Show resolved
Hide resolved
front/src/modules/trainschedule/components/Timetable/TimetableItemActions.tsx
Show resolved
Hide resolved
front/src/modules/trainschedule/components/Timetable/Timetable.tsx
Outdated
Show resolved
Hide resolved
front/src/styles/scss/applications/operationalStudies/_scenario.scss
Outdated
Show resolved
Hide resolved
front/src/styles/scss/applications/operationalStudies/_scenario.scss
Outdated
Show resolved
Hide resolved
front/src/styles/scss/applications/operationalStudies/_scenario.scss
Outdated
Show resolved
Hide resolved
front/src/styles/scss/applications/operationalStudies/_scenario.scss
Outdated
Show resolved
Hide resolved
front/src/styles/scss/applications/operationalStudies/_scenario.scss
Outdated
Show resolved
Hide resolved
front/src/styles/scss/applications/operationalStudies/_scenario.scss
Outdated
Show resolved
Hide resolved
Sorry if there are some duplicates with @clarani. Started the review.a while ago :) |
cc03c7c
to
37715fb
Compare
faa9955
to
ad6d531
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.
Super nice work 💪
Code LGTM, I just found this small scroll bar (I had my dev tools opened, but it was not very wide)
Capture vidéo du 2025-02-21 17-26-07.webm
front/src/modules/trainschedule/components/Timetable/Timetable.tsx
Outdated
Show resolved
Hide resolved
front/src/modules/trainschedule/components/Timetable/TimetableToolbar.tsx
Outdated
Show resolved
Hide resolved
Fix scroll bar @clarani |
d3a9022
to
c2b8031
Compare
front/src/modules/trainschedule/components/Timetable/PacedTrain/PacedTrainItem.tsx
Outdated
Show resolved
Hide resolved
c2b8031
to
dbc24ed
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, great job !
Co-authored-by: Uriel-Sautron <[email protected]> Signed-off-by: Math_R_ <[email protected]>
f62f292
to
69402ab
Compare
It would be nice for your 3rd commit if he kept only the changes regarding |
5bdc63d
to
2d660e5
Compare
Co-authored-by: Uriel-Sautron <[email protected]> Signed-off-by: Math_R_ <[email protected]> - adapt selection timetable for paced train
Co-authored-by: Math_R_ <[email protected]> Signed-off-by: Uriel-Sautron <[email protected]>
2d660e5
to
3d4a5f3
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 ✅
close #10608
Use the switch in user parameters to show paced train. Then navigate to a scenario, add at least one train to the timetable you will see, a pacedtrainitem using the same data as the first train of your timetable.