chatwoot/app/javascript/dashboard
Muhsin Keloth c2523c5d8b
fix(editor): Refresh reply editor when reply window reopens in real-time (#14446)
On WhatsApp and any channel that disables the reply editor outside its
messaging window (WhatsApp Cloud, Twilio WhatsApp, API channels with
`agent_reply_time_window` set), when the window was already expired and
a new inbound message arrived in real-time, the "messaging restricted"
banner correctly hid but the editor itself stayed un-typeable until the
agent refreshed the page. This made the dashboard look like it accepted
replies even though typing did nothing.

Fixes
[CW-7087](https://linear.app/chatwoot/issue/CW-7087/reply-editor-stays-disabled-after-real-time-incoming-message-reopens)

#### How to reproduce

1. Open a WhatsApp conversation whose last incoming message is older
than 24h, so `can_reply` is `false` (banner shown, editor greyed out).
2. With the dashboard open on that conversation, have the customer send
a fresh inbound message (or simulate one via the channel's webhook).
3. Before the fix: banner disappears, editor wrapper loses its disabled
styling, but clicking into the editor and typing does nothing — refresh
required.
4. After the fix: banner disappears and the editor accepts input
immediately.

Co-authored-by: Muhsin <12408980+muhsin-k@users.noreply.github.com>
2026-05-14 12:16:58 +04:00
..
api feat(companies): add notes and history to company details (#14401) 2026-05-11 23:15:25 +05:30
assets fix(ui): resolve unreadable select options in dark mode (#13207) 2026-03-30 13:05:28 +05:30
components fix(editor): Refresh reply editor when reply window reopens in real-time (#14446) 2026-05-14 12:16:58 +04:00
components-next fix: contacts dropdown overlap (#14305) 2026-05-13 15:28:58 +05:30
composables feat: Update conversation bulk action UI (#14118) 2026-05-07 14:58:38 +05:30
constants feat: Add platform-wide status banners for outage notifications (#13943) 2026-04-29 17:18:38 +04:00
helper feat: inline url embeds in article editor (#14284) 2026-05-05 14:16:24 +05:30
i18n feat(companies): add notes and history to company details (#14401) 2026-05-11 23:15:25 +05:30
mixins feat: allow configuring attachment upload limit (#12835) 2025-11-17 14:03:08 -08:00
modules feat: Update conversation bulk action UI (#14118) 2026-05-07 14:58:38 +05:30
routes feat: don't let onboarding write domain (#14442) 2026-05-13 20:09:48 +05:30
services feat: Add rich template preview for WhatsApp & Twilio Templates (#13206) 2026-04-30 18:54:34 +04:00
store feat(companies): add notes and history to company details (#14401) 2026-05-11 23:15:25 +05:30
stores feat(companies): add notes and history to company details (#14401) 2026-05-11 23:15:25 +05:30
App.vue feat: Add platform-wide status banners for outage notifications (#13943) 2026-04-29 17:18:38 +04:00
featureFlags.js feat: UI changes for document auto sync [AI-153] (#14258) 2026-05-11 20:13:29 +05:30