Three fixes for sluggish conversation list: 1. Optimistic sidebar insert: new conversation appears in the sidebar immediately after creation (with first-line preview as title), before the stream finishes. 2. generateTitle now returns the title from the server response and updates Room directly via updateTitle() — no blind refresh that races with server-side generation. 3. replaceAll uses upsert + deleteExcept instead of deleteAll + insert, eliminating the empty-list flash that caused sidebar flicker. |
||
|---|---|---|
| .. | ||
| src | ||
| .gitignore | ||
| build.gradle.kts | ||
| proguard-rules.pro | ||