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: Intervals dataviz - fix issue on point value when zooming #5754

Merged
merged 1 commit into from
Nov 22, 2023

Conversation

sim51
Copy link
Contributor

@sim51 sim51 commented Nov 20, 2023

Close #5710

I just added the viewbox start value to the point position on the onMouseMove of the container (Items already handle it).

Moreover, I saw that the hovered point can be negative (due to some margins on HTML elements), so I also added some checks for that

I just added the viewbox start value to the point position on the
`onMouseMove` of the container (Items already handle it).

Moreover, I saw that the hovered point can be negative (due to some
margins on HTML elements), so I also added some checks for that
@sim51 sim51 requested a review from a team as a code owner November 20, 2023 13:06
Copy link

codecov bot commented Nov 20, 2023

Codecov Report

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

Comparison is base (61a0ebd) 19.45% compared to head (6610dc3) 19.45%.
Report is 4 commits behind head on dev.

Files Patch % Lines
front/src/common/IntervalsDataViz/dataviz.tsx 0.00% 4 Missing ⚠️
Additional details and impacted files
@@             Coverage Diff              @@
##                dev    #5754      +/-   ##
============================================
- Coverage     19.45%   19.45%   -0.01%     
  Complexity     2327     2327              
============================================
  Files           907      907              
  Lines        106925   106927       +2     
  Branches       2579     2579              
============================================
  Hits          20801    20801              
- Misses        84609    84611       +2     
  Partials       1515     1515              
Flag Coverage Δ
front 8.32% <0.00%> (-0.01%) ⬇️

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.

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, tested ✅

@clarani clarani added this pull request to the merge queue Nov 22, 2023
Merged via the queue into dev with commit dd85bc8 Nov 22, 2023
@clarani clarani deleted the bsi/issue-5710 branch November 22, 2023 09:29
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.

Front: Editor: Values are not coherent with the cursor position for the range editor when we zoom
2 participants