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

Can't set userAvatarBackgroundColor #2430

Closed
arman-g opened this issue Sep 27, 2019 · 2 comments
Closed

Can't set userAvatarBackgroundColor #2430

arman-g opened this issue Sep 27, 2019 · 2 comments
Assignees
Labels
Bot Services Required for internal Azure reporting. Do not delete. Do not change color. customer-replied-to Required for internal reporting. Do not delete. customer-reported Required for internal Azure reporting. Do not delete.

Comments

@arman-g
Copy link

arman-g commented Sep 27, 2019

The userAvatarBackgroundColor is not reflecting to the set color. It stays blue. The same is true for bot avatar background color.
Using CDN: https://cdn.botframework.com/botframework-webchat/latest/webchat.js

Capture
`styleOptions: {

  botAvatarImage: "https://static.crozdesk.com/web_app_library/providers/logos/000/003/155/original/chatbots-builder-1510149769-logo.png?1510149769",
  botAvatarInitials: "BF",
  botAvatarBackgroundColor: "#17a2b8",
  bubbleBackground: "#F0F0F0",
  bubbleTextColor: "Black",
  bubbleBorderRadius: 10,

  bubbleFromUserBorderRadius: 10,
  bubbleFromUserBackground: "#6699FF",
  bubbleFromUserTextColor: "White",
  userAvatarBackgroundColor: "#19194d",
  userAvatarInitials: "You",
  //userAvatarImage: "https://github.com/compulim.png?size=64",
}`
@tdurnford
Copy link
Contributor

The userAvatarBackgroundColor style option was adding in PR #2384 which will be include in our v4.6 release towards the end of October. If you need an immediate solution, please take a look at our documentation on using the Latest Bits.

@tdurnford tdurnford added Bot Services Required for internal Azure reporting. Do not delete. Do not change color. customer-replied-to Required for internal reporting. Do not delete. customer-reported Required for internal Azure reporting. Do not delete. labels Sep 27, 2019
@tdurnford tdurnford self-assigned this Sep 27, 2019
@arman-g
Copy link
Author

arman-g commented Sep 27, 2019

Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bot Services Required for internal Azure reporting. Do not delete. Do not change color. customer-replied-to Required for internal reporting. Do not delete. customer-reported Required for internal Azure reporting. Do not delete.
Projects
None yet
Development

No branches or pull requests

2 participants