Releases: sevenleaps/chat-template
Releases · sevenleaps/chat-template
Scrollable chat
🚀 New Feature:
- Made the conversation scrollable (Paul.O'Flaherty)
This is a temporary fix and is only currently supported with a mousewheel
How to use:
- Add a
isScrollable
to the Chat component
<div>
<Chat historicMessages={historicMessages} messages={messagesForConversation} turnOffLoop isScrollable />
</div>
🐛 Bug Fixes:
- Fixed #17: Showing some messages twice (Paul.O'Flaherty)
Allow changing styles from Chat component
🐛 Bug Fixes:
- Fixed #11 : Allow changing styles from Chat component. (Paul.O'Flaherty)
Version 0.0.24
🚀 New Feature:
- A user can now have historic messages appear when they start the conversation. (Paul.O'Flaherty)
Here is an example:
const messages = [{
message: 'New Message',
inbound: false,
backColor: '#dcf8c6',
duration: 800,
}];
const historicMessages = [{
message: 'Old Message',
inbound: true,
backColor: 'white',
duration: 1000,
}];
<Conversation historicMessages={historicMessages} messages={messages} />
🐛 Bug Fixes:
- Fixed #6: When new messages are added to the queue, they now display. This only supports adding, not removing messages from the chat. Check the new
Chat
section in storybook examples. (Paul.O'Flaherty)
Adding feature to persist messages
0.0.23 Creating a tagged release
V 0.0.20
[0.0.20] - 2016-04-28
- No Issue: Adding bundeled js files to the repository (witnessmenow)
V 0.0.19
[0.0.19] - 2016-04-28
- No Issue: Adding a bundle-js build step to create browser compatible chat-template.js (witnessmenow)