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

Updated Dashboard structs to support additional features #13

Merged
merged 1 commit into from
Mar 12, 2018
Merged

Updated Dashboard structs to support additional features #13

merged 1 commit into from
Mar 12, 2018

Conversation

bobleaux
Copy link
Contributor

@bobleaux bobleaux commented Mar 5, 2018

There seems to be a few requests for some additional dashboard customizations. I've updated and tested the Dashboard structs to support this.

dashboard.go Outdated
SparklineLineColor string `json:"sparklineLineColor,omitempty"`
SparklineSize string `json:"sparklineSize,omitempty"`
SparklineValueColorMapApplyTo string `json:"sparklineValueColorMapApplyTo,omitempty"`
SparklineValueColorMapColors []string `json:"sparklineValueColorMapColors,omitempty,omitempty"`
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could you remove the duplicate'omitempty' on lines 204-208

Copy link
Contributor

@nathmclean nathmclean left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just one thing to change, apart from that it looks good!

@bobleaux
Copy link
Contributor Author

bobleaux commented Mar 8, 2018

Oops, I can't believe that I missed that. OK, I made the requested changes. Thank you.

@nathmclean nathmclean merged commit 7dd6b38 into spaceapegames:master Mar 12, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants