Skip to content

component-dash shouldn't create multiple cards #47

@shans

Description

@shans

At the moment, component-dash has to create multiple cards internally, because the configuration file is confined to a simple list of dashboards and globally named configurations. This means that there's no convenient way to request a list of component-dashes with different configurations.

However, multiple internal cards don't flex wrap properly, and there's no convenient way to break the component isolation barrier to make this work.

If we let the dashboard list take a function syntax instead, e.g.

"dashes": [
    "cz-component-dash(Blink>Animation)",
    "cz-component-dash(Internals>Compositing>Animation)",
    ...
]

Then the component dash can be given its name as part of its construction, and use it to index appropriately into the configuration. Later we can even make a lot of this automatic if we want.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions