microsoft / microsoft/AdaptiveCards
[Designer] (November 2023) "Open Link" & "Copy Link" context menu items are missing from New Microsoft Teams
Nobody has claimed this yet.
- 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:
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
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
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