microsoft / microsoft/AdaptiveCards

[Designer] Capitalization of property values inconsistent

Open
#5,566 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

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

Description

Setting property values with ELEMENT PROPERTIES will (usually?) capitalize the value. For some properties in certain contexts, the capitalized value is marked with a warning in the CARD PAYLOAD EDITOR.

I've not been able to establish consistent circumstances but a simple example is below.

New Card => Flight Itinerary
Microsoft Teams - Light
v1.2

Changing the value in the EDITOR to lowercase satisfies the warning temporarily but it will revert at some point after making changes.

image

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 in the CARD PAYLOAD EDITOR and reproduce the New Card => Flight Itinerary example using ELEMENT PROPERTIES. Compare the capitalization, warning, and value reversion after edits; done means property values remain consistent and do not trigger an incorrect warning.

Written by the indexing model from the issue text.

Assessment

Domain
design
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.