Use thumbnailUrl for thumbnails#2433
Merged
compulim merged 6 commits intomicrosoft:masterfrom Oct 1, 2019
Merged
Conversation
tdurnford
reviewed
Sep 30, 2019
Co-Authored-By: TJ Durnford <[email protected]>
compulim
added a commit
to compulim/BotFramework-WebChat
that referenced
this pull request
Oct 5, 2019
* Use thumbnail URL * Update PR number * Update CHANGELOG.md Co-Authored-By: TJ Durnford <[email protected]> * Fix ESLint * Fix ESLint * Fix ESLint
This was referenced Oct 5, 2019
Closed
Closed
Merged
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.
Fixes #2422.
Changelog Entry
Changed
bundle: Bumped DirectLineJS to support metadata when uploading attachments, in PR #2433[email protected]componentbecause it was not referencedFixed
attachment.thumbnailUrlfield in the activity, by @compulim in PR #2433Added
activity.attachments[].thumbnailUrl, by @compulim in PR #2433Description
Today, Web Chat locally build thumbnails and we save the thumbnail using
thumbnailUrl.In Direct Line API, there is a field dedicated for thumbnail, namely,
activity.attachments[].thumbnailUrl.Tomorrow, we will use the
thumbnailUrlto upload and render.Specific Changes
[email protected], which support metadata while uploading attachmentschannelData.thumbnailsto the newthumbnailUrlfieldthumbnailUrlif available, fallback tocontentUrlTesting Added