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

Add support for custom views #29

Closed
patriksvensson opened this issue Jan 30, 2020 · 0 comments
Closed

Add support for custom views #29

patriksvensson opened this issue Jan 30, 2020 · 0 comments
Labels
feature New feature or request

Comments

@patriksvensson
Copy link
Member

Is your feature request related to a problem? Please describe.
Having two different teams share the same dashboard doesn't always make sense. It would be nice if we could define views that could be switched between in the UI.

Describe the solution you'd like
There could be a new section in the configuraion that defines the views.

{
    "$schema": "https://raw.githubusercontent.com/spectresystems/duck/master/schemas/v0.4.json",
    "collectors": [ ],
    "observers": [ ],
    "views": [
        {
            "name": "team_a",
            "title": "A-Team",
            "collectors": [
                "collector1", "collector2"
            ]
        },
        {
            "name": "team_b",
            "title": "B-Team",
            "collectors": [
                "collector1", "collector3"
            ]
        }
    ]
}
@patriksvensson patriksvensson added the feature New feature or request label Jan 30, 2020
patriksvensson added a commit that referenced this issue Feb 6, 2020
By defining a view in the configuration file, the view can be accessed
by adding the querystring paramter ?view=myviewname in the frontend app.

Closes #29
patriksvensson added a commit that referenced this issue Feb 6, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant