Skip to content

docs(mobile): sync the settle, videoTouches and dismissKeyboard blocks with their source JSDoc - #1624

Merged
okwasniewski merged 2 commits into
e2e-inc:mainfrom
karolkulesza:docs/mobile-settle-videotouches-dismisskeyboard-jsdoc
Nov 7, 2026
Merged

okwasniewski merged 2 commits into
e2e-inc:mainfrom
karolkulesza:docs/mobile-settle-videotouches-dismisskeyboard-jsdoc

Conversation

@karolkulesza

@karolkulesza karolkulesza commented Nov 7, 2026 •

Copy link
Copy Markdown
Contributor

What and why

  • docs/reference/mobile.mdx says each entry shows its member's declaration, but the settle and videoTouches blocks had drifted from options.ts. They now copy the source JSDoc, which says more (why 150 ms is enough).
  • device.dismissKeyboard() had a one-line JSDoc, so an editor hover hid how it works on an iPhone and when it fails. It now carries the text the docs entry already had.
  • "Expo Simulators" was only in the docs copy of videoTouches; it is in both now. transition is left to fix(mobile): wait for transitions before screen swipes #1564.

Issue

None (docs change)

Verified

Ran it locally: yes

  • The emitted packages/mobile/dist/device.d.ts carries the new dismissKeyboard JSDoc; each claim in it was checked against surface.ts and keyboard.ts.
  • pnpm check and pnpm --filter @e2e-dev/mobile run test (500 tests) pass.

Checklist

  • Changeset added (pnpm changeset) for any change to a published package, or the change is testbed, docs, or CI only.
  • Breaking change: title carries !, the changeset body names what breaks and what replaces it, and the deprecation warning landed a window earlier (stability policy in CONTRIBUTING.md).
  • Docs updated in the same PR: the docs/**/*.mdx page for the behavior, and skills/e2e/ if the skill describes it.
  • Contract change: emitted .d.ts reviewed, tests/types/sdk-types.ts updated; wire change edits the schema and both fixtures.
  • Engine contract change (e2e/engine): changesets for e2e, @e2e-dev/web, and @e2e-dev/mobile.

View guided diff

@github-actions github-actions Bot added the size:M Up to 99 changed lines, not counting tests, fixtures, translated docs, or the lockfile label Nov 7, 2026

@cubic-dev-ai cubic-dev-ai Bot left a comment •

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

All reported issues were addressed across 4 files

Reply with feedback, questions, or to request a fix.

View guided diff | Re-trigger cubic

Comment thread packages/mobile/src/device.ts Resolved

@cubic-dev-ai cubic-dev-ai Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

0 issues found across 2 files (changes from recent commits).

View guided diff | Re-trigger cubic

@okwasniewski

Copy link
Copy Markdown
Member

Automated review (agent-run triage).

Verified against main:

CI green. Merging, thanks!

Optional nit: device.ts:178 "button first. A screen with no clear point" leaves a short orphan line, reflow here and in the docs copy.

@okwasniewski okwasniewski added the Ready for Human Review Green, conflict-free, every thread handled. Waiting on a maintainer. label Nov 7, 2026

@okwasniewski okwasniewski left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Automated review (agent-run triage). Claims verified, CI green.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Ready for Human Review Green, conflict-free, every thread handled. Waiting on a maintainer. size:M Up to 99 changed lines, not counting tests, fixtures, translated docs, or the lockfile

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants