-
Notifications
You must be signed in to change notification settings - Fork 163
[PLAT-327] per mv filter in magic tokens #8583
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
Conversation
begelundmuller
left a comment
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.
Can you check if the frontend changes for this are simple? In that case, it might be nice to do the change in this PR (disregard this comment if it's not simple).
|
Added front end changes, tagging @AdityaHegde for the review of front end changes. |
begelundmuller
left a comment
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, apart from that the backend changes LGTM
AdityaHegde
left a comment
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.
Just a small nit. Otherwise LGTM
| $dashboardStore.dimensionThresholdFilters, | ||
| ) | ||
| : undefined; | ||
| if (filter && !$metricsViewName) { |
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.
nit: this feels unnecessary at this level. Can you add a TODO to handle this upstream?
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.
you mean metricsViewName will always be present but safety check should be done upstream?
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.
removed the check, please have a look
Support per metrics view filter for canvas. If the metrics view specified in the filter mapping is incorrect then it will be ignored and no filter will be applied.
Checklist: