Skip to content

Conversation

@nick-skriabin
Copy link
Member

@nick-skriabin nick-skriabin commented Jan 12, 2026

This PR addresses the issue when on double clicking an unselected region, the user will enter free-form transform mode for a brief second.

Before: on UNSELECTED region double-click it, the region will become selected, the transformer will appear for a brief second, then disappear.

After: on UNSELECTED region click will select the shape, double-click will enter transformation mode ONLY when the shape is selected.

Reasoning: free-form transformation is an editing operation. Most of the editing operations can only be performed on a currently selected region. Transform is no exception, so we're moving this behavior under the selected region guard.

@netlify
Copy link

netlify bot commented Jan 12, 2026

Deploy Preview for heartex-docs canceled.

Name Link
🔨 Latest commit a6a40f1
🔍 Latest deploy log https://app.netlify.com/projects/heartex-docs/deploys/69653dcd9183b50007c21f53

@github-actions github-actions bot added the fix label Jan 12, 2026
@netlify
Copy link

netlify bot commented Jan 12, 2026

Deploy Preview for label-studio-storybook ready!

Name Link
🔨 Latest commit a6a40f1
🔍 Latest deploy log https://app.netlify.com/projects/label-studio-storybook/deploys/69653dcd61a5e60008cc8bd7
😎 Deploy Preview https://deploy-preview-9161--label-studio-storybook.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@netlify
Copy link

netlify bot commented Jan 12, 2026

Deploy Preview for label-studio-docs-new-theme canceled.

Name Link
🔨 Latest commit a6a40f1
🔍 Latest deploy log https://app.netlify.com/projects/label-studio-docs-new-theme/deploys/69653dcdeb922b00080cdbb0

@netlify
Copy link

netlify bot commented Jan 12, 2026

Deploy Preview for label-studio-playground ready!

Name Link
🔨 Latest commit a6a40f1
🔍 Latest deploy log https://app.netlify.com/projects/label-studio-playground/deploys/69653dcd10c56a0008649ea6
😎 Deploy Preview https://deploy-preview-9161--label-studio-playground.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@codecov
Copy link

codecov bot commented Jan 12, 2026

Codecov Report

❌ Patch coverage is 0% with 23 lines in your changes missing coverage. Please review.
✅ Project coverage is 49.30%. Comparing base (937c56d) to head (a6a40f1).

Files with missing lines Patch % Lines
web/libs/editor/src/regions/VectorRegion.jsx 0.00% 23 Missing ⚠️

❗ There is a different number of reports uploaded between BASE (937c56d) and HEAD (a6a40f1). Click for more details.

HEAD has 2 uploads less than BASE
Flag BASE (937c56d) HEAD (a6a40f1)
pytests 1 0
lsf-e2e 1 0
Additional details and impacted files
@@             Coverage Diff              @@
##           develop    #9161       +/-   ##
============================================
- Coverage    66.12%   49.30%   -16.82%     
============================================
  Files          828      557      -271     
  Lines        64797    40448    -24349     
  Branches     10939    10945        +6     
============================================
- Hits         42846    19943    -22903     
+ Misses       21947    20501     -1446     
  Partials         4        4               
Flag Coverage Δ
lsf-e2e ?
lsf-integration 48.22% <0.00%> (-0.09%) ⬇️
lsf-unit 8.85% <0.00%> (-0.01%) ⬇️
pytests ?

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.

🚀 New features to boost your workflow:
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

Comment on lines +456 to +458
setTimeout(() => {
self.clearJustSelectedFlag();
}, 300); // Clear after double-click detection window
Copy link
Contributor

Choose a reason for hiding this comment

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

might be good to clear time out on beforeDestroy or on cleanup

Copy link
Contributor

@yyassi-heartex yyassi-heartex left a comment

Choose a reason for hiding this comment

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

minor recommendation - but looks good otherwise approving

@yyassi-heartex
Copy link
Contributor

yyassi-heartex commented Jan 12, 2026

/fmt

Workflow run

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants