sidebar: Better search (#56166)

Makes the sidebar search case insensitive, and also require contiguous
matches. Also removes the duplicate logic for the sidebar and thread
history view

Release Notes:

- N/A or Added/Fixed/Improved ...
7940ded92aCameron Mcloughlin committed on 5/8/2026, 1:13:14 PM· committed by GitHubparent367db07
2 files changedLine totals unavailable