microsoft / BotFramework-Composer

Dialog creation and management for Microsoft Bot Framework Applications
https://docs.microsoft.com/en-us/composer/
MIT License
869 stars 369 forks source link

Allow Repeating Chat Input from History (Similar to History in CL/Terminal) #8200

Open tohoku opened 3 years ago

tohoku commented 3 years ago

Inside the "Web Chat" window in Bot Framework Composer, it gets a bit tedious to retype text for testing purposes.

Describe the solution you'd like

In the "Type your message" input field within the "Web Chat" window, it should be possible to use the Up and Down Arrow keys to cycle through the history of previously written input.

It should also be possible to use Ctrl + A to select all text within the input field and Ctrl + V to paste text into the same field.

Describe alternatives you've considered

N/A

Additional context

Bot Framework Composer 2.0.0 macOS 11.4 (Big Sur)

Screen-Shot-2021-06-28-at-12 29 50|50%,50%

srinaath commented 3 years ago

@garypretty Webchat actually support this as shown in the sample. https://github.com/microsoft/BotFramework-WebChat/tree/main/samples/04.api/g.chat-send-history. Getting it to your vision to get a priority on it.

tohoku commented 3 years ago

@srinaath @garypretty Thank you for considering this. It would be easier to select from history, as during development you tend to type the same input over and over again.