chore: restructure and refine the ui (#199)

* update deps

* clean up

* add account crate

* add person crate

* add chat and chat ui crates

* .

* clean up the ui crate

* .

* .
This commit is contained in:
reya
2025-11-01 09:16:02 +07:00
committed by GitHub
parent a1bd4954eb
commit 7091fa1cab
42 changed files with 980 additions and 794 deletions

View File

@@ -1148,7 +1148,8 @@ impl AppState {
match event.created_at >= self.initialized_at {
// New message: send a signal to notify the UI
true => {
self.signal.send(SignalKind::NewMessage((id, event))).await;
let new_message = NewMessage::new(id, event);
self.signal.send(SignalKind::NewMessage(new_message)).await;
}
// Old message: Coop is probably processing the user's messages during initial load
false => {