botpress / studio

The studio is the main interface you'll use to build and edit your chatbot.
https://botpress.com/docs/quickstart#conversation-studio
39 stars 38 forks source link

fix(nlu): allow copy paste utterances #171

Closed franklevasseur closed 3 years ago

franklevasseur commented 3 years ago

Closes: DEV-1392 Fixes: https://github.com/botpress/v12/issues/1390

This fix made me wanna stop coding and start a career as a lumberjack. Slate is a mess.

Here's the result:

https://user-images.githubusercontent.com/25970722/139730178-f710396f-b86e-4570-84fa-99dc2c232ffe.mov

linear[bot] commented 3 years ago
DEV-1392 [BUG]: Cannot copy paste utterances from one intent to another (botpress/botpress botpress/v12#1390)

**Describe the bug** When copying utterances from one intent to another the UI disapear and screen become full white. **To Reproduce** Steps to reproduce the behavior: 1. Go to NLU intents 2. Create an intent A and fill utterances 3. Create a new empty intent B 4. Select utterances from intent A : Copy utterances and paste them in intent B **Expected behavior** Copy paste the utterances **Screenshots** https://www.awesomescreenshot.com/video/4334778?key=c87839ab1abdd9870d523656b69021c5 **Environment (please complete the following information):** - OS: Linux - Browser : Firefox - Browser Version: 89.0.2 - Botpress Version : 12.22.2 - Botpress Studio : 0.0.22 - Botpress NLU : 0.1.2 - NodeJS : 12.13.0 Note that copying first to a text editor and then pasting in botpress works. I suspect slots to be copied in a weird format.