Skip to content

Commit

Permalink
chore() update changelog and version
Browse files Browse the repository at this point in the history
  • Loading branch information
Jerome Houdan committed Sep 21, 2018
1 parent d504bc6 commit 51a8082
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 1 deletion.
21 changes: 21 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,24 @@
The first versioned release of the webchat.

Every breaking change, bug fix or improvement will be referenced here.

# Version 1.1.0 (Sept 08, 2018)

## Description

TL;DR: Improve the way buttons and quickReplies are handled by the webchat.

A button or a quickReply is composed of:

- a title, displayed in the webchat (ex: "Let's the show begin!")
- a value, sent to the Bot Connector when the button is clicked (ex: "RANDOM_BORING_INTERNAL_VALUE")

Previously, the value was sent as a text message, and appeared as such in the webchat as a reply from the user. This mean that when clicking on "Let's the show beging", a user message would appear in the webchat with the content "RANDOM_BORING_INTERNAL_VALUE".

Now, when clicking on a button, both the value and the title are sent. This way, the Bot Connector still receive the value, but the webchat can display the more user-friendly title.

# Version 1.1.1 (Sept 21, 2018)

## Description

Patch preventing the apparition of "null" in the webchat's input on Edge
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "webchat",
"version": "1.1.0",
"version": "1.1.1",
"description": "",
"main": "lib/index.js",
"scripts": {
Expand Down

0 comments on commit 51a8082

Please sign in to comment.