Skip to content

Selected range on ramp does not translate correctly to dates in zoom view #2351

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

Open
Airiinnn opened this issue Mar 24, 2025 · 0 comments
Open
Assignees

Comments

@Airiinnn
Copy link
Contributor

Tell us about your environment

  • RepoSense Version: -
  • OS and Version: MacOS
  • Web Browser and Version (if applicable): Firefox

Please include the steps to reproduce the bug.

  1. On a ramp, select a tight range around a commit. The zoom view sometimes do not include the commit.
  2. Select a range that touches the edge. The zoom view usually does not include the end dates.

This happens more often when "trim timeline" is enabled.

What was expected to happen?

When the selected range on the on the ramp shows that a commit is within the range, we expect that commit to be within the zoom range. By extension, we assume the selected points convert to dates proportionally to the width of the ramp.

What actually happened? Please include a screenshot of the output.

Even though the commit is clearly within the selected range on the left, it is not included in the zoom view on the right.

Image

Similarly, even though the selected range reaches the end of the ramp, the zoom date range does not include the end date.

Image

If possible, include the URL to your RepoSense report or log files (if any).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: No status
Development

No branches or pull requests

2 participants