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

Canvas: Fix connection hyperbolic bug #87002

Merged
merged 4 commits into from Apr 29, 2024

Conversation

drew08t
Copy link
Contributor

@drew08t drew08t commented Apr 26, 2024

Hyperbolic behavior was occurring for the first segment with curves under certain conditions. This was because the check for next segment length was based on the wrong (old) coordinate system. This simply switches the logic check to the new coordinate system.

Before:
Apr-26-2024 08-16-07

After:
Apr-26-2024 08-16-33

Closes #86933

@drew08t drew08t added type/bug area/panel/canvas Issues related to canvas panel no-changelog Skip including change in changelog/release notes backport v11.0.x Mark PR for automatic backport to v11.0.x labels Apr 26, 2024
@drew08t drew08t added this to the 11.0.x milestone Apr 26, 2024
@drew08t drew08t self-assigned this Apr 26, 2024
@drew08t drew08t requested a review from a team as a code owner April 26, 2024 15:17
@drew08t drew08t requested review from Develer and nmarrs and removed request for a team April 26, 2024 15:17
Copy link
Contributor

This PR must be merged before a backport PR will be created.

1 similar comment
Copy link
Contributor

This PR must be merged before a backport PR will be created.

Copy link
Contributor

@Develer Develer left a comment

Choose a reason for hiding this comment

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

Looks great! Great job, Drew 👏🏻

@drew08t drew08t modified the milestones: 11.0.x, 11.1.x Apr 26, 2024
Copy link
Collaborator

@codeincarnate codeincarnate left a comment

Choose a reason for hiding this comment

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

Nice fix, looks good!

Copy link
Contributor

@baldm0mma baldm0mma left a comment

Choose a reason for hiding this comment

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

But I like the wonky old behavior!!! 😜

Base automatically changed from drew08t/canvas-connection-original-check to main April 29, 2024 15:23
@drew08t drew08t merged commit 49fbe97 into main Apr 29, 2024
15 checks passed
@drew08t drew08t deleted the drew08t/canvas-connection-bug-hyperbolic branch April 29, 2024 16:16
grafana-delivery-bot bot pushed a commit that referenced this pull request Apr 29, 2024
* Canvas: Connection original persistence check

* Canvas: Fix connection hyperbolic bug

(cherry picked from commit 49fbe97)
drew08t added a commit that referenced this pull request Apr 29, 2024
Canvas: Fix connection hyperbolic bug (#87002)

* Canvas: Connection original persistence check

* Canvas: Fix connection hyperbolic bug

(cherry picked from commit 49fbe97)

Co-authored-by: Drew Slobodnjak <60050885+drew08t@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/frontend area/panel/canvas Issues related to canvas panel backport v11.0.x Mark PR for automatic backport to v11.0.x no-changelog Skip including change in changelog/release notes type/bug
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Canvas: Connection tangency hyperbolic bug
5 participants