microsoft / microsoft/AdaptiveCards
[Feature Request] Support CodeBlock in adaptive cards from mobile app teams
Nobody has claimed this yet.
- Dominant language
- C#
- Stars
- 2k
- Forks
- 595
- Avg merge
- 1d 19h
- Merged PRs (30d)
- 1
Description
Problem Statement
We started using adaptive cards for our alerts that are sent to teams. Those alerts will contain exceptions or an object in a CodeBlock as they can be large so the CodeBlock ends up being a nice container (and make it very readable).
However, as documented CodeBlock does not work the mobile app. So this is a request to get that supported. It seems like CodeBlock works for a standard message on teams mobile, so the limitation doesn't seem unsolvable.
Proposed solution
Support CodeBlock in adaptive cards for mobile teams app.
Alternatives or Workarounds
If someone has a clever workaround to use the existing features in adaptive cards in meantime that would be appreciated. I haven't determined anything yet.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
The issue does not name files, tests, or entry points. Start by tracing how adaptive cards and CodeBlock are handled in the Teams mobile apps, then compare that path with CodeBlock in standard mobile messages. Done means CodeBlock content renders correctly in adaptive cards on the mobile apps.
Written by the indexing model from the issue text.
Assessment
- Domain
- mobile
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 30/100