microsoft / microsoft/AdaptiveCards

[Feature Request] Support CodeBlock in adaptive cards from mobile app teams

Open
#9,072 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Request
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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.