feat(typing): wire client typing frames + clear on send #35
Loading…
Reference in a new issue
No description provided.
Delete branch "feat/typing-indicator"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
{type:"typing", room_id}from the composer input, throttled to one frame per 2.5s. Server hub already broadcasts UserTyping (HTML fragment swapping #typing) on the first frame and auto-evicts after 5s of silence.- Stash htmx WS socketWrapper on window so the composer can reach it from oninput. - Send `{type:"typing", room_id}` from the composer input, throttled to one frame per 2.5s. Server hub already broadcasts UserTyping (HTML fragment swapping #typing) on the first frame and auto-evicts after 5s of silence. - Call hub.stop_typing in the room post_message path so the indicator clears immediately when a message lands instead of waiting for the 5s eviction.