Skip to content

Rework Android terminal input from DOM edits - #152

Merged
henderkes merged 4 commits into
mainfrom
fix/android-input-rework-main
Nov 11, 2026
Merged

henderkes merged 4 commits into
mainfrom
fix/android-input-rework-main

Conversation

@gwslophub

@gwslophub gwslophub Bot commented Nov 10, 2026 •

Copy link
Copy Markdown
Contributor

Summary

  • Replace Android composition/commit patching with one capture-phase DOM-edit owner for native WebView and Android browser sessions.
  • Stream changed textarea suffixes through xterm's public user-input API. Replacements erase the old suffix; commit notifications never append the word again.
  • Remove frozen text overlays so shell output is the sole rendered terminal text.
  • Scope native finish requests to the focused terminal and drain composing edits before toolbar keys. Idle taps resolve immediately without posting unnecessary native finish requests.
  • Replace obsolete overlay-controller tests with single-owner regression coverage, preserving test:composition as an alias. Run these tests in CI with Node 22.
  • Assert rendered terminal lines in the SSH e2e test and use the fixture's /config home directory. Preserve primary failures when cleanup also fails.
  • Wait for removed collection cards to disappear during e2e cleanup, fixing a stale-card race exposed by the full suite.

Verification

Latest commit: d9c76e5

  • PASS: CI frontend/backend builds, 18 source-level Chromium input regressions, and all 92 SSH/UI e2e tests.
  • PASS: Android CI build.
  • PASS locally: frontend and changed-e2e-file oxlint; git diff --check; 18 source-level input tests.
  • Real-device keyboard validation remains pending.

CI: https://github.com/gwdevhub/slopterm/actions/runs/42797900487
Android: https://github.com/gwdevhub/slopterm/actions/runs/42797900587

@henderkes
henderkes merged commit 7762825 into main Nov 11, 2026
2 checks passed
@henderkes
henderkes deleted the fix/android-input-rework-main branch November 11, 2026 23:20
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