feat: Redesign New Chat (#31)

* make subject is optional

* redesign

* search

* fix

* adjust
This commit is contained in:
reya
2025-05-12 20:46:01 +07:00
committed by GitHub
parent 2f83b5091e
commit 4e24061817
32 changed files with 580 additions and 367 deletions

View File

@@ -286,10 +286,10 @@ where
}
}
fn set_loading(&mut self, loading: bool, window: &mut Window, cx: &mut Context<Self>) {
fn set_loading(&mut self, loading: bool, _window: &mut Window, cx: &mut Context<Self>) {
self.loading = loading;
if let Some(input) = &self.query_input {
input.update(cx, |input, cx| input.set_loading(loading, window, cx))
input.update(cx, |input, cx| input.set_loading(loading, cx))
}
cx.notify();
}