Skip to content

feat: add remote browser controls help tip - #107

Merged
D3SOX merged 2 commits into
masterfrom
remote-browser-controls-help
Aug 12, 2026
Merged

feat: add remote browser controls help tip#107
D3SOX merged 2 commits into
masterfrom
remote-browser-controls-help

Conversation

@D3SOX

@D3SOX D3SOX commented Aug 12, 2026

Copy link
Copy Markdown
Owner

The remote browser control gestures were only documented in a long native title tooltip on the screen, which is easy to miss and awkward on mobile.

Add a small ? control next to the Remote Browser header title that shows mouse/keyboard/touch shortcuts on hover (desktop) or tap (mobile). Outside tap or Escape closes the pinned tip.

Test plan

  • Open the remote browser panel and hover the ? — tip appears with mouse and touch sections
  • Tap/click the ? on a narrow/touch viewport — tip toggles open and closes on outside tap or Escape
  • Confirm toolbar dragging still works and does not start when pressing ?
  • Confirm the screen no longer shows the old native title tooltip

Made with Cursor (Composer)

Summary by CodeRabbit

  • New Features
    • Added a help control to the remote browser toolbar with mouse and touch interaction instructions.
    • Help information can be opened or dismissed using the button, outside interaction, or the Escape key.
    • Help content automatically resets when the remote browser panel closes.
    • Improved help panel layout for narrow screens.

Show mouse, keyboard, and touch gestures from a header question mark
on hover or tap so the long screen title tooltip is unnecessary.
@coderabbitai

coderabbitai Bot commented Aug 12, 2026

Copy link
Copy Markdown

Review Change Stack

Warning

Review limit reached

@D3SOX, you've reached your PR review limit, so we couldn't start this review.

Next review available in: 17 minutes

Enable usage-based reviews in Billing to review now. Otherwise, wait until the next included review is available.
You're only billed for reviews past your plan's rate limits ($0.25/file).

How can I continue?

After more reviews become available, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

To avoid repeated limits, reduce automatic review volume by pausing incremental auto-reviews earlier, using label-based review opt-in, excluding WIP or generated PR titles, or requesting reviews manually when the PR is ready. If your team needs uninterrupted high-volume reviews, an organization admin can enable usage-based reviews.

How do review limits work?

CodeRabbit enforces per-developer PR review limits for each organization. Most developers receive the normal plan review availability.

For paid Pro and Pro+ PR reviews, CodeRabbit uses adaptive limits for sustained high-volume activity. When a developer's recent PR review activity reaches the 95th percentile or higher among CodeRabbit users, additional reviews become available more gradually as earlier reviews age out of the rolling window.

Please refer docs for additional details.

Review details
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro Plus

Run ID: e2b6fd23-8999-41f6-adc1-bb053e32624a

📥 Commits

Reviewing files that changed from the base of the PR and between 4e3f9cb and 0e02d63.

📒 Files selected for processing (1)
  • webui/src/components/RemoteBrowserPanel.tsx
📝 Walkthrough

Walkthrough

The remote browser panel replaces its long screen tooltip with an accessible help popover. The popover documents mouse and touch controls, supports open and close interactions, and uses responsive toolbar styling.

Changes

Remote browser controls help

Layer / File(s) Summary
Help state and interaction handling
webui/src/components/RemoteBrowserPanel.tsx
The panel manages help visibility, closes the popover on outside pointer interaction or Escape, cleans up listeners, and resets the state when the panel closes.
Help content and responsive presentation
webui/src/components/RemoteBrowserPanel.tsx, webui/src/components/RemoteBrowserPanel.css
The toolbar renders an accessible help trigger and mouse/touch instructions. Styles define visibility, focus states, formatting, spacing, and narrow-toolbar alignment. The previous screen title tooltip is removed.

Estimated code review effort: 2 (Simple) | ~10 minutes

Sequence Diagram(s)

