BotFramework-WebChat icon indicating copy to clipboard operation
BotFramework-WebChat copied to clipboard

New message is announced when a reorder of messages happens

Open elopezanaya opened this issue 3 years ago • 4 comments

Is it an issue related to Adaptive Cards?

  • [ ] Yes, this is an Adaptive Card issue but it is specific to Web Chat.

Do you have any screenshots?

image

What version of Web Chat are you using?

I am not using latest

Which distribution are you using Web Chat from?

Bundle (webchat.js)

Which hosting environment does this issue primarily affect?

Dynamics 365 Omnichannel

Which browsers and platforms do the issue happened?

Browser: Edge (latest), Browser: Chrome (latest), Browser: Safari (latest), Platform: Windows, Platform: macOS

Which area does this issue affect?

Notification

Is this an accessibility issue?

  • [ ] Yes, this is an accessibility issue.

Please describe the bug

Adaptive cards are being sorted according to the time stamp in the activity, if the scroll of the chat is in the middle of the chat while the reorder happens, it will announce as new message ,

this is a problem when one of the adaptive cards contains a set of suggested actions, because once the ordering happens , the suggested actions dissapear.

this was reported by a customer by scrolling up and down multiple times.

Do you see any errors in console log?

No response

How to reproduce the issue?

1.- use a PVA bot which send at least 3 messages , one after other , the last message should contain a set of suggested actions 2.- start the chat, and wait for the suggested actions to show up 3.- scroll up and down 4.- once the suggested actions dissapear corroborate the order of the messages

this is not an easy bug to reproduce, since the re-order doesnt always happen,

What is the expected and actual behavior?

Expected:

to do not throw a new message notification under the scenario described

Actual:

is throwing a new message notifiation

Adaptive Card JSON

No response

Additional context

NA

elopezanaya avatar Aug 25 '22 18:08 elopezanaya

Please give repro in the format of transcript, or HTTP traffic.

compulim avatar Aug 30 '22 17:08 compulim

here you can find the HAR files, the transcript and the screen shot of how it looks the chat after reorder the messages,

evidence5_12am.zip ChatTranscripts (33).zip image

elopezanaya avatar Aug 31 '22 15:08 elopezanaya

Per our offline discussion:

image

compulim avatar Sep 01 '22 23:09 compulim