iachat/app/javascript/dashboard/routes/dashboard
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
..
campaigns feat: WhatsApp campaigns (#11910) 2025-07-16 09:04:02 +05:30
captain chore: Improvements in scenarios (#12098) 2025-08-14 19:07:28 +05:30
commands chore: Remove older UI (#11720) 2025-07-01 09:43:44 +05:30
contacts feat: Show active Contacts (#8243) 2025-06-04 21:52:13 +05:30
conversation feat(voice): Call button on Contacts with inbox picker (#12218) 2025-08-19 15:42:01 +05:30
customviews chore: Update buttons in dashboard (#11145) 2025-03-31 17:21:32 -07:00
helpcenter chore: Improve layout styles (#12025) 2025-07-30 13:49:27 -07:00
inbox chore: Update inbox view context menu (#12090) 2025-08-04 14:45:36 -07:00
notifications chore: Replace Thumbnail with Avatar (#12119) 2025-08-11 15:47:17 +05:30
settings feat: Add automation rule event conversation resolved (#9669) 2025-08-13 12:57:14 +05:30
suspended chore: Remove older UI (#11720) 2025-07-01 09:43:44 +05:30
upgrade fix: Conditionally fetch limits and assistants for enterprise/cloud (#12099) 2025-08-04 15:06:58 -07:00
dashboard.routes.js feat(ee): Add Captain features (#10665) 2025-01-14 16:15:47 -08:00
Dashboard.vue chore: Improve layout styles (#12025) 2025-07-30 13:49:27 -07:00