chatwoot/app/javascript/widget/helpers
Tanmay Deep Sharma 11826e2a21
perf: reduce presence update frequency and fix background tab throttling (#13726)
## Description
Reduces the frequency of update_presence WebSocket calls from the live
chat widget and fixes agents appearing offline when the dashboard is in
a background tab.

## Fixes # (issue)
https://github.com/chatwoot/chatwoot/issues/13720

## Type of change

- [ ] Bug fix (non-breaking change which fixes an issue)


## Checklist:

- [ ] My code follows the style guidelines of this project
- [ ] 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
- [ ] My changes generate no new warnings
- [ ] I have added tests that prove my fix is effective or that my
feature works
- [ ] New and existing unit tests pass locally with my changes
- [ ] Any dependent changes have been merged and published in downstream
modules
2026-03-09 18:23:44 +05:30
..
specs feat: Migrate availability mixins to composable and helper (#11596) 2025-08-22 00:43:34 +05:30
actionCable.js perf: reduce presence update frequency and fix background tab throttling (#13726) 2026-03-09 18:23:44 +05:30
availabilityHelpers.js feat: Convert availability slots to local timezone (#12273) 2025-08-22 16:12:24 +05:30
axios.js
campaignHelper.js feat: Allow wildcard URL in the campaigns (#6056) 2022-12-09 16:43:09 -08:00
campaignTimer.js
constants.js
IframeEventHelper.js feat: update tool-chain to latest (#7975) 2023-09-27 14:02:34 +05:30
popoutHelper.js
urlParamsHelper.js feat: Vite + vue 3 💚 (#10047) 2024-10-02 00:36:30 -07:00
utils.js feat: Vite + vue 3 💚 (#10047) 2024-10-02 00:36:30 -07:00
uuid.js
WidgetAudioNotificationHelper.js chore: Refactor audio notification helper (#6148) 2022-12-30 13:54:37 -08:00