Skip to content

Add multi-waypoint mouse gestures (move/drag through a polyline)#326

Merged
JE-Chen merged 1 commit into
devfrom
feat/mouse-path-batch
Jun 22, 2026
Merged

Add multi-waypoint mouse gestures (move/drag through a polyline)#326
JE-Chen merged 1 commit into
devfrom
feat/mouse-path-batch

Conversation

@JE-Chen

@JE-Chen JE-Chen commented Jun 22, 2026

Copy link
Copy Markdown
Member

Summary

Round-11, automation-core (per the "focus on automation" steer). humanize.humanized_path and tween_drag only interpolate a single start→end hop. Real gestures — signatures, marquee/rubber-band selects, dragging through several drop targets, shape gestures — need an arbitrary chain of waypoints with the button optionally held down across the whole path.

Layers

  • Headless core: je_auto_control/utils/mouse_path/mouse_path.pyplan_path (pure eased point math, reusing tween_drag's named easings, junctions de-duplicated), move_along_path, drag_path (press-first/release-last), path_easings. Dispatch via an injectable sink (mirrors tween_drag); no PySide6.
  • Facade: all 4 re-exported + __all__.
  • Executor: AC_move_along_path, AC_drag_path (JSON waypoints + easing/per_segment_steps/button).
  • MCP: ac_move_along_path / ac_drag_path (SIDE_EFFECT_ONLY).
  • Script Builder: two CommandSpecs under Mouse.

Tests / docs

  • test/unit_test/headless/test_mouse_path_batch.py — 9 headless tests (junction de-dup, single/empty, move-only events, drag press-first/release-last, empty no-op, easing changes mid-path, JSON coercion + wiring + facade). Dispatch tested via injected sink (no real input).
  • EN/Zh feature docs v116_features_doc.rst + toctrees; 3 WHATS_NEW changelog entries.

Note: Codacy may show action_required purely from its coverage gate (issues=0); SonarCloud + all GitHub Actions are the substantive gates.

@codacy-production

Copy link
Copy Markdown

Not up to standards ⛔

NEW Get contextual insights on your PRs based on Codacy's metrics, along with PR and Jira context, without leaving GitHub. Enable AI reviewer
TIP This summary will be updated as you push new changes.

@JE-Chen JE-Chen merged commit cc7cd78 into dev Jun 22, 2026
15 of 16 checks passed
@JE-Chen JE-Chen deleted the feat/mouse-path-batch branch June 22, 2026 15:57
@sonarqubecloud

Copy link
Copy Markdown

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