Implement Terminate a flow for a contact and clear conversation for a contact
Summary:
The PR adds a functionality to terminate all the existing flows for a contact. It also adds the functionality of clearing a conversation.
It uses the same popup modal as the UI component displaying different headers and descriptions on the basis of a task prop.
It uses the TERMINATE_FLOW and CLEAR_MESSAGES mutations. If the flow is successfully terminated or the messages are cleared, there is a toast message accordingly.
Implement Terminate a flow for a contact and clear conversation for a contact
Summary: The PR adds a functionality to terminate all the existing flows for a contact. It also adds the functionality of clearing a conversation. It uses the same popup modal as the UI component displaying different headers and descriptions on the basis of a
task
prop. It uses theTERMINATE_FLOW
andCLEAR_MESSAGES
mutations. If the flow is successfully terminated or the messages are cleared, there is a toast message accordingly.Issues: Solves #103 & #104