filipdanic / filipdanic/react-botkit

Including names and avatars in chat.

Open
#1 0 comments 0 reactions 0 assignees View on GitHub
help wanted
Dominant language
JavaScript
Stars
3
Forks
0
PR merge metrics
No merged PRs in 30d

Description

A lot of services have user avatars and names present inside of the chat.

Messenger, for example, has this thing where you see the avatars on the right, but not your own.

![fb example](http://spicefactory.co/img/blog/bots/sava-optimistic-ui.png)

Ideally, this should be 100% customizable via the authors object. We’d add two new props:

```
export const Author = PropTypes.shape({
// ...
authorName: PropType.string,
authorImage: PropType.string,
});

```

And then use those settings inside of `` component to render an extra image. The hardest part about this is getting the CSS right and making it easy for it to override.

Any takers? I’ll gladly help anyone willing to tackle this.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.