iachat/app/javascript/dashboard
Shivam Mishra 84822a013a
fix: inconsistent reply box cc update (#10799)
This PR target two issues

### CC & BCC not updated correctly

When moving from one conversation to another, the store may not have the
list of all the messages. A fetch is subsequently made to get the
messages. However, this update does not trigger the `currentChat`
watcher. This PR fixes it by adding a new watcher on
`currentChat.messages`.

We also update the `setCCAndToEmailsFromLastChat` method to reset the
`cc`, `bcc` and `to` fields if the last email is not found. This ensures
that the data is not carried forward from a previous email

Fixes: https://github.com/chatwoot/chatwoot/issues/10477

### To address are not added correctly to the `CC`

If the `to` address of a previous email has multiple recipient, there
was no case to add them to the CC.

Fixes: https://github.com/chatwoot/chatwoot/issues/8925

---

Depends on: https://github.com/chatwoot/utils/pull/41
2025-02-11 17:45:59 +05:30
..
api chore: Search improvements (#10801) 2025-02-03 19:34:50 +05:30
assets revert: Next bubble improvements (#10795) 2025-01-29 20:04:45 -08:00
components fix: inconsistent reply box cc update (#10799) 2025-02-11 17:45:59 +05:30
components-next fix: Message signature is not appending (#10855) 2025-02-07 16:28:27 +05:30
composables feat: Add frontend changes for Captain limits (#10749) 2025-01-24 09:21:09 -08:00
constants feat: update colors for v4 (#10660) 2025-01-15 17:13:03 +05:30
helper feat: handle mine event for incoming messages (#10867) 2025-02-11 17:45:31 +05:30
i18n feat: Adds support for telegram contact sharing (#10841) 2025-02-06 14:23:08 +05:30
mixins chore: fix circleci on vite build (#10214) 2024-10-07 15:27:41 +05:30
modules feat: show email subject in conversation search results (#10843) 2025-02-06 10:38:57 +05:30
routes feat: Add unread badge to sidebar for inbox view (#10803) 2025-01-31 15:14:10 +05:30
store fix: inconsistent reply box cc update (#10799) 2025-02-11 17:45:59 +05:30
App.vue fix: Resolve accountId from the route, initialize route-sync before the app is loaded (#10245) 2024-10-08 09:25:51 -07:00
featureFlags.js feat(v4): Update the report pages to show aggregate values (#10766) 2025-01-28 09:19:18 +05:30