-
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: drop TimeButtons, TrainDetails and ChartSynchronizer #10881
base: dev
Are you sure you want to change the base?
Conversation
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
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.
You can also:
- drop all the utils functions interpolateOnTime, interpolateOnPosition
- drop getSimulationHoverPositions
- clean SimulationWarpedMap
f96e5ec
to
d5ebb68
Compare
All done! |
front/src/modules/simulationResult/components/ChartHelpers/ChartHelpers.ts
Outdated
Show resolved
Hide resolved
front/src/modules/simulationResult/components/SimulationResultsMap/helpers.ts
Outdated
Show resolved
Hide resolved
These are unused at the moment, because the whole thing is hidden. The code is bit-rotting and holding off refactoring. Let's just nuke all of that. Maybe this feature will be re-introduced at some point, but we'll need to rewrite big chunks of it anyways and we can easily copy back useful bits from the Git history. Signed-off-by: Simon Ser <contact@emersion.fr>
This is now unused. Signed-off-by: Simon Ser <contact@emersion.fr>
This is now unused. Signed-off-by: Simon Ser <contact@emersion.fr>
d5ebb68
to
9677280
Compare
Removed! I also ended up nuking |
These are now unused. Signed-off-by: Simon Ser <contact@emersion.fr>
Signed-off-by: Simon Ser <contact@emersion.fr>
Signed-off-by: Simon Ser <contact@emersion.fr>
Signed-off-by: Simon Ser <contact@emersion.fr>
9677280
to
a358673
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.
You can drop:
- the file
src/reducers/simulationResults/types.ts
and most of consts insrc/modules/simulationResult/conts.ts
- the file trainExample.ts
- the file simulationTrain.ts
(You can also drop TrainOnMap)
If you end up dropping TrainOnMap, please also drop the train layer and layer group in front/src/config/layerOrder.ts ^^ |
These are unused at the moment, because the whole thing is hidden. The code is bit-rotting and holding off refactoring.
Let's just nuke all of that. Maybe this feature will be re-introduced at some point, but we'll need to rewrite big chunks of it anyways and we can easily copy back useful bits from the Git history.