microsoft / microsoft/AdaptiveCards

[Designer] (November 2023) "Open Link" & "Copy Link" context menu items are missing from New Microsoft Teams

Open
#8,738 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Area-Designer Bug
Dominant language
C#
Stars
2k
Forks
595
Avg merge
1d 19h
Merged PRs (30d)
1

Description

Problem Description

One step forward and 2 steps back — in previous versions of Microsoft Teams (seen in Version 1.6.00.29964 (64-bit)), when you right-click a link, the context menu shows Open Link and Copy Link. This is now overwritten by the actual main card's context menu:

2023-11-07_ms-teams-adaptive-card-links-context-menu

This mean hyperlinks and email addresses within an Adaptive Card cannot be copied.

Do you guys do any regression testing at Microsoft?
Card JSON
{
  "type": "message",
  "attachments": [
    {
      "contentType": "application/vnd.microsoft.card.adaptive",
      "contentUrl": null,
      "content": {
        "type": "AdaptiveCard",
        "$schema": "http://adaptivecards.io/schemas/adaptive-card.json",
        "version": "1.0",
        "padding": "None",
        "msTeams": {
          "width": "full"
        },
        "body": [
          {
            "type": "Container",
            "padding": "Default",
            "spacing": "None",
            "style": "default",
            "items": [
              {
                "type": "TextBlock",
                "text": "Main Heading",
                "color": "good",
                "spacing": "Small",
                "wrap": "true",
                "weight": "Bolder",
                "size": "Small"
              },
              {
                "type": "FactSet",
                "facts": [
                  {
                    "title": "Line 1",
                    "value": "{{Redacted}}"
                  },
                  {
                    "title": "Line 2",
                    "value": "{{Redacted}}"
                  },
                  {
                    "title": "Line 3",
                    "value": "{{Redacted}}"
                  }
                ]
              },
              {
                "type": "TextBlock",
                "text": "[View on {{Redacted}}](https://www.google.com/)",
                "wrap": true
              }
            ]
          }
        ]
      }
    }
  ]
}
Screenshot

No response

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

Start by reproducing the provided Adaptive Card JSON in the New Microsoft Teams client and compare its link context menu with the earlier Teams version described. Trace the relevant Adaptive Cards renderer entry point; done means hyperlinks and email addresses expose working “Open Link” and “Copy Link” actions without replacing the card menu.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp
Domain
frontend
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.