AdaptiveCards icon indicating copy to clipboard operation
AdaptiveCards copied to clipboard

Add support for expanding/collapsing a card by clicking "See all"/" See lees"

Open BernardoAMunoz opened this issue 9 years ago • 5 comments

The card should be able to

  1. Render markup (html), a. Data coming from Toronto are in HTML format with the mix of text, url links (and probably images) b. The adaptive card treats text and url as separate control.
  2. Support url link callback and other user action callback (for telemetry)
  3. Support hide/show some parts of the content for See More/Less.

The schema for AdaptiveCard would something like

{ "$schema": "http://adaptivecards.io/schemas/adaptive-card.json", "type": "AdaptiveCard", "version": "1.0", "body": [ { "type": "HtmlBlock", "html": "html with

,

, , ,

    , etc" }, { "type": "HtmlBlock-second", /* this is the block for See more/less, it may be defined in Action.ShowHide as a separate card. / "html": "html with
    ,

    , , ,

      , , etc" }, ], "actions": [ { "type": "Action.ShowHide", "title-show": "See More", / Click to show the "HtmlBlock-second" defined above "title-hide": "See Less", } ] }

      BernardoAMunoz avatar Oct 03 '17 16:10 BernardoAMunoz

    Adding sample images

    image image

    BernardoAMunoz avatar Oct 04 '17 17:10 BernardoAMunoz

    Have you heard of any progress on this?

    Nasby avatar Feb 26 '18 18:02 Nasby

    Vote for this! 👍 Hope to see soon 😄

    levotragiang avatar Sep 19 '18 08:09 levotragiang

    Hi there, we have another feature proposal similar to this but more generic: Support dynamically showing/hiding a portion of a card after user interaction

    dclaux avatar Sep 19 '18 16:09 dclaux

    This scenario is now supported by ToggleVisibility as linked above.

    RebeccaAnne avatar Jul 24 '20 21:07 RebeccaAnne