microsoft / microsoft/AdaptiveCards
[Designer] Issue in "https://adaptivecards.io/designer" website
Nobody has claimed this yet.
- Dominant language
- C#
- Stars
- 2k
- Forks
- 595
- Avg merge
- 1d 19h
- Merged PRs (30d)
- 1
Description
Problem Description
Details:
Hi Team,
While working on to the Adaptive Crds's designer website, I encountered an issue where when I create a design via using platform UI there were places in the Adaptive Card's code where data/property of fields are been added in Headline case, which is giving a warning in VS code.
Expected behavior
NA
Actual behavior
NA
Error details
No response
Card JSON
{
"$schema": "http://adaptivecards.io/schemas/adaptive-card.json",
"type": "AdaptiveCard",
"version": "1.3",
"body": [
{
"type": "ColumnSet",
"columns": [
{
"type": "Column",
"width": "20px",
"minHeight": "0px",
"verticalContentAlignment": "Bottom",
"items": [
{
"type": "TextBlock",
"text": "$",
"spacing": "None", // Issue Here
"wrap": true,
"maxLines": 0,
"horizontalAlignment": "Center", // Issue Here
"weight": "Bolder", // Issue Here
"size": "Large" // Issue Here
}
],
"horizontalAlignment": "Center",
"spacing": "None" // Issue Here
},
{
"type": "Column",
"width": "stretch",
"items": [
{
"type": "Input.Number",
"id": "number",
"placeholder": "Enter a number",
"label": "Enter a number",
"min": 1,
"max": 1,
"value": 3,
"spacing": "None", // Issue Here
"isRequired": true,
"errorMessage": "please enter the quantity"
}
]
}
],
"spacing": "None", // Issue Here
"horizontalAlignment": "Center",
"style": "default"
}
],
"actions": [
{
"type": "Action.Submit",
"title": "Action.Submit"
}
]
}
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 issue at https://adaptivecards.io/designer using the provided card JSON, then trace how the designer serializes properties such as spacing, horizontalAlignment, weight, and size. Done means generated card JSON uses the expected property casing and no longer produces the reported VS Code warnings.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- json, vscode
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 30/100