Skip to content

Carousel component - Support for embedding other sql files #605

Open

Description

@accforgithubtest

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 !

Activity

  1. lovasoa commented on Sep 22, 2024

    @lovasoa
    Collaborator

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

    What do you think, @mtt-artis ?

  2. xrtis commented on Sep 22, 2024

    @xrtis
    Contributor

    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 ?

  3. lovasoa commented on Sep 22, 2024

    @lovasoa
    Collaborator

    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

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions