Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Loading .transcript from disk does not render the conversation in the chat control #2119

Open
cwhitten opened this issue Mar 25, 2020 · 8 comments
Labels
Bug Your classic code defect

Comments

@cwhitten
Copy link
Member

cwhitten commented Mar 25, 2020

Opening a transcript from File -> Open Transcripts works as intended.

Screen Shot 2020-03-25 at 8 36 31 AM

I think something has possibly gone wrong with .transcript generation. I create a fresh Composer bot and the transcript generated works, but if I load an older .transcript (non-Composer) it doesn't render in the chat control. Ping @cwhitten for an older transcript that generated this behavior.

@cwhitten cwhitten added the Bug Your classic code defect label Mar 25, 2020
@tonyanziano
Copy link
Contributor

This seems to be due to an error thrown inside of Web Chat:

image

I believe the offending call to be the useDateFormatter() hook inside of the RelativeTime middleware, which eventually calls globalize.dateFormatter(...).

@compulim, @corinagum any ideas here off the top of your head?

@tomlm
Copy link
Contributor

tomlm commented Mar 25, 2020

SandwichOrder.zip

Here's a transcript that doesn't load.

@compulim
Copy link
Contributor

Looking at it now.

@compulim
Copy link
Contributor

Related to microsoft/BotFramework-WebChat#3039.

If the transcript showing any dates beyond yesterday, it will blow up. 🤯

@jelmuei
Copy link

jelmuei commented May 4, 2020

@cwhitten
I've just changed my system time to a date before the timestamp of the transcript files and this results in the Bot Emulator to successfully load old Transcript files.

None of these official sample transcript files are working without this work around.
https://microsoft.github.io/botframework-solutions/skills/samples/transcripts/

Would be good if this bug could be fixed as we are using transcripts files to review beta testings of our bot.

@tonyanziano
Copy link
Contributor

Hi @jelmuei ,

I'm glad to hear you found a workaround.

We are still waiting for this to be fixed in Web Chat (microsoft/BotFramework-WebChat#3039), and can't fix the issue in the Emulator until that is done.

@jelmuei
Copy link

jelmuei commented Jun 23, 2020

@tonyanziano

Is there a update? Essentially the whole transcript functionality is broken now.

We have a big collection of transcript files of conversations from our beta testers but we do not have a way to use them for enhancing the conversational flow of our bot.

Is there another way to read transcripts files in some form of a GUI based tool and render them so our product people can review them?

@tonyanziano
Copy link
Contributor

Hi @jelmuei ,

The Emulator & Web Chat teams are spread pretty thin at the moment due to some other pressing tasks in our pipeline, so unfortunately I can't give you an update on when this will be fixed.

As a workaround, you can download an older version of the Emulator (I tried v4.5.2 and it worked), and the transcripts will be displayed properly in the GUI. There was a performance issue around loading transcripts present in this version, so it may take a little while for the transcript to completely render if it is large, but just be patient.

Hope this helps.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Your classic code defect
Projects
None yet
Development

No branches or pull requests

5 participants