chatwoot/app/javascript
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
..
dashboard fix: Reset recorder and attachments when switching chats (#11174) 2025-03-27 21:38:22 -07:00
design-system feat: Add histoire for component playground (#10256) 2024-10-09 22:10:53 -07:00
entrypoints feat: update notification settings (#10529) 2024-12-05 19:05:04 +05:30
portal feat: Add RTL Support to Widget (#11022) 2025-03-21 09:39:03 -07:00
sdk feat: Support card message postback event as widget event (#11133) 2025-03-20 12:00:24 -07:00
shared chore: Add cache to improve widget performance (#11163) 2025-03-24 16:04:49 -07:00
superadmin_pages chore: fix circleci on vite build (#10214) 2024-10-07 15:27:41 +05:30
survey feat: Add RTL Support to Widget (#11022) 2025-03-21 09:39:03 -07:00
v3 feat: Update auth screens (#11108) 2025-03-19 15:19:32 +05:30
widget fix: Update throttle for /meta endpoints, will call every 2s for small account, 10s for large accounts (#11190) 2025-03-26 14:59:39 -07:00
histoire.setup.ts feat: Add compose conversation components (#10457) 2024-12-05 16:31:47 -08:00