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

Don't switch to comment mode on indicator drag #4641

Merged
merged 1 commit into from
Dec 13, 2023

Conversation

ruggi
Copy link
Contributor

@ruggi ruggi commented Dec 12, 2023

Fix #4640

Problem:

When dragging a comment indicator, the editor switches to comment mode and auto-opens the popup for the dragged comment.

Fix:

Instead, dragging the comment only updates the thread metadata (= position), with the possible mode switch and popup being triggered only on actual click events.

@ruggi ruggi changed the title don't open comments on indicator drag Don't switch to comment mode on indicator drag Dec 12, 2023
Copy link
Contributor

github-actions bot commented Dec 12, 2023

Try me

Copy link

relativeci bot commented Dec 12, 2023

Job #9565: Bundle Size — 63.63MiB (~-0.01%).

5b78eae(current) vs df0030c master#9563(baseline)

Warning

Bundle contains 78 duplicate packages – View duplicate packages

Bundle metrics  Change 1 change Improvement 1 improvement
                 Current
Job #9565
     Baseline
Job #9563
Improvement  Initial JS 46.39MiB(~-0.01%) 46.39MiB
No change  Initial CSS 0B 0B
No change  Cache Invalidation 19.32% 19.32%
No change  Chunks 27 27
No change  Assets 31 31
No change  Modules 4500 4500
No change  Duplicate Modules 471 471
No change  Duplicate Code 30.66% 30.66%
No change  Packages 475 475
No change  Duplicate Packages 78 78
Bundle size by type  Change 1 change Improvement 1 improvement
                 Current
Job #9565
     Baseline
Job #9563
Improvement  JS 63.62MiB (~-0.01%) 63.62MiB
Not changed  HTML 11.54KiB 11.54KiB

View job #9565 reportView fix/dont-open-comments-drag branch activity

Copy link
Contributor

Performance test results:
(Chart1)
(Chart2)

@ruggi ruggi merged commit 49dfebe into master Dec 13, 2023
12 checks passed
@ruggi ruggi deleted the fix/dont-open-comments-drag branch December 13, 2023 10:26
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.

Don't open comments on indicator drag
3 participants