Skip to content

Comments

perf: optimize and verify scrollintoview ref path#86

Merged
thymikee merged 1 commit intomainfrom
codex/scrollintoview-ref-split
Feb 20, 2026
Merged

perf: optimize and verify scrollintoview ref path#86
thymikee merged 1 commit intomainfrom
codex/scrollintoview-ref-split

Conversation

@thymikee
Copy link
Contributor

Summary

Optimize and harden scrollintoview @ref behavior on iOS.

  • add a geometry planner module for viewport inference + swipe plan computation
  • execute ref scrolling via a single swipe-series command instead of repeated per-swipe lookups
  • add one post-scroll verification snapshot and fail when the target remains outside the viewport safe band
  • keep replay-healing metadata (selectorChain/refLabel) in recorded actions
  • document the scrollintoview <text|@ref> behavior and examples

Validation

  • pnpm typecheck
  • pnpm test:unit
  • pnpm test:smoke

@github-actions
Copy link

PR Preview Action v1.8.1

QR code for preview link

🚀 View preview at
https://callstackincubator.github.io/agent-device/pr-preview/pr-86/

Built to branch gh-pages at 2026-02-20 16:15 UTC.
Preview will be ready when the GitHub Pages deployment is complete.

@thymikee thymikee merged commit cd73856 into main Feb 20, 2026
6 checks passed
@thymikee thymikee deleted the codex/scrollintoview-ref-split branch February 20, 2026 17:38
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