[PR #10031] fix(app): clear session hover state on navigation #13306

Closed
opened 2026-02-16 18:18:10 -05:00 by yindo · 0 comments
Owner

Original Pull Request: https://github.com/anomalyco/opencode/pull/10031

State: closed
Merged: Yes


Fixes #10035

Summary

Fixes a UX issue where the session steps tooltip (hover card) persists after clicking a session in the sidebar. This change ensures the hover state is cleared immediately upon navigation, preventing the tooltip from remaining visible when the user enters the session.

https://github.com/user-attachments/assets/f51d0966-c83d-4763-b4db-b5a9ff29b6b0

Changes

  • packages/app/src/pages/layout.tsx: Added onClick handler to reset hoverSession state when a session item is clicked.

Non-goals

  • Changes to focus behavior in the new session conversation panel are out of scope. (Current behavior: entering a key types in the prompt, even if the input visual highlight is subtle).

Verification

  • Validated locally: Clicking a session in the sidebar now immediately dismisses the hover tooltip.
**Original Pull Request:** https://github.com/anomalyco/opencode/pull/10031 **State:** closed **Merged:** Yes --- Fixes #10035 ## Summary Fixes a UX issue where the session steps tooltip (hover card) persists after clicking a session in the sidebar. This change ensures the hover state is cleared immediately upon navigation, preventing the tooltip from remaining visible when the user enters the session. https://github.com/user-attachments/assets/f51d0966-c83d-4763-b4db-b5a9ff29b6b0 ## Changes - `packages/app/src/pages/layout.tsx`: Added `onClick` handler to reset `hoverSession` state when a session item is clicked. ## Non-goals - Changes to focus behavior in the new session conversation panel are out of scope. (Current behavior: entering a key types in the prompt, even if the input visual highlight is subtle). ## Verification - Validated locally: Clicking a session in the sidebar now immediately dismisses the hover tooltip.
yindo added the pull-request label 2026-02-16 18:18:10 -05:00
yindo closed this issue 2026-02-16 18:18:10 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#13306