iachat/app/javascript/dashboard/i18n/locale/en
Cayo P. R. Oliveira 9a05ff5247
feat: find scheduled message (#237)
* feat(scheduled-messages): scroll to sent message from sidebar

- Expose message_id in JBuilder serialization and push_event_data
- Add HIGHLIGHT_MESSAGE bus event for in-page message highlighting
- Add 'Go to message' button on sent scheduled messages in sidebar
- Enhance onScrollToMessage to fetch messages around target when not in DOM
- Extend Message.vue highlight to work with bus events (not just route query)
- Add i18n keys for EN and pt-BR

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

* refactor(scheduled-messages): make sent card clickable instead of button

Replace the 'Go to message' button with a clickable card. The entire
sent scheduled message card now has cursor-pointer, hover highlight,
and a tooltip — clicking anywhere on it scrolls to the message.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

* fix(scheduled-messages): address PR review feedback

- Use camelCase value for HIGHLIGHT_MESSAGE bus event ('highlightMessage')
- Show toast alert when message not found after fetch or on fetch error
- Use the MESSAGE_NOT_FOUND i18n key that was previously unused

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

* fix(scheduled-messages): use messageId query param for find message

Replace direct bus event emission with route navigation using
?messageId= query param, reusing the same proven mechanism used by
search results and copy-message-link.

Changes:
- ScheduledMessageItem: router.replace with ?messageId= instead of
  emitting SCROLL_TO_MESSAGE directly
- ConversationView: handle ?messageId= on same-conversation (was
  previously skipped), fetch messages around target and scroll
- MessagesView: clean up ?messageId= from URL after scroll/error

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

* fix(scheduled-messages): add toast feedback for find message

Show a persistent "Searching for message..." toast while fetching,
auto-dismissed on success. Show "Message not found" error toast if
the message cannot be located.

Uses usePendingAlert for the loading state in both ConversationView
(initial fetch) and MessagesView (fallback fetch).

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

* fix: prevent scroll overshoot when navigating to message

Remove the immediate fetchPreviousMessages() call after
scrollIntoView({ behavior: smooth }). The fetch was prepending
messages above the target while the smooth scroll animation was
still running, shifting the DOM and causing the scroll to stop
short of the target message. The scroll event handler will
naturally trigger message loading when the user scrolls up later.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

* chore(scheduled-messages): remove redundant clearMessageIdFromRoute calls

---------

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-03-19 22:35:04 -03:00
..
advancedFilters.json feat: group conversations (#228) 2026-03-19 21:56:58 -03:00
agentBots.json feat: Ability to reset api_access_token (#11565) 2025-05-29 14:42:13 +05:30
agentMgmt.json fix: Translate "None" option in agent assignment dropdown (#11060) 2025-03-11 14:49:27 -07:00
attributesMgmt.json feat: Conversation workflows(EE) (#13040) 2026-01-27 11:36:20 +04:00
auditLogs.json feat: Add conversation delete feature (#11677) 2025-06-05 15:53:17 -05:00
automation.json Merge branch 'main' into chore/merge-upstream-4.11.0 2026-02-17 23:05:26 -03:00
bulkActions.json feat: Conversation workflows(EE) (#13040) 2026-01-27 11:36:20 +04:00
campaign.json feat: WhatsApp campaigns (#11910) 2025-07-16 09:04:02 +05:30
cannedMgmt.json feat: Vite + vue 3 💚 (#10047) 2024-10-02 00:36:30 -07:00
chatlist.json feat: TikTok channel (#12741) 2025-12-17 07:54:50 -08:00
companies.json feat: Add sorting by contacts count to companies list (#13012) 2026-01-09 15:20:08 -08:00
components.json chore: Improve pagination with compact number formatting and pluralization (#12962) 2025-11-27 10:32:34 +05:30
contact.json feat: group conversations (#228) 2026-03-19 21:56:58 -03:00
contactFilters.json feat: Ability to filter contact based on labels (#12343) 2025-09-02 12:35:18 +05:30
contentTemplates.json feat: Add call-to-action template support for Twilio (#13179) 2026-01-06 10:38:36 +04:00
conversation.json feat: find scheduled message (#237) 2026-03-19 22:35:04 -03:00
csatMgmt.json feat: more CSAT filters (#7038) 2023-05-18 22:50:46 +05:30
customRole.json feat: Vite + vue 3 💚 (#10047) 2024-10-02 00:36:30 -07:00
datePicker.json feat: Refactor reports filters (#13443) 2026-02-06 18:22:30 +05:30
emoji.json feat: Adds the ability to set an emoji for help center category (#8111) 2023-10-20 13:52:30 +05:30
general.json feat: Conversation workflows(EE) (#13040) 2026-01-27 11:36:20 +04:00
generalSettings.json fix: Translate Priority and Messages types in Automations and Macros (#11741) 2025-07-08 12:40:40 +05:30
groups.json feat: group conversations (#228) 2026-03-19 21:56:58 -03:00
helpCenter.json feat: add validation and error messages for custom HTML fields in portal settings 2026-03-09 11:48:53 -03:00
inbox.json feat: add reauth flow for wa embedded signup (#11940) 2025-08-08 01:48:45 +05:30
inboxMgmt.json feat: Implement existing template linking for CSAT surveys (#218) 2026-02-18 18:00:29 -03:00
index.js feat: group conversations (#228) 2026-03-19 21:56:58 -03:00
integrationApps.json chore: Update settings to match the new design (#11084) 2025-03-14 14:28:14 +05:30
integrations.json Merge branch 'main' into chore/merge-upstream-4.11.0 2026-02-17 23:05:26 -03:00
kanban.json feat: add kanban feature promotion with upgrade banner (#235) 2026-03-12 15:31:53 -03:00
labelsMgmt.json feat: Vite + vue 3 💚 (#10047) 2024-10-02 00:36:30 -07:00
login.json feat: Form validation message for password input (#11705) 2025-09-29 11:12:04 +05:30
macros.json fix: Translate Priority and Messages types in Automations and Macros (#11741) 2025-07-08 12:40:40 +05:30
mfa.json feat: Add the frontend support for MFA (#12372) 2025-09-18 21:16:06 +05:30
report.json feat: Refactor reports filters (#13443) 2026-02-06 18:22:30 +05:30
resetPassword.json feat: Support dark mode in login pages (#7420) 2023-07-01 07:49:52 +05:30
search.json feat: Advanced Search Backend (#12917) 2026-01-07 15:30:49 +05:30
setNewPassword.json feat: update product copy [CWM-45] (#6372) 2023-04-25 22:02:15 -07:00
settings.json feat: add kanban feature promotion with upgrade banner (#235) 2026-03-12 15:31:53 -03:00
signup.json chore: Improve signup flow, reduce the number of inputs (#13350) 2026-01-22 18:47:42 -08:00
sla.json feat: Update the design for integration page (#9825) 2024-07-24 16:35:40 -07:00
teamsSettings.json chore: update interpolation syntax for i18n files (#10198) 2024-10-07 11:12:40 -07:00
webhooks.json Feature: As a admin, I should be able to add webhooks to account (#572) 2020-02-29 17:43:49 +05:30
whatsappTemplates.json feat: Add media_name support for WhatsApp templates document files (#12462) 2025-09-18 15:25:31 +05:30
yearInReview.json feat(ce): Add Year in review feature (#13078) 2025-12-15 17:24:45 -08:00