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

Bugfix splitting of multiline messages containing buttons #11131

Merged
merged 12 commits into from
Jun 29, 2022
Merged

Bugfix splitting of multiline messages containing buttons #11131

merged 12 commits into from
Jun 29, 2022

Conversation

mrkaaa
Copy link
Contributor

@mrkaaa mrkaaa commented May 19, 2022

Proposed changes:
Currently multiline messages don't get split into separate messages on two newlines if they contain buttons. And this seems to be a bug.
The change proposed is to split a message on separate messages on two newlines and include buttons with the last of them.

Some discussion on this problem I found here: #4895

Status (please check what you already did):

  • added some tests for the functionality
  • updated the documentation
  • updated the changelog (please check changelog for instructions)
  • reformat files using black (please check Readme for instructions)

@CLAassistant
Copy link

CLAassistant commented May 19, 2022

CLA assistant check
All committers have signed the CLA.

@mrkaaa
Copy link
Contributor Author

mrkaaa commented May 23, 2022

Not sure whether I need to change anything in documentation.

@mrkaaa
Copy link
Contributor Author

mrkaaa commented May 24, 2022

@ancalita could you please have a look?
It seems like there is a flaky test in CI as it was successful once though I didn't change anything that could cause it fail.

Copy link
Contributor

@losterloh losterloh left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good 🚀 I left two small nits that I suggest changing. Thanks for pointing out the flaky CI, something we need to look into, for now I'll re-trigger that CI job.

rasa/core/channels/channel.py Outdated Show resolved Hide resolved
rasa/core/channels/channel.py Outdated Show resolved Hide resolved
@losterloh losterloh merged commit b155a4e into RasaHQ:2.8.x Jun 29, 2022
@mrkaaa mrkaaa deleted the bugfix/fix-message-with-buttons-split branch July 5, 2022 13:43
@anaszil
Copy link

anaszil commented Jun 10, 2024

I am working with RASA 3.6.14, and I just discovered that this bugfix is no longer in the code. Is there any reason for this ?
Thank you.

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

4 participants