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

Display avatar on bot side #882

Closed
kesuke17 opened this issue Mar 7, 2018 · 5 comments
Closed

Display avatar on bot side #882

kesuke17 opened this issue Mar 7, 2018 · 5 comments
Labels
front-burner p1 Painful if we don't fix, won't block releasing Sample Implement PoC or sample code size-s 1 days or less

Comments

@kesuke17
Copy link

kesuke17 commented Mar 7, 2018

I tested it as botchat.css as follows, but an icon is displayed on both the bot side and the user side.


.wc-message.wc-message-from-bot::before {
content: url(xxxxxxxxxxxx.png);
float:left;
}

Please let me know how to display the icon only on the bot side.

(google translate)

@compulim compulim changed the title I want to display icon only on the bot side Display avatar on bot side Jun 18, 2018
@shikelong
Copy link

+1

@compulim compulim added ask and removed ask labels Oct 23, 2018
@sgellock sgellock removed the ask label Oct 23, 2018
@compulim
Copy link
Contributor

We currently only support initials for bot avatar without deep customization. We need a sample, and that would probably involve modifying production code a bit to make the sample intuitive enough.

@compulim compulim added front-burner 4.3 p1 Painful if we don't fix, won't block releasing Sample Implement PoC or sample code labels Nov 29, 2018
@compulim compulim added the size-s 1 days or less label Dec 8, 2018
@compulim
Copy link
Contributor

The work is done in PR #1486.

You can specify either/both bot/user side as initials and/or image.

@compulim
Copy link
Contributor

The PR is being merged and it will be resolved by @4.2.1-master.d35a7ac and >= @4.2.1.

@YeisonsUarez
Copy link

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
front-burner p1 Painful if we don't fix, won't block releasing Sample Implement PoC or sample code size-s 1 days or less
Projects
None yet
Development

No branches or pull requests

5 participants