iachat/app/javascript/dashboard/routes/dashboard/settings
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 fix: TypeError undefined is not an object (evaluating 'this.features.inbound_emails') (#9563) 2024-05-29 21:31:37 +05:30
agentBots feat: Remove Foundation in favor of Tailwind (#8984) 2024-02-28 13:56:28 +05:30
agents chore: Replace eventBus with mitt.js [CW-3275] (#9539) 2024-05-31 15:50:36 +05:30
attributes feat: Remove Foundation in favor of Tailwind (#8984) 2024-02-28 13:56:28 +05:30
auditlogs feat: Table footer design updates (#9194) 2024-04-09 10:50:41 +10:00
automation feat: Remove Foundation in favor of Tailwind (#8984) 2024-02-28 13:56:28 +05:30
billing feat: Split dashboard to chunks for build performance (#8394) 2023-11-21 14:51:05 -08:00
campaigns feat: Remove the usage of clickAway mixin with directive (#9323) 2024-04-30 10:35:14 +05:30
canned chore: Replace eventBus with mitt.js [CW-3275] (#9539) 2024-05-31 15:50:36 +05:30
components feat: Update the design for SLA policy management pages (#9136) 2024-03-22 14:39:09 -07:00
inbox chore: Replace eventBus with mitt.js [CW-3275] (#9539) 2024-05-31 15:50:36 +05:30
integrationapps feat: Add APIs for linear integration (#9346) 2024-05-22 13:37:58 +05:30
integrations feat: Remove Foundation in favor of Tailwind (#8984) 2024-02-28 13:56:28 +05:30
labels feat: Remove Foundation in favor of Tailwind (#8984) 2024-02-28 13:56:28 +05:30
macros fix: Add fallback for created_by and updated_by attributes in Macro (#9436) 2024-05-08 13:40:07 -07:00
profile fix: Update message signature default value (#9446) 2024-05-09 10:55:30 -07:00
reports chore: Replace eventBus with mitt.js [CW-3275] (#9539) 2024-05-31 15:50:36 +05:30
sla feat: update SLA upgrade banner (#9291) 2024-04-24 17:19:35 +05:30
teams feat: Remove Foundation in favor of Tailwind (#8984) 2024-02-28 13:56:28 +05:30
settings.routes.js feat: Revamp profile settings screen (#9352) 2024-05-06 22:33:39 +05:30
SettingsHeader.vue feat: Remove Foundation in favor of Tailwind (#8984) 2024-02-28 13:56:28 +05:30
SettingsLayout.vue feat: Update the design for SLA policy management pages (#9136) 2024-03-22 14:39:09 -07:00
SettingsSubPageHeader.vue feat: Remove Foundation in favor of Tailwind (#8984) 2024-02-28 13:56:28 +05:30
SettingsWrapper.vue feat: SLA List Item component (#9135) 2024-03-21 19:30:11 +05:30
Wrapper.vue feat: Remove Foundation in favor of Tailwind (#8984) 2024-02-28 13:56:28 +05:30