[PR #13210] feat(app): marquee scroll for overflowing sidebar titles #14555

Open
opened 2026-02-16 18:19:20 -05:00 by yindo · 0 comments
Owner

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

State: open
Merged: No


What does this PR do?

Adds a marquee scroll animation on hover to sidebar session titles, so that it is easier to read the session title without opening it. Long titles truncate with ellipsis by default and smoothly scroll to reveal full text on hover.

https://github.com/user-attachments/assets/2f0b7b7c-2d70-40ab-ad87-1ce5a45a6379

How did you verify your code works?

tested to ensure animation starts immediately on hover, and resets when mouse leaves the session item
made sure the speed is same for both long and short titles
made sure we only scroll if there is overflow

Files changed:

File Changes
sidebar-items.tsx Hover-triggered overflow detection and marquee toggle
utilities.css marquee utility class and keyframes
**Original Pull Request:** https://github.com/anomalyco/opencode/pull/13210 **State:** open **Merged:** No --- ### What does this PR do? Adds a marquee scroll animation on hover to sidebar session titles, so that it is easier to read the session title without opening it. Long titles truncate with ellipsis by default and smoothly scroll to reveal full text on hover. https://github.com/user-attachments/assets/2f0b7b7c-2d70-40ab-ad87-1ce5a45a6379 ### How did you verify your code works? tested to ensure animation starts immediately on hover, and resets when mouse leaves the session item made sure the speed is same for both long and short titles made sure we only scroll if there is overflow ### Files changed: | File | Changes | |------|---------| | `sidebar-items.tsx` | Hover-triggered overflow detection and marquee toggle | | `utilities.css` | `marquee` utility class and keyframes |
yindo added the pull-request label 2026-02-16 18:19:20 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#14555