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 dashboardaddWidgetsToPage and dashboardUpdatePage support in dashboards #802

Closed
smcavallo opened this issue Aug 19, 2021 · 2 comments
Closed
Labels
stale Issue or PR has been inactive for a period of time. This label is configured in stale-bot.

Comments

@smcavallo
Copy link

Feature Description

Add support for these missing operations to dashboards
https://docs.newrelic.com/docs/query-your-data/explore-query-data/dashboards/dashboards-api/#page-operations
dashboardUpdatePage()
dashboardUpdateWidgetsInPage()
dashboardAddWidgetsToPage()
and the additional type of DashboardUpdatePageInput

It may be as simple as adding to .tutone.yaml

    mutations:
      - name: dashboardAddWidgetsToPage
      - name: dashboardUpdatePage
      - name: dashboardUpdateWidgetsInPage

Describe Alternatives

These are all available in the nerdgraph API and in fact exist in the schema.json file created when you run make generate - they just don't exist in .tutone.yaml or dashboards_api.go

Additional context

I tried to add support for this myself in .tutone.yaml but make generate does not work locally - it is generating the types incorrectly and then failing due to errors in the types. It is using the default version of the tutone generator which is tagged as "dev"

@stale
Copy link

stale bot commented Sep 3, 2021

This issue has been automatically marked as stale because it has not had any recent activity. It will be closed if no further activity occurs.

@stale stale bot added the stale Issue or PR has been inactive for a period of time. This label is configured in stale-bot. label Sep 3, 2021
@stale
Copy link

stale bot commented Sep 10, 2021

This issue has been automatically closed due to a lack of activity for an extended period of time.

@stale stale bot closed this as completed Sep 10, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
stale Issue or PR has been inactive for a period of time. This label is configured in stale-bot.
Projects
None yet
Development

No branches or pull requests

1 participant