-
Notifications
You must be signed in to change notification settings - Fork 479
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 new HeroCard prompt style for ChoicePrompt as per #1170 #1339
Conversation
… This is to provide support (other than plain text) for channels that do not support suggested actions, such as Teams.
@garypretty - Looks like a great PR! I looked at the code and saw that |
@v-kydela I am having a discussion over on the Virtual Assistant / Enterprise Template repo at the moment about this and I think it probably makes sense to include it in this PR. I will try to get an update in shortly. Would be great to get this in as I think it is also blocking some work over there. cc. @darrenj |
…support SuggestedActions but do have a message feed (right now this appears to just be Teams).
@v-kydela I have updated this PR with a change to ChoiceFactory.ForChannel to catch the Teams / Cortana scenario (supports cards but not suggested actions) and to use HeroCard in this instance. @darrenj @lauren-mills Hopefully this will help resolve your issue (https://github.com/Microsoft/AI/issues/654) too. |
@cleemullins This is currently tagged up for 4.4 in #1170 but it seems getting this in sooner will help unblock some customers and blocking issues over on the VA / ent template side too. |
…to use HeroCard style.
Agreed here is an example blocking work with a key customer and we've had a lot of feedback about the fidelity of our teams support especially as we push into enterprise scenarios. |
I'm fine with this change, although I have high-level checks to make first:
|
We've got standup scheduled at 1pm today and I'll get closure from @Stevenic then. @garypretty If you would like to join us via Teams, drop me an email. |
@cleemullins I have raised the issue on the JS side as requested. microsoft/botbuilder-js#736. Also dropped you a note re. the standup. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
JS Tracking bug here: microsoft/botbuilder-js#737 |
I agree that this is a semi-major issue with a relatively simple fix. Thanks for doing the C# side @garypretty |
If I may nitpick a bit, I noticed that the introduction of hero cards into I actually think it would be more logical to order them from least preferable to most, and that would be list, inline, hero card, suggested actions. That way the first line could just be |
@v-kydela good point - nothing wrong with nitpicking 👍 |
* Add end_on_invalid_message and fix timeout issue * fixing pylint Co-authored-by: Axel Suarez <axsuarez@microsoft.com>
Fixes: #1170 #1335 #1173
This is to provide support (other than plain text) for channels that do not support suggested actions, such as Teams. Test added.