From e233cab9932df468683eb1a7216740c777f6bae8 Mon Sep 17 00:00:00 2001 From: benya Date: Sun, 8 Mar 2026 21:40:03 +0300 Subject: [PATCH] refactor(web): limit composer realtime events to typing and voice --- docs/core-checklist-status.md | 2 +- web/src/components/MessageComposer.tsx | 2 -- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/docs/core-checklist-status.md b/docs/core-checklist-status.md index 55bf871..cb26a2e 100644 --- a/docs/core-checklist-status.md +++ b/docs/core-checklist-status.md @@ -21,7 +21,7 @@ Legend: 12. Pinning - `DONE` (message/chat pin-unpin) 13. Reactions - `DONE` 14. Delivery Status - `DONE` (sent/delivered/read + reconnect reconciliation after backend restarts) -15. Typing Realtime - `DONE` (typing start/stop + recording voice start/stop + recording video start/stop in circle-video send flow) +15. Typing Realtime - `DONE` (web: typing start/stop + recording voice start/stop; `recording_video_*` remains for mobile circle-video clients) 16. Media & Attachments - `DONE` (upload/preview/download/gallery; sticker/GIF inline media no longer opens photo viewer on click) 17. Voice Messages - `PARTIAL` (record/send/play/seek + global speed 1x/1.5x/2x; recorder uses improved mime priority for better duration metadata; backend media allowlist includes `audio/mp4`/`audio/x-m4a`; audio store tracks duration via `durationchange/seekable` fallback; websocket send/recorder stop race on fast chat switch is guarded; UX still being polished) 18. Circle Video Messages - `PARTIAL` (mobile-priority only: backend type/realtime supported; web composer intentionally does not send circles) diff --git a/web/src/components/MessageComposer.tsx b/web/src/components/MessageComposer.tsx index 2c07b79..33242d0 100644 --- a/web/src/components/MessageComposer.tsx +++ b/web/src/components/MessageComposer.tsx @@ -343,8 +343,6 @@ export function MessageComposer() { | "typing_stop" | "recording_voice_start" | "recording_voice_stop" - | "recording_video_start" - | "recording_video_stop" ) { if (!activeChatId) { return;