iachat/app/javascript/dashboard/helper
Sivin Varghese 79aa5a5d7f
feat: Replace alertMixin usage with useAlert (#9793)
# Pull Request Template

## Description

This PR will replace the usage of `alertMixin` from the code base with
the `useAlert` composable.

Fixes
https://linear.app/chatwoot/issue/CW-3462/replace-alertmixin-usage-with-usealert

## Type of change

- [x] Breaking change (fix or feature that would cause existing
functionality not to work as expected)

## How Has This Been Tested?

Please refer this issue description

https://linear.app/chatwoot/issue/CW-3462/replace-alertmixin-usage-with-usealert


## Checklist:

- [x] My code follows the style guidelines of this project
- [x] I have performed a self-review of my code
- [ ] 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

---------

Co-authored-by: Sojan Jose <sojan@pepalo.com>
2024-07-23 16:41:11 +05:30
..
AnalyticsHelper fix: return if user is not present (#9768) 2024-07-15 17:42:35 +05:30
AudioAlerts fix: TypeError cannot read properties of undefined (reading '$store') (#9777) 2024-07-15 18:50:43 +05:30
CacheHelper feat: fallback to DB localStorage for idb names (#8682) 2024-01-15 15:08:15 +05:30
directives feat: SLA threshold card component (#9163) 2024-03-27 13:19:51 +05:30
specs feat: add promise based loader for FB script (#9780) 2024-07-22 11:32:05 +05:30
actionCable.js feat: Reconnect logic (#9453) 2024-06-03 15:54:19 +05:30
actionQueryGenerator.js fix: Unable to save automation "send email to team" (#6052) 2022-12-12 20:10:33 +05:30
APIHelper.js fix: Allow users to login even if they have access to more than 15 accounts (#4475) 2022-04-14 20:54:26 +05:30
auditlogHelper.js feat: auditlog for team and inbox member updates (#7516) 2023-08-15 19:55:19 -07:00
automationHelper.js feat: Add the ability to un-assign teams using automation (#9668) 2024-06-26 12:40:36 -07:00
commons.js feat: Add the ability add new portal (#5219) 2022-08-10 09:27:52 +05:30
customViewsHelper.js feat: update tool-chain to latest (#7975) 2023-09-27 14:02:34 +05:30
DOMHelpers.js feat: add promise based loader for FB script (#9780) 2024-07-22 11:32:05 +05:30
downloadHelper.js feat: Add business hours in downloadable reports (#4674) 2022-05-27 09:26:59 +05:30
editorHelper.js feat: Support image resize in message signature (#8042) 2023-10-09 13:20:12 +05:30
featureHelper.js feat: Add help URLs for features in features.yml (#9134) 2024-03-21 10:30:46 -07:00
filterQueryGenerator.js chore: Support multiple values for automation message content (#7871) 2023-09-19 13:04:58 +05:30
flag.js chore: Replace packages with native functions (#5140) 2022-08-03 17:08:21 +05:30
inbox.js feat: add reauthorization banner for Facebook (#9553) 2024-05-30 09:41:04 +05:30
labelColor.js feat: Create portal UI improvements (#5261) 2022-08-18 17:11:19 +05:30
permissionsHelper.js chore: Move frontend authorization to permission based system (#9709) 2024-07-03 15:13:16 -07:00
portalHelper.js feat: Add support to uncategorized articles (#6912) 2023-05-02 15:35:26 +05:30
preChat.js feat: Support Regex validation for custom attributes (#7856) 2024-01-23 18:01:57 +04:00
pushHelper.js feat: Replace alertMixin usage with useAlert (#9793) 2024-07-23 16:41:11 +05:30
ReconnectService.js fix: Add a DISCONNECT_DELAY_THRESHOLD while fetching the conversations (#9757) 2024-07-10 20:28:30 -07:00
routeHelpers.js chore: Move frontend authorization to permission based system (#9709) 2024-07-03 15:13:16 -07:00
scriptHelpers.js chore: Replace eventBus with mitt.js [CW-3275] (#9539) 2024-05-31 15:50:36 +05:30
snoozeHelpers.js feat: Inbox header actions (Snooze/Delete) (#8858) 2024-02-06 08:54:15 +05:30
states.js Move src to dashboard (#152) 2019-10-16 14:36:17 +05:30
themeHelper.js feat: Add the option to toggle the dark/light color-scheme (#7662) 2023-08-03 12:21:45 -07:00
uploadHelper.js feat: Add upload under account scope (#7914) 2023-09-19 09:51:54 +05:30
URLHelper.js feat: Adds support for logo in portal settings page [CW-2585] (#8354) 2023-11-17 19:58:27 -08:00