Skip to content

fix(ui,app): allow context tooltip on touch and add mobile context tab#25370

Closed
fydiog wants to merge 1 commit intoanomalyco:devfrom
fydiog:fix-mobile-context-tooltip
Closed

fix(ui,app): allow context tooltip on touch and add mobile context tab#25370
fydiog wants to merge 1 commit intoanomalyco:devfrom
fydiog:fix-mobile-context-tooltip

Conversation

@fydiog
Copy link
Copy Markdown

@fydiog fydiog commented May 2, 2026

Fixes #10443

This PR addresses the issue where mobile/touch devices cannot access context details because our Tooltip captures and blocks pointer-down events (preventing Kobalte from opening on tap), and because the simplified mobile tab bar does not include a Context tab.

Changes:

  • packages/ui/src/components/tooltip.tsx: Skip the arm() call on touch pointer events so tapping a tooltip trigger opens the tooltip instead of suppressing it.
  • packages/app/src/pages/session.tsx: Add a 'context' option to the mobile tab bar, adjust tab widths to 1/3, and render when that tab is active.

Verified on local dev build with simulated touch viewport.

…ab on mobile

- Skip pointer-down arm on touch pointers in Tooltip so the tooltip can open when tapped.
- Add a 'context' tab to the mobile viewport tab bar so narrow viewports can access the context details pane.
- Render SessionContextTab inline when mobileTab === 'context'.
- Adjust mobile tab widths from 1/2 to 1/3 to accommodate the new tab.

Fixes anomalyco#10443
@fydiog fydiog requested a review from adamdotdevin as a code owner May 2, 2026 01:41
@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented May 2, 2026

Hey! Your PR title fix(ui,app): allow context tooltip on touch and add mobile context tab doesn't follow conventional commit format.

Please update it to start with one of:

  • feat: or feat(scope): new feature
  • fix: or fix(scope): bug fix
  • docs: or docs(scope): documentation changes
  • chore: or chore(scope): maintenance tasks
  • refactor: or refactor(scope): code refactoring
  • test: or test(scope): adding or updating tests

Where scope is the package name (e.g., app, desktop, opencode).

See CONTRIBUTING.md for details.

@github-actions github-actions Bot added needs:title needs:compliance This means the issue will auto-close after 2 hours. labels May 2, 2026
@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented May 2, 2026

This PR doesn't fully meet our contributing guidelines and PR template.

What needs to be fixed:

  • PR description is missing required template sections. Please use the PR template.

Please edit this PR description to address the above within 2 hours, or it will be automatically closed.

If you believe this was flagged incorrectly, please let a maintainer know.

@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented May 2, 2026

This pull request has been automatically closed because it was not updated to meet our contributing guidelines within the 2-hour window.

Feel free to open a new pull request that follows our guidelines.

@github-actions github-actions Bot removed the needs:compliance This means the issue will auto-close after 2 hours. label May 2, 2026
@github-actions github-actions Bot closed this May 2, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

web: mobile & touch devices cannot access context details

1 participant