Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
BernardoAMunoz opened this issue Oct 3, 2017 · 5 comments

Comments

@BernardoAMunoz
Copy link

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
Copy link
Author

Adding sample images

image
image

@Nasby
Copy link

Nasby commented Feb 26, 2018

Have you heard of any progress on this?

@levotragiang
Copy link

Vote for this! 👍
Hope to see soon 😄

@dclaux
Copy link
Member

dclaux commented Sep 19, 2018

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

@RebeccaAnne
Copy link
Contributor

This scenario is now supported by ToggleVisibility as linked above.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

6 participants