Skip to content

refactor: consolidate android gesture backend selection#689

Merged
thymikee merged 1 commit into
mainfrom
refactor/android-touch-gesture-backends
Jun 4, 2026
Merged

refactor: consolidate android gesture backend selection#689
thymikee merged 1 commit into
mainfrom
refactor/android-touch-gesture-backends

Conversation

@thymikee
Copy link
Copy Markdown
Member

@thymikee thymikee commented Jun 4, 2026

Summary

Consolidates Android gesture backend selection into one internal helper while preserving provider-first execution, helper fallback, and swipe-only adb input fallback behavior.

Moves provider-native gesture routing coverage from a lower-level unit assertion into the provider-backed Android integration scenario, now covering swipe, pinch, rotate, and transform through the public daemon/client path.

Touched-file count: 3. Scope stayed within the Android touch helper module and its focused tests.

Validation

Verified the refactor with focused formatting, Android multitouch helper unit tests, provider-backed Android lifecycle integration, and quick repo validation: pnpm exec oxfmt --write src/platforms/android/multitouch-helper.ts src/platforms/android/__tests__/multitouch-helper.test.ts test/integration/provider-scenarios/android-lifecycle.test.ts, pnpm exec vitest run src/platforms/android/__tests__/multitouch-helper.test.ts, pnpm exec vitest run --project provider-integration test/integration/provider-scenarios/android-lifecycle.test.ts, and pnpm check:quick all passed.

@github-actions
Copy link
Copy Markdown

github-actions Bot commented Jun 4, 2026

Size Report

Metric Base Current Diff
JS raw 1.1 MB 1.1 MB +49 B
JS gzip 368.5 kB 368.6 kB +20 B
npm tarball 474.5 kB 474.6 kB +25 B
npm unpacked 1.6 MB 1.6 MB +49 B

Startup median (7 runs, lower is better):

Scenario Base Current Diff
CLI --version 26.7 ms 26.8 ms +0.1 ms
CLI --help 42.3 ms 42.2 ms -0.1 ms

Top changed chunks:

Chunk Raw diff Gzip diff
dist/src/android.js +49 B +20 B

@thymikee thymikee force-pushed the refactor/android-touch-gesture-backends branch 2 times, most recently from 22324a1 to a662c4c Compare June 4, 2026 21:56
@thymikee thymikee force-pushed the refactor/android-touch-gesture-backends branch from a662c4c to c3eb286 Compare June 4, 2026 22:02
@thymikee thymikee merged commit bf21540 into main Jun 4, 2026
18 checks passed
@thymikee thymikee deleted the refactor/android-touch-gesture-backends branch June 4, 2026 22:15
@github-actions
Copy link
Copy Markdown

github-actions Bot commented Jun 4, 2026

PR Preview Action v1.8.1
Preview removed because the pull request was closed.
2026-06-04 22:15 UTC

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