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

Note Actions display limit #161

Open
atc0005 opened this issue Apr 9, 2022 · 1 comment
Open

Note Actions display limit #161

atc0005 opened this issue Apr 9, 2022 · 1 comment
Labels
documentation Improvements or additions to documentation
Milestone

Comments

@atc0005
Copy link
Owner

atc0005 commented Apr 9, 2022

The Adaptive Card format supports specifying actions within an array of actions directly on a Card or within an ActionSet. Unlike the legacy MessageCard type which has a clearly documented limit of 4 actions, the specific actions limit for an Adaptive Card does not appear to be explicitly documented.

Light research and testing shows an observable limit:

  • fixed display limit of 6 within web and desktop apps
  • initial display limit of 6 within mobile app with the option to expand remaining actions as a list

Per Gousia Begum there is a workaround however:

  1. use a maximum of 6 actions per Card actions array
  2. use multiple ActionSets per Card with up to 6 actions per set

I've had success with option 2.

References:

@atc0005 atc0005 added the documentation Improvements or additions to documentation label Apr 9, 2022
@atc0005 atc0005 added this to the Future milestone Apr 9, 2022
@atc0005
Copy link
Owner Author

atc0005 commented Apr 9, 2022

Creating a function named NewActionSetsFromActions to respect the current known limit of 6 actions per ActionSet or Card and create as many ActionSet elements as needed. Seems to work well in testing.

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

No branches or pull requests

1 participant