You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Show a shimmer while a thread title regenerates
#32867
Written by an AI assistant (Claude) for ryankhart.
The problem
When you regenerate a thread title from the sidebar, the title only fades to 55% opacity until the new one arrives.
It's easy to miss, so it isn't clear whether anything is happening.
The idea
Reuse the existing live tool-call shine (live-tool-shine) on the title while titleRegeneration is set, so a band sweeps across the old title until the new one lands.
The old title stays readable while it works.
It pauses off-screen through observeVisibleAnimation, like the other live shimmers.
With reduced motion or forced colours it falls back to today's dim.
No layout change: nothing moves or resizes.
Size
About 25 lines: one CSS utility in index.css, plus swapping opacity-55 for it in the two places in SidebarThreadRow.tsx (the sidebar row and the thread search result).
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
Written by an AI assistant (Claude) for ryankhart.
The problem
The idea
Reuse the existing live tool-call shine (
live-tool-shine) on the title whiletitleRegenerationis set, so a band sweeps across the old title until the new one lands.observeVisibleAnimation, like the other live shimmers.Size
index.css, plus swappingopacity-55for it in the two places inSidebarThreadRow.tsx(the sidebar row and the thread search result).Ask
Would you take a PR for this? The speed and band strength are easy to tune.
Related title ideas: #31024 (shortcut to regenerate) and #31393 (auto-regenerate after each turn).
All reactions