Skip to content

refactor: refine measurement interactions - #127

Merged
Zeroto521 merged 30 commits into
mainfrom
measure-polygon
Aug 12, 2026
Merged

refactor: refine measurement interactions#127
Zeroto521 merged 30 commits into
mainfrom
measure-polygon

Conversation

@Zeroto521

Copy link
Copy Markdown
Owner

Introduce polygon area measurement mode. Prevent marker click propagation to avoid duplicate points. Unify line, circle, and polygon styles into three path states. Replace origin label with solid start node. Add Esc keyboard shortcut to exit measurement mode. Switch to preclick event and stop propagation to prevent data-layer clicks.

Zeroto521 and others added 30 commits August 12, 2026 08:39
@codecov

codecov Bot commented Aug 12, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 70.02%. Comparing base (a0153e7) to head (8d563e6).

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #127      +/-   ##
==========================================
+ Coverage   69.84%   70.02%   +0.17%     
==========================================
  Files          52       52              
  Lines        2315     2315              
  Branches      531      531              
==========================================
+ Hits         1617     1621       +4     
  Misses        549      549              
+ Partials      149      145       -4     
Files with missing lines Coverage Δ
foliplus/MeasureControl.py 100.00% <ø> (ø)
foliplus/js/MeasureControl/MeasureControl.const.ts 100.00% <ø> (ø)
foliplus/js/MeasureControl/MeasureControl.util.ts 84.84% <100.00%> (+4.04%) ⬆️
🚀 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.

@Zeroto521
Zeroto521 merged commit a917acd into main Aug 12, 2026
13 checks passed
@Zeroto521
Zeroto521 deleted the measure-polygon branch August 12, 2026 06:55
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.

1 participant