-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
Update dashboard validation for Manifest V2 #10398
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Left one comment on a method that doesn't seem used, but otherwise LGTM!
def get_path(self, path): | ||
return self._manifest_json.get(path) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Are we using this get_path anywhere?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No, but at one point in my PR I did - thought it would be useful to have so I left it.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
why changelog/Changed
?
# add version constants to avoid extra imports | ||
V1 = V1 | ||
V2 = V2 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
where are these used?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
In the other file, by adding these enums here, it avoids an extra import statement which will also be helpful in other use cases
* Update dashboard validation for Manifest V2 * Handle embedded widget objects in dashboards d46143f
What does this PR do?
Adds additional check for dashboards with Manifest V2 to check that the
app_id
s align correctly.Motivation
Additional Notes
Review checklist (to be filled by reviewers)
changelog/
andintegration/
labels attached