-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add chat send history sample (#1678)
* add chat send history sample * update changelog * do not step through history when use has modified input * move samples to correct place in changelog
- Loading branch information
1 parent
bd3c22c
commit ba2a382
Showing
16 changed files
with
17,171 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
# See https://help.github.com/ignore-files/ for more about ignoring files. | ||
|
||
# dependencies | ||
/node_modules | ||
|
||
# testing | ||
/coverage | ||
|
||
# production | ||
/build | ||
|
||
# misc | ||
.DS_Store | ||
.env.local | ||
.env.development.local | ||
.env.test.local | ||
.env.production.local | ||
|
||
npm-debug.log* | ||
yarn-debug.log* | ||
yarn-error.log* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
# Chat Send History | ||
|
||
This sample shows how to implement a chat history that can be accessed by using the arrow keys when the | ||
sendbox input has focus. It aims to give an experience similar to a terminal history. | ||
|
||
> _Note: This is just a proof of concept thus should not be used in production | ||
> and lacks performance and security considerations._ | ||
# Test out the hosted sample | ||
|
||
- [Try out with MockBot](https://microsoft.github.io/BotFramework-WebChat/17.chat-send-history) | ||
|
||
# Things to try out | ||
|
||
- Send some messages to the bot. | ||
- Use the up and down arrow keys to cycle through the send history. | ||
- Modify an entry in the history, this creates a new entry. | ||
|
||
# Other ideas | ||
|
||
- Autocomplete using history | ||
- Search through history | ||
|
||
## Full list of Web Chat hosted samples | ||
|
||
View the list of available samples by clicking [here](https://github.com/Microsoft/BotFramework-WebChat/tree/master/samples) |
Oops, something went wrong.