Skip to content

refactor: simplify Android hidden-content hints - #427

Merged
thymikee merged 1 commit into
mainfrom
codex/android-hidden-content-hints
Apr 18, 2026
Merged

refactor: simplify Android hidden-content hints#427
thymikee merged 1 commit into
mainfrom
codex/android-hidden-content-hints

Conversation

@thymikee

@thymikee thymikee commented Apr 18, 2026

Copy link
Copy Markdown
Member

Summary

Refactor Android interactive snapshot hidden-content hinting so snapshot -i derives hints from full-tree geometry and attaches them directly to the interactive output.

Remove the source-tree mutation/rebuild transfer path, keep native dumpsys hints as the preferred signal, and expose shared hidden-content hint derivation for presentation semantics.

Follow-up review pass collapsed the Android snapshot local annotate/derive split, documented the source-node identity invariant, and strengthened the regression test to prove hints survive when intermediate full-tree nodes are pruned from interactive output.

Touched-file count: 5. Scope stayed within Android snapshot hinting and shared snapshot presentation utilities/tests.

Validation

  • pnpm format
  • pnpm exec vitest run src/platforms/android/__tests__/snapshot.test.ts src/platforms/android/__tests__/scroll-hints.test.ts src/utils/__tests__/mobile-snapshot-semantics.test.ts
  • pnpm typecheck
  • pnpm check:tooling
  • pnpm check:unit
  • git diff --check

Known gaps: no Android integration replay was run because this is an internal Android snapshot pipeline refactor and the full non-integration validation bundles passed.

@github-actions

github-actions Bot commented Apr 18, 2026

Copy link
Copy Markdown
PR Preview Action v1.8.1

QR code for preview link

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

Built to branch gh-pages at 2026-04-18 17:10 UTC.
Preview will be ready when the GitHub Pages deployment is complete.

@thymikee
thymikee force-pushed the codex/android-hidden-content-hints branch from b9d2283 to f9f79f5 Compare April 18, 2026 17:08
@thymikee
thymikee force-pushed the codex/android-hidden-content-hints branch from f9f79f5 to 7e3efee Compare April 18, 2026 17:09
@thymikee
thymikee merged commit 77365ab into main Apr 18, 2026
15 checks passed
@thymikee
thymikee deleted the codex/android-hidden-content-hints branch April 18, 2026 17:13
@thymikee thymikee linked an issue Apr 18, 2026 that may be closed by this pull request
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.

refactor: simplify Android hidden-content hinting pipeline

1 participant