Skip to content

Split mobile browser pane modules - #17141

Merged
nwparker merged 8 commits into
mainfrom
ra/max-lines-bottom-3-mobile-browser
Aug 30, 2026
Merged

nwparker merged 8 commits into
mainfrom
ra/max-lines-bottom-3-mobile-browser

Conversation

@nwparker

@nwparker nwparker commented Aug 29, 2026 •

Copy link
Copy Markdown
Contributor
Files Added Deleted Net
Test 0 0 0 0
Prod 11 $\color{#1a7f37}{\Huge{\mathbf{+}}}$​1668 $\color{#cf222e}{\Huge{\mathbf{−}}}$​1026 $\color{#1a7f37}{\Huge{\mathbf{+}}}$​642

Stacked on #17131.

Summary

  • split MobileBrowserPane into focused view, stream, request, frame, layer, command, and interaction modules
  • preserve the existing screencast, gesture, dialog, navigation, and double-buffer behavior
  • remove the obsolete mobile max-lines override and ratchet baseline entry

Testing

  • pnpm tc
  • cd mobile && pnpm typecheck && pnpm test && pnpm exec oxlint src/browser/
  • pnpm run check:code-quality:changed
  • pnpm check:max-lines-ratchet
  • pnpm exec playwright test tests/e2e/setup-guide-sidebar.spec.ts --config tests/playwright.config.ts --project electron-headless --workers=1

@greptile-apps

greptile-apps Bot commented Aug 29, 2026 •

Copy link
Copy Markdown

Greptile Summary

The PR splits the mobile browser pane into focused rendering, stream, request, frame, layer, command, and interaction modules while preserving the existing browser session behavior.

  • Moves screencast subscription and event processing into dedicated stream modules.
  • Moves touch, keyboard, dialog, and browser command handling into interaction hooks.
  • Extracts the pane JSX and double-buffer layer management.
  • Removes the obsolete max-lines override and baseline entry.

Confidence Score: 5/5

The PR appears safe to merge.

No blocking failure remains.

Important Files Changed

Filename Overview
mobile/src/browser/MobileBrowserPane.tsx Reduced to state coordination and composition of the extracted view, stream, interaction, and layer modules.
mobile/src/browser/use-mobile-browser-stream.ts Faithfully extracts screencast sizing, subscription lifecycle, cache restoration, generation guards, and request wiring.
mobile/src/browser/use-mobile-browser-interactions.ts Preserves gesture recognition, zoom, pan, long-press, tap, and wheel dispatch behavior.
mobile/src/browser/use-mobile-browser-commands.ts Preserves browser pointer, wheel, keyboard, modifier, and dialog command behavior.
mobile/src/browser/MobileBrowserPaneView.tsx Extracts the existing pane JSX without changing its toolbar, viewport, dialog, frame, or keyboard structure.
mobile/src/browser/use-mobile-browser-pane-layers.ts Preserves stable image and layer refs plus the existing double-buffer visibility transitions.
mobile/src/browser/use-mobile-browser-frame-apply.ts Preserves frame throttling, caching, metadata updates, and offscreen decode behavior.

Flowchart

%%{init: {'theme': 'neutral'}}%%
flowchart LR
  Pane[MobileBrowserPane] --> View[MobileBrowserPaneView]
  Pane --> Stream[useMobileBrowserStream]
  Pane --> Interactions[useMobileBrowserInteractions]
  Pane --> Layers[useMobileBrowserPaneLayers]
  Stream --> Request[useMobileBrowserRequest]
  Stream --> FrameApply[useMobileBrowserFrameApply]
  Stream --> Events[mobile-browser-stream-events]
  Interactions --> Commands[useMobileBrowserCommands]
  View --> Layers
  View --> Interactions
Loading

Reviews (2): Last reviewed commit: "Merge branch 'ra/max-lines-bottom-2-sche..." | Re-trigger Greptile

@nwparker
nwparker changed the base branch from ra/max-lines-bottom-2-scheduler to main August 30, 2026 03:04
@nwparker
nwparker merged commit 692ff95 into main Aug 30, 2026
27 checks passed
enrick-dev pushed a commit to enrick-dev/orca that referenced this pull request Oct 15, 2026
* Split speech session lifecycle

* Split terminal output scheduler pipeline

* Split mobile browser pane modules

* Fix F3-speech for stablyai#17123

* Fix F1-cycle for stablyai#17131
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