Skip to content

Customizable per-message avatar#2943

Merged
compulim merged 33 commits intomicrosoft:masterfrom
compulim:feat-customizable-avatar
Feb 29, 2020
Merged

Customizable per-message avatar#2943
compulim merged 33 commits intomicrosoft:masterfrom
compulim:feat-customizable-avatar

Conversation

@compulim
Copy link
Copy Markdown
Contributor

@compulim compulim commented Feb 25, 2020

Fixes #2857. Fixes #2904. Fixes #2881.

Changelog Entry

Added

Fixed

Samples

Description

Added avatar middleware for per-message avatar.

Developers can bring in custom design of avatars of different size and shape, and overlaid on top of current design. The avatar can be retrieved from activity.channelData or by any other means.

Specific Changes

  • Added avatarMiddleware: false | () => React.Element to prop of <BasicWebChat>
  • Added sample to show avatar decoration and portrait image
  • Moved VSCode debugger from Chrome to Edge Elements

  • Testing Added

Comment thread CHANGELOG.md Outdated
Comment thread samples/05.custom-components/k.per-message-avatar/comprehensive.html Outdated
@compulim compulim linked an issue Feb 25, 2020 that may be closed by this pull request
@compulim compulim force-pushed the feat-customizable-avatar branch from 892bb78 to 3613240 Compare February 27, 2020 08:10
Comment thread .vscode/launch.json
Comment thread samples/05.custom-components/k.per-message-avatar/README.md
Comment thread packages/component/src/BasicWebChat.js
@compulim compulim force-pushed the feat-customizable-avatar branch from ae3a98f to 026813d Compare February 28, 2020 11:59
Comment thread samples/05.custom-components/k.per-message-avatar/README.md Outdated
Comment thread samples/05.custom-components/k.per-message-avatar/README.md Outdated
Comment thread samples/05.custom-components/k.per-message-avatar/index.html
Copy link
Copy Markdown
Contributor

@corinagum corinagum left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pending comments

@compulim compulim force-pushed the feat-customizable-avatar branch from 6b94920 to 8a663af Compare February 28, 2020 20:47
@compulim compulim force-pushed the feat-customizable-avatar branch from 8a663af to bed7fdf Compare February 28, 2020 22:37
@compulim compulim merged commit 0fbbb73 into microsoft:master Feb 29, 2020
@compulim compulim deleted the feat-customizable-avatar branch February 29, 2020 01:06
@compulim compulim mentioned this pull request Mar 5, 2020
40 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

RTL: Bubble nub with border radius Add more bubble nub tests [IC3] Per-message avatar

3 participants