Skip to content

feat(web): unify touch resize interactions - #4839

Draft
btli wants to merge 3 commits into
omnigent-ai:mainfrom
btli:codex/touch-interactions-consolidated
Draft

feat(web): unify touch resize interactions#4839
btli wants to merge 3 commits into
omnigent-ai:mainfrom
btli:codex/touch-interactions-consolidated

Conversation

@btli

@btli btli commented Aug 15, 2026

Copy link
Copy Markdown
Contributor

Related issue

N/A — consolidates draft PRs #4780, #4781, #4782, #4784, #4785, and #4786.

Summary

This draft replaces the six touch-interaction drafts with one current-main implementation. It unifies pointer capture, cancellation, persistence, accessible separators, and carefully bounded hit gutters across the sidebar, inline workspace rail, terminal-list column, push panels, and comments panel. It also centralizes viewport and input-capability detection for web and Android.

ELI5: the thin dividers between app panes now have a larger invisible grab area, so a finger or stylus can resize them without covering nearby buttons or scrollbars.

sidebar | chat | inline rail | push panel
                 terminal list | terminal
file viewer | comments
       touch / pen / mouse / keyboard

Supersedes (but does not close): #4780, #4781, #4782, #4784, #4785, #4786.

Test Plan

  • bun --bun run test -- <17 touched Vitest files> — 623 passed, 1 expected failure.
  • uv run --group test pytest -q <5 touched e2e_ui files> — 5 passed.
  • Android OmnigentWebViewClientTest — 20 passed.
  • bun --bun run lint, bun --bun run type-check, and bun --bun run build — passed.
  • uv run pre-commit run --all-files — all applicable hooks passed; the current upstream uv.lock normalizer baseline was excluded because it rewrites an unrelated lockfile.
  • Mutation checks: every production-backed touched test file failed against the origin/main production tree, then passed with this implementation restored.

Demo

Android foldable/tablet touch-interactions video (Show taps enabled; touch dot visible)

The single recording covers folding/form-factor changes plus sidebar, inline rail, terminal-list column, push-panel, comments-panel, and adjacent-scroll seam behavior.

Type of change

  • Bug fix
  • Feature
  • UI / frontend change
  • Refactor / chore
  • Docs
  • Test / CI
  • Breaking change

Test coverage

  • Unit tests added / updated
  • Integration tests added / updated
  • E2E tests added / updated
  • Manual verification completed
  • Existing tests cover this change
  • Not applicable

Coverage notes

Manually verified the Android foldable/tablet recording with Developer Options “Show taps” enabled, including the visible touch dot and each resize/scroll seam represented by the six superseded drafts.

Changelog

Pane dividers are now easier and more reliable to resize with touch, stylus, mouse, or keyboard.

Consolidate pointer, touch, stylus, and keyboard resize behavior across sidebar, inline rail, terminal column, push panels, and comments. Centralize responsive input capability and breakpoint handling for web and Android.

Co-authored-by: omnigent <noreply@omnigent.ai>
Signed-off-by: Bryan Li <bryan.li@gmail.com>
@github-actions github-actions Bot added the size/XL Pull request size: XL label Aug 15, 2026
@btli
btli force-pushed the codex/touch-interactions-consolidated branch from 5255f83 to b976da7 Compare August 15, 2026 17:05
Signed-off-by: Bryan Li <bryan.li@gmail.com>
@btli
btli force-pushed the codex/touch-interactions-consolidated branch from b976da7 to 23126a3 Compare August 15, 2026 17:08
Signed-off-by: Bryan Li <bryan.li@gmail.com>
@btli
btli force-pushed the codex/touch-interactions-consolidated branch from 0b69766 to 53e8a8a Compare August 15, 2026 18:08
btli pushed a commit to btli/omnigent that referenced this pull request Aug 15, 2026
btli pushed a commit to btli/omnigent that referenced this pull request Aug 15, 2026
btli pushed a commit to btli/omnigent that referenced this pull request Aug 17, 2026
btli pushed a commit to btli/omnigent that referenced this pull request Aug 17, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size/XL Pull request size: XL

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant