lappis-unb / BotFlow

BotFlow - visual content manager for simple Rasa chatbots
GNU General Public License v3.0
30 stars 12 forks source link

Remove empty balloons when inserting/editing utters #144

Open rodmaia opened 3 years ago

rodmaia commented 3 years ago

When inserting or editing an utter you can have balloons that are completely empty or that only have a [space] character inside. These balloons should be:

A confirmation message should appear upon save saying "Balões vazios foram removidos".

With the exception of utters whose entire content is a single empty balloon. In that case, validation should continue preventing to save that utter.

Tasks

Acceptance criteria

FranciscoHeronildo commented 3 years ago

Working on a solution to this problem.

rodmaia commented 3 years ago

@FranciscoHeronildo assign the issue to yourself if you are working on it 😉

Let me know if you can expose your dev environment to the web. I’d like to test it to ensure the original idea on the issue makes sense.

Miguel-Alves commented 3 years ago

I have concluded this issue. Now, empty content is no longer saved or loaded to the database. And when saving or editing an utter, they are ignored by the front-end validation. Also, there is a confirmation message displayed to user stating this removal of empty content