Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(channel-web): delete conversation #4289

Merged
merged 30 commits into from Dec 17, 2020

Conversation

laurentlp
Copy link
Contributor

@laurentlp laurentlp commented Dec 10, 2020

This PR adds the possibility of clearing the conversation of the channel-web module.

Related to this PR #4288

In order to clear the conversation, the current conversation messages are deleted from the database and cleared from the UI. If something is unclear feel free to comment on it!

If you want to test the changes follow the steps detailed in this PR #4288.

@laurentlp
Copy link
Contributor Author

@allardy @EFF The scope of this PR changed a little bit.

  • We now only delete the conversation messages since the agent may want to continue the conversation with the user after the history was cleared. For example, something like "Ok it has been cleared, is there anything else I can help you with".
  • The events will be cleared in another PR since it requires changes into the SDK and is out of the scope of this PR.

laurentlp and others added 4 commits December 16, 2020 16:44
* Draft

* Added ConfirmDialog component into ui-shared-lite

* Added transalations

* Added conversation deletion from channel-web

* Linting

* Linting

* Removed confirmDialog from ui-shared

* Changed button behaviour to only delete conversation

* Try importing blueprint css in channel-web

* Typo

* Duplicated confirmDialog. Lite version requires decline btn and  labels

* Fix
@laurentlp laurentlp changed the base branch from llp_hitl-delete-conversation to master December 17, 2020 20:34
@laurentlp laurentlp changed the title feat(channel-web): clear conversation feat(channel-web): delete conversation Dec 17, 2020
@laurentlp laurentlp merged commit 742e28e into master Dec 17, 2020
@laurentlp laurentlp deleted the llp_web-channel-delete-conversation branch December 17, 2020 21:36
@EFF EFF mentioned this pull request Jan 8, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants