chatwoot/app/javascript/dashboard
Sivin Varghese c63a6ed8ec
Some checks are pending
Publish Chatwoot CE docker images / build (push) Waiting to run
Run Chatwoot CE spec / test (push) Waiting to run
Run Response Bot spec / test (push) Waiting to run
feat: Rewrite agentMixin to a helper (#9940)
# Pull Request Template

## Description

This PR will replace the usage of `agentMixin`with the utility helpers
functions.

**Files updated**

1. dashboard/components/widgets/conversation/contextMenu/Index.vue
2. dashboard/components/widgets/conversation/ConversationHeader.vue
**(Not used)**
3. dashboard/routes/dashboard/commands/commandbar.vue
4. dashboard/routes/dashboard/conversation/ConversationAction.vue
5. dashboard/routes/dashboard/conversation/ConversationParticipant.vue

Fixes
https://linear.app/chatwoot/issue/CW-3442/rewrite-agentmixin-mixin-to-a-composable

## Type of change

- [x] New feature (non-breaking change which adds functionality)

## How Has This Been Tested?

**Test cases**

1. See agent list sorting based on availability, if agents are on the
same status, then sorted by name.
2. Test actions like assigning/unassigning agent from conversation
sidebar, CMD bar, Context menu.
3. Test actions like adding/removing participants from conversation
sidebar.
4. See agent list is generated properly, none value.


## Checklist:

- [x] My code follows the style guidelines of this project
- [x] I have performed a self-review of my code
- [x] I have commented on my code, particularly in hard-to-understand
areas
- [ ] I have made corresponding changes to the documentation
- [x] My changes generate no new warnings
- [x] I have added tests that prove my fix is effective or that my
feature works
- [x] New and existing unit tests pass locally with my changes
- [ ] Any dependent changes have been merged and published in downstream
modules
2024-08-22 13:02:11 +05:30
..
api feat: Generate SSO URL in Chatwoot, move Captain to primary tab (#9871) 2024-08-01 19:22:34 -07:00
assets feat: Update the design for dashboard_apps (#9840) 2024-07-25 16:26:00 -07:00
components feat: Rewrite agentMixin to a helper (#9940) 2024-08-22 13:02:11 +05:30
composables feat: Rewrite agentMixin to a helper (#9940) 2024-08-22 13:02:11 +05:30
constants feat: Better SLA missed events popover (#9215) 2024-04-10 12:49:38 +05:30
helper feat: Rewrite agentMixin to a helper (#9940) 2024-08-22 13:02:11 +05:30
i18n feat: Update the design for macros design page (#9999) 2024-08-21 18:27:53 +05:30
mixins feat: Rewrite agentMixin to a helper (#9940) 2024-08-22 13:02:11 +05:30
modules feat: Replace the use of keyboardEventListener mixin to a composable (Part -3) (#9897) 2024-08-08 12:40:56 +05:30
routes feat: Rewrite agentMixin to a helper (#9940) 2024-08-22 13:02:11 +05:30
store feat: Replace rtlMixin to a composable (#9924) 2024-08-12 15:50:21 +05:30
App.vue feat: Replace rtlMixin to a composable (#9924) 2024-08-12 15:50:21 +05:30
featureFlags.js feat: Generate SSO URL in Chatwoot, move Captain to primary tab (#9871) 2024-08-01 19:22:34 -07:00