sidebar: Improve hover in history view thread items (#54370)

This PR improves the hover state in thread items within the history view
by making them more stable. There were other thread events calling a
refresh, which would clear the hover state even though I'd still be
hovering the item, making the buttons that only appear on hover feel
unstable and disappear.

Release Notes:

- Agent: Improve hover state stability on thread items within the
sidebar's history view.
d84a00c017Danilo Leal committed on 4/21/2026, 12:19:50 AM· committed by GitHubparentd7eeb5c
1 file changedLine totals unavailable