Skip to content

Ignore empty questions when inserting/editing intents #145

@rodmaia

Description

@rodmaia

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

  • ignored by the front-end validation
  • not saved to the database
  • removed from the utter if present upon loading

With the exception of intents whose entire content is a single empty text field. In that case, validation should continue preventing to save that intent.

Different from the utters, intents can continue to show the empty textfields on screen to stimulate people to add more question examples.

Tasks

  • TBD

Acceptance criteria

  • Empty question examples are not saved to the database
  • Empty question examples are not loaded from the database

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions