chatwoot/app/javascript/dashboard/components-next/message
Muhsin Keloth 353089473e
feat(voice): Assignment aware visibility and join conflict for inbound calls (#14333)
### Description
Inbound voice calls now route ownership cleanly: the call widget is
hidden from agents who aren't the conversation assignee, the first agent
to pick up becomes the assignee, and any later join attempt by another
agent is rejected with a clear "<agent> is already handling the call."
alert.

Closes
https://linear.app/chatwoot/issue/PLA-98/inbound-voice-calls-assignment-aware-visibility-auto-assignment-on

### How to test

1. As Agent A and Agent B, open the dashboard for the same voice inbox
in two browsers.
2. Place an inbound call to the inbox with the conversation
**unassigned** — both agents should see the call widget.
3. Have Agent A click **Join**. Agent A's widget transitions to the
active call; Agent B's widget disappears (conversation is now assigned
to Agent A).
4. While the call is in progress, attempt to join from a third agent
(e.g., via the bubble in the conversation timeline) — the join is
rejected with the toast `Agent A is already handling the call.`
5. Resolve the conversation, then place a second call to a conversation
that is already manually assigned to Agent A — only Agent A sees the
widget; nobody else does.
6. Race test: trigger two near-simultaneous join attempts (two agents
click Join within a few hundred ms of each other) — exactly one wins;
the other gets the conflict alert.

---------

Co-authored-by: Muhsin <12408980+muhsin-k@users.noreply.github.com>
2026-04-30 18:38:10 +04:00
..
bubbles feat(voice): Assignment aware visibility and join conflict for inbound calls (#14333) 2026-04-30 18:38:10 +04:00
chips feat: Advanced Search Backend (#12917) 2026-01-07 15:30:49 +05:30
fixtures feat: Add new message bubbles (#10481) 2024-12-12 17:42:22 -08:00
stories feat: Template types components (#12714) 2025-10-29 17:06:32 +05:30
constants.js feat: Display story replies with attachment and context label (#13356) 2026-01-28 16:47:04 +04:00
Message.vue feat(voice): Wire Twilio voice flow through unified call model (#14091) 2026-04-30 11:25:39 +04:00
MessageError.vue fix: Enhance notification emails with message details and handle failed messages (#13273) 2026-02-16 14:47:33 +05:30
MessageList.vue chore: Update theme colors and add new Inter variable fonts (#13347) 2026-01-28 14:36:04 -08:00
MessageMeta.vue fix: Correct reversed message status indicators for API channel (#13594) 2026-03-16 13:21:18 +04:00
MessageStatus.vue feat: Add new message bubbles (#10481) 2024-12-12 17:42:22 -08:00
provider.js chore: Update message bubble orientation (#11348) 2025-05-06 13:21:52 +05:30
TranslationToggle.vue chore: Improve translation service with HTML and plain text support (#11305) 2025-04-16 17:59:06 +05:30