feat(chat): add inline system activity and automation event logs in inbox - #1172
Open
JuanBifrost wants to merge 1 commit into
Open
JuanBifrost wants to merge 1 commit into
JuanBifrost wants to merge 1 commit into
Conversation
JuanBifrost
force-pushed
the
feat/inbox-activity-timeline
branch
3 times, most recently
from
September 13, 2026 16:53
fe844fc to
36a7441
Compare
…nbox - Add messageService.createActivity for system activity messages and PartyKit realtime broadcast - Record activity events in worker during flow execution (custom fields, tags, sequences, flow triggers, conversation archive/unarchive) - Add ActivityMessageItem component in builder UI with centered layout and clean dashed event dividers - Add chat-store showSystemEvents state and header toggle button in MessageHead - Add activity translation keys across all 20 locales for complete i18n key parity - Add unit test for createActivity in message-service.test.ts
JuanBifrost
force-pushed
the
feat/inbox-activity-timeline
branch
from
September 13, 2026 17:10
36a7441 to
c2f01fa
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
This PR introduces inline system activity timeline logs in the Inbox conversation view. When background flow automations run or contact attributes change, operators can now see chronological system events directly inside the chat thread with clean centered dividers and clear visual hierarchy.
Key Changes
messageService.createActivity(...)to persist activity messages withmessageType: "activity",senderType: "system", and broadcast to PartyKit/realtime (RealtimeEventType.messageCreated).Messagemodel withmessageType: "activity",senderType: "system", andcontentAttributes).contactCustomFieldService.setValueByKey/setValuesto track and return old and new values (PendingContactCustomFieldChange[]).custom_field_changed) with previous and new values.custom_field_cleared).tag_added,tag_removed).sequence_subscribed,sequence_unsubscribed).flow_triggered).conversation_status_changedfor archive/unarchive step actions).<ActivityMessageItem>component inapps/builderto render centered system logs with dashed border dividers and border collapse (-mt-px).showSystemEventsstate inchat-storeand an Activity toggle button inMessageHeadto allow operators to show or hide system events on demand.en.json) and Spanish (es.json) undermessages.activity.*.packages/business/__tests__/message-service.test.tsformessageService.createActivityverifying repository creation and PartyKit broadcast.How to Test