iachat/app/javascript/dashboard/components-next
Cayo P. R. Oliveira a760442010
fix: mark message read edge case (#46)
* feat: enhance message_content_attributes to handle reaction messages

* fix: update external_created_at to use raw message timestamp directly

* fix: update readableTime to use externalCreatedAt if available

* feat: enhance timestamp formatting with localization support for pt-BR

* feat: add note to message_content_attributes about external_created_at timestamp

* fix: add missing newline at end of conversation.json files

* test: add additional cases for messageTimestamp formatting

* chore: remove outdated note about external_created_at in message_content_attributes

* refactor: remove out of scope task changes

* feat: add test for setting external_created_at in content_attributes on new message

* fix: use last_seen_at message query conditions only if present

* test: add SQL execution tests for messages_read with last_seen_at conditions

* fix: ensure SQL notifications are unsubscribed after message read events

* refactor: streamline message query in messages_read method

* test: update messages_read specs to test expected behavior

* refactor: simplify readableTime computation by removing unnecessary externalCreatedAt check

* fix: update readableTime computation to use externalCreatedAt if available

* test: enhance messages_read specs to use a consistent event object

* test: refactor spec for creating message with external_created_at in messages.upsert event

* Refactor incoming message specs for clarity and consistency

- Consolidated raw_message and params definitions using let blocks for better readability.
- Updated tests to directly manipulate raw_message and params within individual examples.
- Ensured consistent naming and structure across different message types.
- Improved assertions to reflect changes in message attributes and expectations.

* refactor: streamline messages.update event handling and improve test clarity

* test: refactor messages.upsert event specs to use a consistent timestamp

* test: enhance reaction message handling in incoming_message_baileys_service_spec
2025-05-16 14:13:00 -03:00
..
Accordion feat: Allow customizing the responses, flows in Captain (#11385) 2025-04-29 15:42:15 -07:00
avatar revert: Next bubble improvements (#10795) 2025-01-29 20:04:45 -08:00
banner chore: Update buttons in dashboard (#11145) 2025-03-31 17:21:32 -07:00
breadcrumb feat(v4): Add new contact details screen (#10504) 2024-12-03 21:29:47 -08:00
button chore: Update buttons in conversation screens - 2 (#11134) 2025-03-21 21:54:54 +05:30
Campaigns feat: Support bigger font size in dashboard (#10974) 2025-02-27 12:10:33 +05:30
captain fix: Update the character count for instructions (#11419) 2025-05-05 19:41:38 -07:00
checkbox feat: Add support for bulk action for Captain FAQs (#10905) 2025-02-27 17:05:33 -08:00
colorpicker feat: Update button component (#10362) 2024-10-29 14:00:24 +05:30
combobox chore: Update styles in settings pages (#11070) 2025-03-18 14:40:02 -07:00
Contacts feat: add UI for contact notes (#11358) 2025-04-29 16:08:20 +05:30
Conversation/ConversationCard fix: sentry issues (#10695) 2025-01-16 15:49:48 +05:30
copilot fix: Fix missing translations in copilot (#11411) 2025-05-04 18:06:24 -07:00
CustomAttributes feat(v4): Add new contact details screen (#10504) 2024-12-03 21:29:47 -08:00
dialog feat: Implement UI for Agent Bots in settings and remove CSML support (#11276) 2025-04-16 18:02:49 +05:30
dropdown-menu chore: fix cursor pointer on router-link sidebar menu 2025-04-03 23:28:38 -03:00
Editor chore: Improve new conversation form (#10687) 2025-01-15 13:10:09 +05:30
feature-spotlight feat: Add support for feature spotlight components (#11012) 2025-03-18 13:17:42 -07:00
filter chore: Update buttons in dashboard (#11145) 2025-03-31 17:21:32 -07:00
flag feat: Flag icon component (#10564) 2024-12-10 11:53:24 +05:30
HelpCenter fix: Handle slug validation errors in Help Center (#11368) 2025-04-24 16:58:05 +05:30
icon feat: Instagram Inbox using Instagram Business Login (#11054) 2025-04-08 10:47:41 +05:30
Inbox fix: v4 ui issues (#10652) 2025-01-08 18:17:50 +05:30
inline-input chore: Update styles in settings pages (#11070) 2025-03-18 14:40:02 -07:00
input chore: Update styles in settings pages (#11070) 2025-03-18 14:40:02 -07:00
Label chore(v4): Update colors (#10700) 2025-01-16 15:27:23 +05:30
message fix: mark message read edge case (#46) 2025-05-16 14:13:00 -03:00
NewConversation fix: allow composing message when using baileys inbox (#23) 2025-04-09 19:15:22 -03:00
pagination feat: Support bigger font size in dashboard (#10974) 2025-02-27 12:10:33 +05:30
phonenumberinput chore: Update styles in settings pages (#11070) 2025-03-18 14:40:02 -07:00
selectmenu feat: Update conversation basic filter (#11415) 2025-05-06 12:44:23 +05:30
sidebar chore: deprecate report_v4 feature flag and remove gating logic (#11320) 2025-04-17 08:52:56 +05:30
spinner feat: Add Spinner to new components (#10303) 2024-10-16 17:53:46 -07:00
switch feat: Support bigger font size in dashboard (#10974) 2025-02-27 12:10:33 +05:30
tabbar feat: Update button component (#10362) 2024-10-29 14:00:24 +05:30
taginput feat(v4): Compose a new conversation from a phone number. (#10568) 2024-12-17 18:07:58 +05:30
textarea chore: Update styles in settings pages (#11070) 2025-03-18 14:40:02 -07:00
CardLayout.vue feat: Add support for bulk action for Captain FAQs (#10905) 2025-02-27 17:05:33 -08:00
EmptyStateLayout.vue feat: Support bigger font size in dashboard (#10974) 2025-02-27 12:10:33 +05:30