Skip to content

Conversation

@gmorador-tribu
Copy link

Added support for creating rectangle annotations using two clicks to define the start and end points. Existing functionality remains unchanged.

@codecov
Copy link

codecov bot commented Jan 15, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 99.50%. Comparing base (eabd37e) to head (b067dd6).
⚠️ Report is 2 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #7489   +/-   ##
=======================================
  Coverage   99.50%   99.50%           
=======================================
  Files         271      271           
  Lines       11027    11076   +49     
  Branches     2656     2666   +10     
=======================================
+ Hits        10972    11021   +49     
  Misses         55       55           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

Copy link
Contributor

@santicomp2014 santicomp2014 left a comment

Choose a reason for hiding this comment

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

LGTM, we need to update the test to pass the test

this._surface.addEventListener('pointerup', e => {
// If we're waiting for second click, don't process pointerup
// (the second click will be handled in pointerdown)
if (this._waitingForSecondClick) {
Copy link
Contributor

Choose a reason for hiding this comment

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

We need to also add a unit test to cover this branch

Copy link
Contributor

@santicomp2014 santicomp2014 left a comment

Choose a reason for hiding this comment

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

Approved LGTM

@santicomp2014 santicomp2014 merged commit cd48709 into main Jan 19, 2026
4 checks passed
@santicomp2014 santicomp2014 deleted the fix/vpat-dragging-movements branch January 19, 2026 13:58
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.

3 participants