AdaptiveCards
AdaptiveCards copied to clipboard
[Feature Request] Action.ToggleVisibility -> Expander Control
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.
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.
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.