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

Carousel component - Support for embedding other sql files #605

Open
accforgithubtest opened this issue Sep 21, 2024 · 3 comments
Open

Carousel component - Support for embedding other sql files #605

accforgithubtest opened this issue Sep 21, 2024 · 3 comments
Labels
enhancement New feature or request

Comments

@accforgithubtest
Copy link

What is your problem ? A description of the problem, not the solution you are proposing.

I have built a dashboard with multiple cards in the view. There are many cards that the page is scrolling vertically now.
I would like for this data to be displayed as a dashboard in a "kiosk" fashion (i.e - no manual interaction expected), where by all the data is displayed to the user, in a auto-scrolling / slideshow format.

I checked out the carousel component, but it seems to only support images currently.
Only cards component seems to support embedding other .sql files. however cards doesn't have any features to auto-scroll / slideshow the data.

Describe the solution you'd like

It would be really nice if the carousel component can also embed other .sql files, like the cards component, and show the output of the embedded sql files as a "slideshow".
This would allow for the carousel component to really add the potential for dashboard displays that can be used in "kiosk" mode.

Hope my explanation of the request is clear / makes sense.
Thanks for your time and consideration !

@accforgithubtest accforgithubtest added the enhancement New feature or request label Sep 21, 2024
@lovasoa
Copy link
Collaborator

lovasoa commented Sep 22, 2024

Hello, that would indeed be useful. And this will probably be easy to implement after we merge #615

What do you think, @mtt-artis ?

@mtt-artis
Copy link

The embed option is already there on the server side so it might be doable just by transforming the carousel template with an embed option. Or am I missing something?

Should we explain the data-embed="SRC" tricks in the doc for custom template ?

@lovasoa
Copy link
Collaborator

lovasoa commented Sep 22, 2024

Yes, that's what I was saying, the feature asked for here should be easy to implement after we merge your pull request.

I think we should document data-embed in /examples/official-site/custom_components.sql

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

3 participants