From 32a58211ccb53a42462b6af193821931d5144c09 Mon Sep 17 00:00:00 2001 From: Ren Amamiya Date: Sat, 1 Aug 2026 10:58:37 +0700 Subject: [PATCH] fix sidebar --- crates/workspace/src/sidebar/mod.rs | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/crates/workspace/src/sidebar/mod.rs b/crates/workspace/src/sidebar/mod.rs index 587c8f7..cbb6125 100644 --- a/crates/workspace/src/sidebar/mod.rs +++ b/crates/workspace/src/sidebar/mod.rs @@ -354,6 +354,14 @@ impl Sidebar { cx.notify(); }); self.new_requests = false; + + // Reset search state when switching to inbox/requests + self.reset(window, cx); + + // Clear the find input value + self.find_input.update(cx, |this, cx| { + this.set_value("", window, cx); + }); } fn render_list_items(