diff --git a/__tests__/html2/livestream/entities.Informative.html b/__tests__/html2/livestream/entities.Informative.html new file mode 100644 index 0000000000..35b86cd371 --- /dev/null +++ b/__tests__/html2/livestream/entities.Informative.html @@ -0,0 +1,90 @@ + + + + + + + + + + + + +
+ + + diff --git a/__tests__/html2/livestream/entities.Informative.html.snap-1.png b/__tests__/html2/livestream/entities.Informative.html.snap-1.png new file mode 100644 index 0000000000..171e52f238 Binary files /dev/null and b/__tests__/html2/livestream/entities.Informative.html.snap-1.png differ diff --git a/__tests__/html2/livestream/entities.html b/__tests__/html2/livestream/entities.html new file mode 100644 index 0000000000..173220df1b --- /dev/null +++ b/__tests__/html2/livestream/entities.html @@ -0,0 +1,184 @@ + + + + + + + + + + + + +
+ + + diff --git a/__tests__/html2/livestream/entities.html.snap-1.png b/__tests__/html2/livestream/entities.html.snap-1.png new file mode 100644 index 0000000000..b5a67b104c Binary files /dev/null and b/__tests__/html2/livestream/entities.html.snap-1.png differ diff --git a/__tests__/html2/livestream/entities.html.snap-2.png b/__tests__/html2/livestream/entities.html.snap-2.png new file mode 100644 index 0000000000..9211ad1253 Binary files /dev/null and b/__tests__/html2/livestream/entities.html.snap-2.png differ diff --git a/__tests__/html2/livestream/entities.html.snap-3.png b/__tests__/html2/livestream/entities.html.snap-3.png new file mode 100644 index 0000000000..81e1109276 Binary files /dev/null and b/__tests__/html2/livestream/entities.html.snap-3.png differ diff --git a/__tests__/html2/livestream/entities.html.snap-4.png b/__tests__/html2/livestream/entities.html.snap-4.png new file mode 100644 index 0000000000..cab4c11183 Binary files /dev/null and b/__tests__/html2/livestream/entities.html.snap-4.png differ diff --git a/__tests__/html2/livestream/entities.outOfOrder.html b/__tests__/html2/livestream/entities.outOfOrder.html new file mode 100644 index 0000000000..64d0c99369 --- /dev/null +++ b/__tests__/html2/livestream/entities.outOfOrder.html @@ -0,0 +1,228 @@ + + + + + + + + + + + + +
+ + + diff --git a/__tests__/html2/livestream/entities.outOfOrder.html.snap-1.png b/__tests__/html2/livestream/entities.outOfOrder.html.snap-1.png new file mode 100644 index 0000000000..b5a67b104c Binary files /dev/null and b/__tests__/html2/livestream/entities.outOfOrder.html.snap-1.png differ diff --git a/__tests__/html2/livestream/entities.outOfOrder.html.snap-2.png b/__tests__/html2/livestream/entities.outOfOrder.html.snap-2.png new file mode 100644 index 0000000000..81e1109276 Binary files /dev/null and b/__tests__/html2/livestream/entities.outOfOrder.html.snap-2.png differ diff --git a/__tests__/html2/livestream/entities.outOfOrder.html.snap-3.png b/__tests__/html2/livestream/entities.outOfOrder.html.snap-3.png new file mode 100644 index 0000000000..81e1109276 Binary files /dev/null and b/__tests__/html2/livestream/entities.outOfOrder.html.snap-3.png differ diff --git a/__tests__/html2/livestream/entities.outOfOrder.html.snap-4.png b/__tests__/html2/livestream/entities.outOfOrder.html.snap-4.png new file mode 100644 index 0000000000..cab4c11183 Binary files /dev/null and b/__tests__/html2/livestream/entities.outOfOrder.html.snap-4.png differ diff --git a/__tests__/html2/side-by-side/index.html b/__tests__/html2/side-by-side/index.html index 41514f2e63..2b835b9dab 100644 --- a/__tests__/html2/side-by-side/index.html +++ b/__tests__/html2/side-by-side/index.html @@ -577,7 +577,7 @@ text: "Hello there! I'm your Onboarding Buddy, here to guide you through your first days at our company. Let's go over some important information:\n\n- Your **orientation session** is scheduled for tomorrow at **9:00 AM** in the main conference room.", channelData: { streamType: "streaming", - streamId: "a4c0c01d-c06e-4dde-9278-265c607b5457", + streamId: "a4c0c01d-c06e-4dde-9278-265c607b545b", streamSequence: 90 } }, @@ -587,12 +587,20 @@ entities: [aiMessageEntity], id: "a4c0c01d-c06e-4dde-9278-265c607b545b-82", type: "message", - text: "- Don't forget to complete your **new hire paperwork** by the end of this week. This includes your tax forms, benefits enrollment, and emergency contact information.\n\nGood luck!", + text: "Hello there! I'm your Onboarding Buddy, here to guide you through your first days at our company. Let's go over some important information:\n\n- Your **orientation session** is scheduled for tomorrow at **9:00 AM** in the main conference room.\n\n- Don't forget to complete your **new hire paperwork** by the end of this week. This includes your tax forms, benefits enrollment, and emergency contact information.\n\nGood luck!", channelData: { streamType: "final", - streamId: "a4c0c01d-c06e-4dde-9278-265c607b5457", + streamId: "a4c0c01d-c06e-4dde-9278-265c607b545b", streamSequence: 99 } + }, + { + timestamp: timestamp(), + from: { role: 'bot' }, + entities: [aiMessageEntity], + id: "a4c0c01d-c06e-4dde-9278-265c607b549c", + type: "message", + text: "Let me know if I can help with anything else.", } ], [ { diff --git a/__tests__/html2/side-by-side/streaming.dark.html.snap-1.png b/__tests__/html2/side-by-side/streaming.dark.html.snap-1.png index 8ff9250c4e..740062d65f 100644 Binary files a/__tests__/html2/side-by-side/streaming.dark.html.snap-1.png and b/__tests__/html2/side-by-side/streaming.dark.html.snap-1.png differ diff --git a/__tests__/html2/side-by-side/streaming.html.snap-1.png b/__tests__/html2/side-by-side/streaming.html.snap-1.png index 4fd38582b6..3f6a155337 100644 Binary files a/__tests__/html2/side-by-side/streaming.html.snap-1.png and b/__tests__/html2/side-by-side/streaming.html.snap-1.png differ diff --git a/packages/api/src/providers/ActivityKeyer/ActivityKeyerComposer.tsx b/packages/api/src/providers/ActivityKeyer/ActivityKeyerComposer.tsx index a6724c246f..c1e04de5a3 100644 --- a/packages/api/src/providers/ActivityKeyer/ActivityKeyerComposer.tsx +++ b/packages/api/src/providers/ActivityKeyer/ActivityKeyerComposer.tsx @@ -71,6 +71,7 @@ const ActivityKeyerComposer = ({ children }: Readonly<{ children?: ReactNode | u uniqueId(); activityId && nextActivityIdToKeyMap.set(activityId, key); + typingActivityId && nextActivityIdToKeyMap.set(typingActivityId, key); clientActivityId && nextClientActivityIdToKeyMap.set(clientActivityId, key); nextActivityToKeyMap.set(activity, key); nextActivityKeys.add(key);