-
Notifications
You must be signed in to change notification settings - Fork 561
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
Fallback and requires properties on elements #2019
Labels
Comments
This was referenced Oct 11, 2018
This was referenced Feb 21, 2019
Closing as this was done in 1.2 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
✔️ Android (#2419)
✔️ iOS (#2420)
✔️ TS (#2421)
✔️ UWP (#2125)
🔄 Designer (#2502)
Solves requests
Summary
Add a
fallback
andrequires
property to all elementsSchema
New properties on all elements
"drop"
or AdaptiveElement<feature, version>
, where the version number uses NuGet package manager version syntax to allow specifying min/max/etcNew properties on all actions (only difference is the allowed fallback object type of Action rather than Element)
"drop"
or AdaptiveAction<feature, version>
, where the version number uses NuGet package manager version syntax to allow specifying min/max/etcExample
Alternative media content
Drop a group of dependent content
The text doesn't make sense without the graph, so we want all of this to be dropped together.
On the entire container, the author specifies
"fallback": "drop"
.When the child
Graph
fails to render, since it doesn't have a fallback of its own, the error will be bubbled up to the parent container, where the error will be caught by the fallback the author specified.Alternate content for a group of dependent content
If the graph isn't supported, both the graph and the text need to change.
Since the child must be rendered (but cannot), the container will display its fallback.
Require AAD sign on token and at least Adaptive version 1.2
If either AAD sign on or Adaptive Card 1.2 isn't supported, the fallback will be employed.
Version numbers use NuGet package manager version string syntax.
Host Config
None.
Down-level impact
No change from today.
Host burden
None.
Auto-generated task status
The text was updated successfully, but these errors were encountered: