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

Issue #155: Support dashboard lists #156

Merged
merged 3 commits into from
May 23, 2018
Merged

Issue #155: Support dashboard lists #156

merged 3 commits into from
May 23, 2018

Conversation

nyanshak
Copy link
Collaborator

@nyanshak nyanshak commented May 11, 2018

Resolve #155 by adding support for dashboard lists:

  • get all lists
  • get a single list
  • create a list
  • update a list
  • delete a list
  • add items to a list
  • update items in a list
  • get items in a list
  • delete items from a list

* Adds support for Datadog's dashboard lists
@nyanshak nyanshak changed the title #155: Support dashboard lists Issue #155: Support dashboard lists May 11, 2018
@nyanshak
Copy link
Collaborator Author

Fix #155

Still working on adding some tests, but wanted some early feedback :)

@zorkian @yfronto

@ghost
Copy link

ghost commented May 11, 2018

I think I'd like to see a more user-friendly way to handle dashboard types, but I'm not sure what the best way to do that is. I see custom_timeboard, custom_screenboard, integration_screenboard, integration_timeboard, and host_timeboard, but I don't see how to pragmatically decide what type a particular dashboard is. I suppose you could create public vars for the types, which could at least limit the possible inputs?

Copy link

@ghost ghost left a comment

Choose a reason for hiding this comment

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

A few small things.

DashboardCount *int `json:"dashboard_count,omitempty"`
}

type DashboardListItem struct {
Copy link

Choose a reason for hiding this comment

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

We should probably have a docstring on this, since it's exported.

)

// DashboardList represents a dashboard list.
// struct when we load the summaries.
Copy link

Choose a reason for hiding this comment

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

This comment is confusing with the line break.

@ghost
Copy link

ghost commented May 11, 2018

lgtm

@ghost
Copy link

ghost commented May 22, 2018

Hey @nyanshak, do you want to merge this or shall I?

@nyanshak nyanshak merged commit d74ca17 into zorkian:master May 23, 2018
@nyanshak nyanshak deleted the 155/support-for-dashboard-lists branch May 23, 2018 15:39
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.

1 participant