microsoft / microsoft/AdaptiveCards

[Website] Need a way to stack items

Open
#8,801 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

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

Description

At the present time, 1.6, there is no way to stack items so creating something like a "badge" is not possible from what I can tell. The best I can do is a TableCell with a backgroundImage, but that doesn't support a size so I can't control the background image at all and I end up with something like this:

image

If backgroundImage supported a size or if the fillMode supported a "fit" then it would work. No matter what size I make the circle image it shows the same. Also, would be nice to have a "white" option for text color.

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 names no file, test, or renderer entry point. Start by locating the website's handling of TableCell backgroundImage, fillMode, and text color, then compare the requested stacking or sizing behavior with current Adaptive Cards 1.6 support. Done means a defined and tested way to create the requested badge-like composition.

Written by the indexing model from the issue text.

Assessment

Domain
frontend
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.