microsoft / AdaptiveCards

A new way for developers to exchange card content in a common and consistent way.
https://adaptivecards.io
MIT License
1.74k stars 543 forks source link

[Javascript] Enhance adaptivecards-fabric library by supporting fluent ui elements #5108

Open atishayv opened 3 years ago

atishayv commented 3 years ago

What platform is your feature request related to? (Delete other platforms).

Is your feature request related to a problem? Please describe. We are using adaptive card to display search results in Microsoft search. However some of our search results is displayed with extensive UI containing few elements like breadcrumb :

We want to render these search results using adaptive card. However with the current set of elements supported by adaptive card, it is quite difficult to match the existing design.

Describe the solution you'd like We are using fluent ui(fabric) elements to render these search results. And we want to know if all the fluent ui elements can be supported by adaptive card. There is already an existing package in adaptive card library called adaptivecards-fabric which supports all the input type adaptive card elements. We wanted to explore the possibility if the same package can be extended to support other elements of fabric or if possible can we create a separate package for these components.

I know that these custom elements will be only supported by javascript platform and not in other platforms as the fabric library itself is not same for all platforms, but again adaptivecards-fabric package was built only for JS platform (Although I might be wrong here).

Additional context We tried to do a POC to validate if this idea is even possible and it turned out to be easily integrable. Below is the details of POC

POC

atishayv commented 3 years ago

@jaisanth

atishayv commented 3 years ago

@dclaux , @matthidinger Gentle ping on this