iachat/app/javascript/dashboard
Sivin Varghese 001b25c92a
fix: Reset recorder and attachments when switching chats (#11174)
# Pull Request Template

## Description

This PR will reset the recorder and clear attachments when switching
chats. It ensures that any ongoing recordings or attached files do not
persist across different conversations

Fixes
https://linear.app/chatwoot/issue/CW-4157/recorded-audio-is-being-preserved-between-conversations
https://github.com/chatwoot/chatwoot/issues/11136

## Type of change

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

## How Has This Been Tested?

### Loom video

https://www.loom.com/share/6d6361650794426497467d6de1b4900d?sid=d856c540-1032-4ea2-8765-8704b76e8e1d


## 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
- [ ] 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
2025-03-27 21:38:22 -07:00
..
api feat(apps): Shopify Integration (#11101) 2025-03-19 15:37:55 -07:00
assets feat: Add RTL Support to Widget (#11022) 2025-03-21 09:39:03 -07:00
components fix: Reset recorder and attachments when switching chats (#11174) 2025-03-27 21:38:22 -07:00
components-next chore: Add cache to improve widget performance (#11163) 2025-03-24 16:04:49 -07:00
composables feat(apps): Shopify Integration (#11101) 2025-03-19 15:37:55 -07:00
constants feat: Add visibility checks for installation types (#10773) 2025-02-21 14:48:31 -08:00
helper feat: Add debounce for meta query (#11195) 2025-03-27 19:41:02 -07:00
i18n fix(i18n): correct settings name translation in pt-BR (#11172) 2025-03-25 20:27:41 -07:00
mixins chore: fix circleci on vite build (#10214) 2024-10-07 15:27:41 +05:30
modules chore: Update buttons in conversation screens - 2 (#11134) 2025-03-21 21:54:54 +05:30
routes fix: Support Business hours when downloading the agent reports. 2025-03-25 20:26:18 -07:00
store fix: Fix typo in conversationStats/get (#11201) 2025-03-27 21:28:22 -07:00
App.vue feat: Support bigger font size in dashboard (#10974) 2025-02-27 12:10:33 +05:30
featureFlags.js feat: Add visibility checks for installation types (#10773) 2025-02-21 14:48:31 -08:00