-
Notifications
You must be signed in to change notification settings - Fork 65
front: add input data only mode for space time chart #14662
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
Conversation
Wadjetz
left a comment
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
clarani
left a comment
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 work 👏
front/src/applications/operationalStudies/helpers/TrainProjectionLazyLoaderAbstract.ts
Outdated
Show resolved
Hide resolved
front/src/modules/simulationResult/components/SpaceTimeChartWrapper/SettingsPanel.tsx
Outdated
Show resolved
Hide resolved
front/src/modules/simulationResult/components/SpaceTimeChartWrapper/SpaceTimeChartWrapper.tsx
Outdated
Show resolved
Hide resolved
front/src/modules/simulationResult/components/SpaceTimeChartWrapper/SpaceTimeChartWrapper.tsx
Outdated
Show resolved
Hide resolved
front/src/modules/simulationResult/components/SpaceTimeChartWrapper/useLazyProjectTrains.ts
Show resolved
Hide resolved
962f147 to
494e9c3
Compare
494e9c3 to
d869f57
Compare
clarani
left a comment
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.
Code LGTM, I only left some last comments. Concerning the previous comment about the behavior if I check/uncheck the checkbox, we can leave it like this if we don't have any answer from Thibaut
front/src/modules/simulationResult/components/SpaceTimeChartWrapper/SettingsPanel.tsx
Outdated
Show resolved
Hide resolved
front/src/modules/simulationResult/components/SpaceTimeChartWrapper/SettingsPanel.tsx
Outdated
Show resolved
Hide resolved
209080f to
dc191d6
Compare
clarani
left a comment
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.
Perfect for me, thanks :)
Can you simply separate the change in the radioGroup in a separate commit ?
240cc12 to
e4b5220
Compare
f042934 to
93f6423
Compare
4730c35 to
a939ea3
Compare
front/src/modules/simulationResult/components/SpaceTimeChartWrapper/SettingsPanel.tsx
Outdated
Show resolved
Hide resolved
kmer2016
left a comment
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
Signed-off-by: Mathieu <[email protected]>
Signed-off-by: Mathieu <[email protected]>
2d8c7e7 to
38003f6
Compare
This PR depends on : #14677
close #14225
✏️ Edit
Seen with @thibautsailly:
When enabling “input mode only”, if the user was in track projection mode, the view automatically switches to inter-PR mode.
When disabling “input mode only”, the view remains in inter-PR mode, and the user must manually switch back to track projection mode.
The mockup :
https://www.sketch.com/s/183fcd09-8341-47c0-9c8e-15f29c0c4437/p/C389B334-DC58-4590-B7D4-BE3E20FF14B2/canvas
Seen with @thibautsailly "Input data only" is now "No train run simulation" ("Sans marche simulée" in french), it fits better in the settings panel.