botpress / modules

MOVING TO BOTPRESS/BOTPRESS, branch `develop/x`, folder "packages"
GNU Affero General Public License v3.0
23 stars 29 forks source link

Skill choice depends on content not plain text #14

Closed epaminond closed 6 years ago

epaminond commented 6 years ago

Depends on https://github.com/botpress/botpress/pull/524 NOT READY FOR MERGE YET

It currently looks like this: Note, that red text-area only gets displayed if user has saved plain-text not content-item (so that he can create content-item based on it).

@slvnperron , I've made selecting content-items work for question and "invalid answer", but not ready with choices yet. Could you review whether overall approach makes sense? As for choices, not sure how to implement it in terms of UI/UX:

  1. It won't work on enter as it is now. So it looks I'll need an "Add" button, right?
  2. Will user be able to select different content-items for existing choices, or will he need to delete them and add new ones?
  3. Will we need to generate keywords based on all the translations not just one? Will user be able to edit them in the same way as he is able now?
slvnperron commented 6 years ago

That looks great! The other PR makes sense to me now.

  1. Yes, Add button instead of the current Input + Enter
  2. Delete yes
  3. Keywords mechanism remain the same