Skip to content

fix(app): open inline comments directly on touch devices#18529

Closed
Geequlim wants to merge 1 commit into
anomalyco:devfrom
Geequlim:fix-mobile-inline-comment
Closed

fix(app): open inline comments directly on touch devices#18529
Geequlim wants to merge 1 commit into
anomalyco:devfrom
Geequlim:fix-mobile-inline-comment

Conversation

@Geequlim

@Geequlim Geequlim commented Mar 21, 2026

Copy link
Copy Markdown

Issue for this PR

Closes #17598

Type of change

  • Bug fix

What does this PR do?

Inline comments were only discoverable through the hover affordance in the file view, which does not work well on touch devices like iPad.

This change keeps the desktop hover flow unchanged and makes touch devices open the inline comment draft directly after a line selection.

How did you verify your code works?

  1. Ran bun typecheck in app
  2. Verified desktop behavior is unchanged: inline comment entry still appears on hover
  3. Verified on touch devices that selecting a line opens the inline comment draft directly
  4. Confirmed existing inline comment interactions still work after opening the draft

Screenshots / recordings

Before

before.mp4

After

after.mp4

Checklist

  • I have tested my changes locally
  • I have not included unrelated changes in this PR

@Geequlim

Copy link
Copy Markdown
Author

Hi @adamdotdevin gentle ping on this PR — it’s a very small change with just a few lines to improve the UX. Would you mind taking a look when you have time? Thanks!

@rekram1-node

Copy link
Copy Markdown
Collaborator

Automated PR Cleanup

Thank you for contributing to opencode.

Due to the high volume of PRs from users and AI agents, we periodically close older PRs using automated criteria so maintainers can focus review time on the most active and community-supported contributions.

This PR was closed because it matched the following cleanup criteria:

  • The PR was created more than 1 month ago
  • The PR had fewer than 2 positive reactions
  • Positive reactions are counted as thumbs-up, heart, celebration, or rocket reactions on the PR

PRs created within the last month are not affected by this cleanup.

If you believe this PR was closed incorrectly, or if you are still actively working on it, please leave a comment explaining why it should be reopened. A maintainer can review and reopen it if appropriate.

Thanks again for taking the time to contribute.

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.

Review Comment and File Explorer does not work on mobile for OpenCode Web UI

2 participants