LucasBassetti/react-simple-chatbot

Clear all steps #193

Opened this issue · 0 comments

Describe the bug
I want to clear all steps in mid-conversation if a user has selected a particular option. Since the conversation is private.

To Reproduce
Simply use the chatbot application and select a particular option that I have programmed.
Expected behavior
I want the conversation history to be erased. e.g. previous messages and selections wiped. Without the user having to press a clear screen button.
It's the end of the conversation, I just need to reset the screen.
I have tried to push the messages off the screen with new messages but this is not a good solution.

Screenshots
If applicable, add screenshots to help explain your problem.

image

Desktop (please complete the following information):

  • OS: [e.g. iOS]
  • Browser [e.g. chrome, safari]
  • Version [e.g. 22]

Additional context
Add any other context about the problem here.