sequenceDiagram
  participant User
  participant HelpButton
  participant HelpPopover
  participant Document
  User->>HelpButton: Activate help control
  HelpButton->>HelpPopover: Toggle open state
  Document->>HelpPopover: Detect outside pointer or Escape
  HelpPopover->>HelpButton: Close popover
``<fixed_issue_severity>Low</fixed_issue_severity>

</details>

<!-- walkthrough_end -->
<!-- pre_merge_checks_walkthrough_start -->

<details>
<summary>🚥 Pre-merge checks | ✅ 5</summary>

<details>
<summary>✅ Passed checks (5 passed)</summary>

|         Check name         | Status   | Explanation                                                                                                |
| :------------------------: | :------- | :--------------------------------------------------------------------------------------------------------- |
|      Description Check     | ✅ Passed | Check skipped - CodeRabbit’s high-level summary is enabled.                                                |
|         Title check        | ✅ Passed | The title clearly and concisely describes the new help tip for remote browser controls.                    |
|     Docstring Coverage     | ✅ Passed | No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check. |
|     Linked Issues check    | ✅ Passed | Check skipped because no linked issues were found for this pull request.                                   |
| Out of Scope Changes check | ✅ Passed | Check skipped because no linked issues were found for this pull request.                                   |

</details>

</details>

<!-- pre_merge_checks_walkthrough_end -->
<!-- finishing_touch_checkbox_start -->

<details>
<summary>✨ Finishing Touches</summary>

<details>
<summary>📝 Generate docstrings</summary>

- [ ] <!-- {"checkboxId": "7962f53c-55bc-4827-bfbf-6a18da830691"} --> Create stacked PR
- [ ] <!-- {"checkboxId": "3e1879ae-f29b-4d0d-8e06-d12b7ba33d98"} --> Commit on current branch

</details>
<details>
<summary>🧪 Generate unit tests (beta)</summary>

- [ ] <!-- {"checkboxId": "f47ac10b-58cc-4372-a567-0e02b2c3d479", "radioGroupId": "utg-output-choice-group-5262909337"} -->   Create PR with unit tests
- [ ] <!-- {"checkboxId": "6ba7b810-9dad-11d1-80b4-00c04fd430c8", "radioGroupId": "utg-output-choice-group-5262909337"} -->   Commit unit tests in branch `remote-browser-controls-help`

</details>

</details>

<!-- finishing_touch_checkbox_end -->
<!-- tips_start -->

---




<sub>Comment `@coderabbitai help` to get the list of available commands.</sub>

<!-- tips_end -->
Loading

@D3SOX

D3SOX commented Aug 12, 2026

Copy link
Copy Markdown
Owner Author

@coderabbitai review

@coderabbitai

coderabbitai Bot commented Aug 12, 2026

Copy link
Copy Markdown
✅ Action performed

Review finished.

Note: CodeRabbit is an incremental review system and does not re-review already reviewed commits. This command is applicable only when automatic reviews are paused.

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Actionable comments posted: 1

🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

Inline comments:
In `@webui/src/components/RemoteBrowserPanel.tsx`:
- Around line 125-132: Update the onKeyDown listener in RemoteBrowserPanel so it
is registered and removed in the capture phase, and when Escape closes the help
popover, stop propagation to prevent later listeners from invoking onClose.
Preserve existing behavior for non-Escape keys and keep the pointerdown listener
unchanged.
🪄 Autofix

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro Plus

Run ID: f7a6d277-1ff8-4ea4-bf30-ee3d71b2bed0

📥 Commits

Reviewing files that changed from the base of the PR and between 3ab022a and 4e3f9cb.

📒 Files selected for processing (2)
  • webui/src/components/RemoteBrowserPanel.css
  • webui/src/components/RemoteBrowserPanel.tsx

Comment thread webui/src/components/RemoteBrowserPanel.tsx Outdated
Handle Escape for the controls tip in the capture phase so it does not
also dismiss the panel.
@D3SOX
D3SOX merged commit 1f55c0c into master Aug 12, 2026
2 checks passed
@D3SOX
D3SOX deleted the remote-browser-controls-help branch August 12, 2026 05:57
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