botpress / studio

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

fix(studio): prevent skills folder with casing #238

Closed allardy closed 2 years ago

allardy commented 2 years ago

When fixing DEV-1425, forgot to handle all possible casings for the skills folder.

linear[bot] commented 2 years ago
DEV-1425 [BUG] Flow Editor - Skills folder is nowhere! (botpress/studio #43)

It does not seem possible to create the "skills" folder to add subflows in it. No error messages are given to the user. Note: there is a skill (singular) folder. Here I am trying to create a skills (plural) folder. ![studi](https://user-images.githubusercontent.com/59566773/128259916-a9ac7616-8693-431e-b925-f61a24bf5167.gif) Note, the subflow is actually being created in the skills folder when viewing through the advanced code editor ![image](https://user-images.githubusercontent.com/59566773/128260000-6e048b97-9248-45b2-9d0a-277f4de0b76c.png) I guess the skills folder is botpress reserved word. In which case we should display an error to the user to allow them to type in a new name.