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

Added required text to card action type messageBack #3003

Merged
merged 9 commits into from
Apr 1, 2020
Merged

Added required text to card action type messageBack #3003

merged 9 commits into from
Apr 1, 2020

Conversation

geea-develop
Copy link
Contributor

Fixes #2933

Changelog Entry

Description

when triggering card action type Messageback you have to send text property. otherwise the activity is not displayed in the webchat.
please see sendMessageback.

Specific Changes

update file
packages/bundle/src/adaptiveCards/Attachment/AdaptiveCardRenderer.js
in method handleExecuteAction
added text to be extracted from card action and forwarded to onCardAction > CardActionMiddleware > sendMessageback


@compulim
Copy link
Contributor

Can you add a test for this one?

@geea-develop
Copy link
Contributor Author

I would but it would fail since your mock bot doesnt send the messageBack activity with text. Do you still want me to add it?

@compulim
Copy link
Contributor

I will add the test for you and finish the PR soon.

@compulim
Copy link
Contributor

Can you grant me edit write to your fork?

@compulim
Copy link
Contributor

compulim commented Apr 1, 2020

I am working on this right now. Hope to merge it sooner within a few hours.

@compulim compulim merged commit 15d89bd into microsoft:master Apr 1, 2020
@compulim compulim deleted the origin/microsoft-master branch April 1, 2020 19:05
@compulim
Copy link
Contributor

compulim commented Apr 1, 2020

@geea-develop thanks for your contribution, I have merged your PR.

Feel free to remove me from your project if you want some privacy on your work.

Next time, you can check the box to allow collaborators to edit your branch, so all of us can help out. 😉

@geea-develop
Copy link
Contributor Author

Thanks @compulim !

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.

Issue with hero card template and message back action - missing display text in chat
2 participants