Skip to content
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: synchronize speed space and space curves slopes charts #6031

Merged

Conversation

SarahBellaha
Copy link
Contributor

Closes #5824

@SarahBellaha SarahBellaha requested a review from a team as a code owner December 6, 2023 09:44
@SarahBellaha SarahBellaha force-pushed the sba/front/synchronize-space-speed-and-slopes-graphs branch 2 times, most recently from f330672 to a4c5ab5 Compare December 6, 2023 09:48
Copy link

codecov bot commented Dec 6, 2023

Codecov Report

Attention: 101 lines in your changes are missing coverage. Please review.

Comparison is base (d5fe352) 26.51% compared to head (8e2ac5a) 26.49%.

Files Patch % Lines
.../simulationResult/components/SpaceCurvesSlopes.tsx 0.00% 29 Missing ⚠️
...ons/operationalStudies/views/SimulationResults.tsx 0.00% 27 Missing ⚠️
...ult/components/SpeedSpaceChart/SpeedSpaceChart.tsx 0.00% 26 Missing ⚠️
...omponents/ChartHelpers/getScaleDomainFromValues.ts 0.00% 9 Missing and 1 partial ⚠️
...lt/components/ChartHelpers/enableInteractivity.tsx 0.00% 9 Missing ⚠️
Additional details and impacted files
@@             Coverage Diff              @@
##                dev    #6031      +/-   ##
============================================
- Coverage     26.51%   26.49%   -0.02%     
  Complexity     2117     2117              
============================================
  Files           930      931       +1     
  Lines        122743   122844     +101     
  Branches       2669     2670       +1     
============================================
+ Hits          32543    32549       +6     
- Misses        88623    88717      +94     
- Partials       1577     1578       +1     
Flag Coverage Δ
core 78.97% <ø> (ø)
editoast 74.56% <ø> (ø)
front 9.31% <5.60%> (-0.01%) ⬇️
gateway 2.75% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@SarahBellaha SarahBellaha force-pushed the sba/front/synchronize-space-speed-and-slopes-graphs branch 3 times, most recently from bb0cc58 to 5d8c547 Compare December 6, 2023 11:07
Copy link
Contributor

@clarani clarani left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Almost good ! :)

Copy link
Contributor

@clarani clarani left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM ✅ 🎉

@SarahBellaha SarahBellaha force-pushed the sba/front/synchronize-space-speed-and-slopes-graphs branch from d3204d5 to 8e2ac5a Compare December 6, 2023 16:18
@SarahBellaha SarahBellaha added this pull request to the merge queue Dec 6, 2023
Merged via the queue into dev with commit e3efd2a Dec 6, 2023
17 checks passed
@SarahBellaha SarahBellaha deleted the sba/front/synchronize-space-speed-and-slopes-graphs branch December 6, 2023 16:34
import * as d3 from 'd3';
import { defineLinear } from './ChartHelpers';

const getScaleDomainFromValues = (values: number[]) => {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

is it not just d3.extent ?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why do you need +100 ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Space-speed graph and slopes graph are not synchronized anymore
3 participants