-
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
Adn/condensed speed limit #3769
Conversation
# Conflicts: # front/src/applications/operationalStudies/views/ManageTrainSchedule.tsx
# Conflicts: # front/src/applications/operationalStudies/views/ManageTrainSchedule.tsx
Codecov Report
@@ Coverage Diff @@
## dev #3769 +/- ##
============================================
- Coverage 69.81% 69.73% -0.09%
Complexity 2016 2016
============================================
Files 439 439
Lines 22001 22027 +26
Branches 1662 1662
============================================
Hits 15361 15361
- Misses 5845 5871 +26
Partials 795 795
Flags with carried forward coverage won't be shown. Click here to find out more. see 1 file with indirect coverage changes Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. |
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 PR, some comments :)
...c/applications/operationalStudies/components/ManageTrainSchedule/SpeedLimitByTagSelector.tsx
Outdated
Show resolved
Hide resolved
...c/applications/operationalStudies/components/ManageTrainSchedule/SpeedLimitByTagSelector.tsx
Outdated
Show resolved
Hide resolved
...c/applications/operationalStudies/components/ManageTrainSchedule/SpeedLimitByTagSelector.tsx
Outdated
Show resolved
Hide resolved
...c/applications/operationalStudies/components/ManageTrainSchedule/SpeedLimitByTagSelector.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.
Component is not really isolated, it always belongs to operationalStudies folders structure.
Dedicated SCSS should be too isolated is styles/scss/common
What "withOSRDdata" is supposed to do ?
front/src/styles/scss/applications/operationalStudies/_managetrainschedule.scss
Outdated
Show resolved
Hide resolved
front/src/styles/scss/applications/operationalStudies/_managetrainschedule.scss
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.
...c/applications/operationalStudies/components/ManageTrainSchedule/SpeedLimitByTagSelector.tsx
Outdated
Show resolved
Hide resolved
...c/applications/operationalStudies/components/ManageTrainSchedule/SpeedLimitByTagSelector.tsx
Outdated
Show resolved
Hide resolved
...c/applications/operationalStudies/components/ManageTrainSchedule/SpeedLimitByTagSelector.tsx
Outdated
Show resolved
Hide resolved
...c/applications/operationalStudies/components/ManageTrainSchedule/SpeedLimitByTagSelector.tsx
Outdated
Show resolved
Hide resolved
front/src/styles/scss/applications/operationalStudies/_managetrainschedule.scss
Outdated
Show resolved
Hide resolved
front/src/styles/scss/applications/operationalStudies/_managetrainschedule.scss
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.
I'm trying to test, but I have issues...
front/src/common/SpeedLimitByTagSelector/SpeedLimitByTagSelector.scss
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.
Can you add some data for Storybook ? Thanks !
front/src/common/SpeedLimitByTagSelector/SpeedLimitByTagSelector.tsx
Outdated
Show resolved
Hide resolved
front/src/common/SpeedLimitByTagSelector/SpeedLimitByTagSelector.tsx
Outdated
Show resolved
Hide resolved
front/src/common/SpeedLimitByTagSelector/SpeedLimitByTagSelector.tsx
Outdated
Show resolved
Hide resolved
front/src/common/SpeedLimitByTagSelector/SpeedLimitByTagSelector.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 ! Everything seems to work on both storybook and the application 👍
A typescripted version of SpeedLimitSelectors (gabarits for speedLimit). Also Isolation, and a story for storyBook ![Capture d’écran 2023-03-31 à 12 12 52](https://user-images.githubusercontent.com/765626/229092718-f07fda62-947a-4f85-8f3d-fe9812790895.png)
A typescripted version of SpeedLimitSelectors (gabarits for speedLimit). Also Isolation, and a story for storyBook ![Capture d’écran 2023-03-31 à 12 12 52](https://user-images.githubusercontent.com/765626/229092718-f07fda62-947a-4f85-8f3d-fe9812790895.png)
A typescripted version of SpeedLimitSelectors (gabarits for speedLimit). Also Isolation, and a story for storyBook ![Capture d’écran 2023-03-31 à 12 12 52](https://user-images.githubusercontent.com/765626/229092718-f07fda62-947a-4f85-8f3d-fe9812790895.png)
A typescripted version of SpeedLimitSelectors (gabarits for speedLimit). Also Isolation, and a story for storyBook