Skip to content

graph widget thoughts #86

@mackenza

Description

@mackenza

Moving from the text widget changes I did, I am going to focus on Graph now. These are some thoughts and I am looking for feedback from the community:

value - is currently calculated in the widget as the last value of the points passed from the job. I think this could be more flexible by allowing the author to decide what value is displayed (like maybe it's a max for the time series, or min, or avg... you get the idea). I propose that I add a data property to be passed from the job like broadcast! %{value: <some#>, points: ...}

add in moreinfo and updated-at to the widget for consistency. With text (and eventually others) widget. The issue here is that the x-axis text is where we normally put these fields. I could put these field underneath the x-axis labels? Or above? Or... thoughts?

title and moreinfo allow to be passed dynamically from the job as we did with text widget.

SCSS needs a little clean up. For instance there is a .more-info class that overrides the one in application.scss whereas the text widget does not override in the widget stylesheet.

That's all I have at the moment.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions