AdaptiveCards icon indicating copy to clipboard operation
AdaptiveCards copied to clipboard

[Feature Request] Action.ToggleVisibility -> Expander Control

Open JeanRoca opened this issue 2 years ago • 2 comments

Using this issue to track work required to deprecate Action.ToggleVisibility and implement an expander control that meets A11y requirements.

Related issue #7011

Please feel free to comment on how you currently use Action.ToggleVisibility and what you would like to see implemented in the new control :)

I will be updating this issue as we obtain feedback and gather requirements.

JeanRoca avatar Jul 14 '22 15:07 JeanRoca

I stumbled over the deprecation of Action.ToggleVisibility and wanted to share our use case of this feature.

We use Action.ToggleVisibility in a similar way as in the Expense Card use case on madewithcards.io (https://madewithcards.io/cards/expense-card). We use it to show or hide a table of details in our AdaptiveCard which is displayed either in Teams or in a web viewer.

MarkusWeiss-Ehlers avatar May 12 '23 07:05 MarkusWeiss-Ehlers

I came from https://github.com/microsoft/AdaptiveCards/issues/8765 via the deprecation video blog (great idea on how to communicate the change and reasoning behind it and to improve user feedback).

My use case is using an Incoming Webhook to post an AdaptiveCard to Teams with an alert from DataBricks Jobs with failures or partial failures. The plan was to format this nicely to give high level information on which notebook/job has the issue. The dropdown/toggle was to contain the stack trace. Clearly this could be very long - hence the need to hide it initially.

joshdunnlime avatar Dec 06 '23 21:12 joshdunnlime