• Resolved Ambyomoron

    (@josiah-s-carberry)


    It might be nice to position the “Clear” command in an always visible position in the window so that the user does not have to scroll all the up to the top of the dialog to clear it.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter Ambyomoron

    (@josiah-s-carberry)

    Is there a way a context variable can be reset immediately after a response is given? Here is a case:
    The visitor ask for info about a general subject.
    The dialog uses slots to capture more detail: “Which are you interested in: A, B or C?
    The visitor types “A” and gets the appropriate response.
    The visitor then types “What about B”. The visitor still gets the response for A, because the corresponding context variable has already been set.

    Plugin Author acangiano

    (@acangiano)

    Thank you for your feedback, Josiah. I agree that it would be nice to have the clear button readily available. Our main developer, Hasan, will take a look at that.

    Regarding your second question, you could have a “cleanup” node after the node containing your slots, that you jump to after responding.

    Within this cleanup node, you can clear context variables of your choice by setting them to null or deleting them altogether with context.remove() (see docs).

    Best,
    Antonio

    Thread Starter Ambyomoron

    (@josiah-s-carberry)

    Thanks for moving the context cleanup icon to the header. This makes it easier for the user. I wonder, though, if a trash can gives the right idea of what happens. It gives the impression that the data is simply deleted, which is not entirely the case, as it is visible in the back end, no?

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Position of “clear”’ is closed to new replies.