iachat/app/javascript/dashboard/store/modules/specs
Fayaz Ahmed b474929f5e
chore: Replace eventBus with mitt.js [CW-3275] (#9539)
# Replace the deprecated `eventBus` with mitt.js

## Description

Since eventBus and it's respective methods are deprecated and removed
from all future releases of vue, this was blocking us from migrating.
This PR replaces eventBus with
[mitt](https://github.com/developit/mitt). I have created a wrapper
mitt.js to simulate the same old event names so it's backwards
compatible, without making a lot of changes.


Fixes # (issue)

## Type of change

Please delete options that are not relevant.

- [x] Bug fix (non-breaking change which fixes an issue)
- [ ] New feature (non-breaking change which adds functionality)
- [ ] Breaking change (fix or feature that would cause existing
functionality not to work as expected)
- [ ] This change requires a documentation update

## How Has This Been Tested?

1. Made sure all the places we're listening to bus events are working as
expected.
2. Respective specsf or the events from mitt.


## 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
- [x] 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
- [x] Any dependent changes have been merged and published in downstream
modules
2024-05-31 15:50:36 +05:30
..
account feat: add upgrade banner for SLA feature (#9240) 2024-04-16 16:59:39 -07:00
agentBots feat: Allow disconnecting agent bots (#6245) 2023-01-13 22:28:45 +05:30
agents feat: update tool-chain to latest (#7975) 2023-09-27 14:02:34 +05:30
attributes feat: Custom fields in pre-chat form (#4189) 2022-04-19 12:47:29 +05:30
auth chore: Upgrade @june-so/analytics-next, js-cookie to the latest version (#8799) 2024-01-29 11:41:42 +04:00
automations fix: Automation Bugs and minor enhancements (#3936) 2022-02-15 23:36:29 +05:30
bulkActions feat: Adds support for all snooze option in bulk actions (#9361) 2024-05-09 19:27:31 +05:30
campaigns feat: Add Advanced Conversation Filters (#3239) 2021-11-18 19:15:02 +05:30
contactConversations feat: Add the ability to send attachment in new conversation (#7913) 2023-10-10 09:34:36 +05:30
contactLabels feat: Ability to add label for contact page (#2350) 2021-06-14 10:36:00 +05:30
contactNotes Feat: Show notes panel on crm page (#2320) 2021-06-14 09:49:17 +05:30
contacts feat: Update API for contact avatar (#4719) 2022-07-12 10:03:16 +02:00
conversationLabels Feature: Improve label experience (#975) 2020-06-25 21:04:03 +05:30
conversationMetadata Feature: Contact Panel with conversation details (#397) 2020-01-01 22:30:43 +05:30
conversationPage feat: Add Advanced Conversation Filters (#3239) 2021-11-18 19:15:02 +05:30
conversations chore: Replace eventBus with mitt.js [CW-3275] (#9539) 2024-05-31 15:50:36 +05:30
conversationSearch feat: Add global message search (#1385) 2020-11-08 01:46:45 +05:30
conversationStats Chore: Move conversationStats to a seperate module (#962) 2020-06-14 14:07:52 +05:30
conversationTypingStatus Feature: Typing Indicator on widget and dashboard (#811) 2020-05-04 23:07:56 +05:30
conversationWatchers feat: conversation participants (#4145) 2023-02-16 13:35:06 +05:30
csat feat: Add CSAT reports (#2608) 2021-07-14 10:20:06 +05:30
customViews feat: Split reconnect logic PR (store) (#9520) 2024-05-30 12:29:55 +05:30
dashboardApps feat: Add the ability to create dashboard apps from the UI (#4924) 2022-07-08 15:55:32 +07:00
draftMessages feat: Add reply editor mode to the store (#7515) 2023-07-13 14:56:53 +05:30
inboxAssignableMembers feat: Add Bulk actions to conversations (#4647) 2022-06-03 11:12:22 +05:30
inboxes fix: Specs failing for teams/actions.js (#6845) 2023-04-06 20:48:49 +05:30
integrations feat: Update the slack integration-flow to allow users to select the channel (#7637) 2023-07-28 14:50:30 -07:00
labels fix: Specs failing for teams/actions.js (#6845) 2023-04-06 20:48:49 +05:30
macros feat: Add API module and Vuex store for Macros (#5603) 2022-10-11 22:54:17 -07:00
notifications feat: Split reconnect logic PR (store) (#9520) 2024-05-30 12:29:55 +05:30
reports fix: Update report method to fix issues with special characters (#4697) 2022-05-18 12:15:30 +05:30
sla feat: UI to show the SLA threshold in chat screen (#9146) 2024-04-04 15:46:46 +05:30
slaReports feat: SLA reports view (#9189) 2024-04-09 10:14:36 +10:00
teamMembers feat: Set up store for teams (#1689) 2021-03-15 18:35:56 +05:30
teams fix: Specs failing for teams/actions.js (#6845) 2023-04-06 20:48:49 +05:30
userNotificationSettings Feature: Add UI to update email notification preferences (#579) 2020-03-01 17:47:08 +05:30
webhooks feat: Add an option to edit webhook URL (#2316) 2021-06-06 16:59:47 +05:30