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

Grid possibility for adaptive cards #3720

Open
KbWorks opened this issue May 1, 2024 · 2 comments
Open

Grid possibility for adaptive cards #3720

KbWorks opened this issue May 1, 2024 · 2 comments
Labels
enhancement New feature or request

Comments

@KbWorks
Copy link

KbWorks commented May 1, 2024

I thought to use adaptive cards in a grid view so first I designed the card in the adaptive card website. The result was that all the cards were under each other instead of what I expected to be next to each other. Then I discussed this with Fabio Franzini and we both concluded that it is not possible at this moment.

So my request for the adaptive cards view would be the following:
Add the adaptive card designer of Fabio to the tooling he has got a great control.
and second I would like to see a toggle where I can select if I want adaptive cards to be responsive to the screen so they come next to each other instead of underneath each other.

I think the adaptive cards are a more simple way for most users to use when working with PnP modern search.

@fabiofranzini
Copy link
Contributor

I'm adding my two cents...
Currently, architecture dictates that the Adaptive Card definition is the one that defines the entire result display and not just the display of the individual item that is part of the result. This leads to the problem described above, which is the inability to have a responsive grid simply because Adaptive Cards do not support it. What would be needed, for rendering with Adaptive Cards, is the ability to define the template just for the individual result and then be able to select how to display all the results, i.e., as a list, as a grid, etc., etc. This would partially bypass the problem of complex layouts with Adaptive Cards in PnP Modern Search.

@kasperbolarsen
Copy link
Collaborator

Why does this sound familiar....like the Item and Control templates from classic search 🤔 I agree, that sounds like a good approach. Now, who can make that PR?

@wobba wobba added the enhancement New feature or request label May 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

4 participants