iachat/app/javascript/dashboard/routes/dashboard/conversation
Sojan Jose 7fe94dc1a2
feat(voice): Call button on Contacts with inbox picker (#12218)
## Description
This introduces a reusable Call button used in the Contacts details
header (between Block contact and Send message) and
in the conversation contact panel. The button shows only when the
account has at least one Voice inbox and the contact
has a phone number. If multiple Voice inboxes are present, clicking
opens a picker modal; otherwise, a “Calling is under
development” toast is shown

> Actual wiring to functionality will available in follow up PRs

references: #11602 , #11481 

## Screens 

<img width="250" alt="Screenshot 2025-08-18 at 8 33 02 PM"
src="https://github.com/user-attachments/assets/d7a09a9d-8eff-4461-a75f-27854540c2a0"
/>
<img width="250" alt="Screenshot 2025-08-18 at 8 32 31 PM"
src="https://github.com/user-attachments/assets/682ae66e-dd5f-4750-9c30-0a210e120250"
/>
<img width="250" alt="Screenshot 2025-08-18 at 8 32 40 PM"
src="https://github.com/user-attachments/assets/7de0d753-eefc-4b7f-942b-ecca1964fcd7"
/>


## Test Cases

- Enable voice feature and create inboxes and test the cases for both
contact details view and contact card view in conversation
  - Details: 0 Voice inboxes → no Call button.
- Details: 1+ Voice inboxes, no phone number for contact → no Call
button.
- Details: 1 Voice inbox + phone number for contact → button visible;
click → toast.
- Details: >1 Voice inboxes + phone number for contact → click → modal →
choose → toast.

---------

Co-authored-by: Muhsin Keloth <muhsinkeramam@gmail.com>
Co-authored-by: Sivin Varghese <64252451+iamsivin@users.noreply.github.com>
2025-08-19 15:42:01 +05:30
..
contact feat(voice): Call button on Contacts with inbox picker (#12218) 2025-08-19 15:42:01 +05:30
customAttributes fix: Issues with custom attributes in conversation sidebar (#11476) 2025-05-16 15:22:18 +05:30
labels chore: Remove older UI (#11720) 2025-07-01 09:43:44 +05:30
Macros chore: Disable drag on macro item when preview is open (#11847) 2025-07-02 11:59:15 +05:30
search chore: Improve layout styles (#12025) 2025-07-30 13:49:27 -07:00
ContactConversations.vue fix: Styles issues with conversation card (#12107) 2025-08-06 15:28:38 +05:30
ContactDetailsItem.vue chore: Remove older UI (#11720) 2025-07-01 09:43:44 +05:30
ContactPanel.vue chore: Remove older UI (#11720) 2025-07-01 09:43:44 +05:30
conversation.routes.js feat(v4): Auto-navigate to first menu item on group menu open(#10350) 2024-10-25 13:01:29 -07:00
ConversationAction.vue chore: Remove older UI (#11720) 2025-07-01 09:43:44 +05:30
ConversationInfo.vue feat: Ability to rearrange attributes in sidebar (#10784) 2025-01-30 15:24:02 +05:30
ConversationParticipant.vue chore: Remove older UI (#11720) 2025-07-01 09:43:44 +05:30
ConversationView.vue chore: Remove older UI (#11720) 2025-07-01 09:43:44 +05:30