Ruslan Bakiev 1a6840cdc6 fix: optimistic message send — no full timeline reload
Instead of calling openCommunicationThread() after sending (which triggered
a full timeline refetch, destroyed audio waveforms, and caused the chat to
jump), we now:
- Optimistically append the sent message to clientTimelineItems
- Scroll to bottom smoothly
- Refresh contacts sidebar for lastMessageText preview
- Auto-scroll only fires on thread switch (empty→loaded), not on every
  timeline update, preserving audio waveform DOM elements

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-25 07:14:56 +07:00
Description
CRM workspace
167 MiB
Languages
Ruby 42.2%
Vue 29.3%
JavaScript 21.5%
TypeScript 4.2%
HTML 1.6%
Other 1.1%