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
refactor: convert isUserCollapsingRef to callback pattern
Simplifies collapse handling by using a callback function instead of a
ref parameter: - Pass callback function to useChatScrollbox instead of
ref - Inline collapse logic into handleCollapseToggle - Use setTimeout
to reset flag after state update - Remove separate
setCollapsedAgentsWithFlag wrapper - Remove useEffect that was watching
collapsedAgents changes
This is cleaner and more explicit about when the flag is checked.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <noreply@anthropic.com>
0 commit comments