chore: refine some ui components (#38)

Reviewed-on: https://git.reya.su/reya/coop/pulls/38
This commit was merged in pull request #38.
This commit is contained in:
2026-08-01 10:38:08 +00:00
parent b0d1521c49
commit fbf06f2c81
27 changed files with 141 additions and 245 deletions
+8
View File
@@ -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(