-
Notifications
You must be signed in to change notification settings - Fork 8.3k
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
[Dashboard] Fixes Copy to dashboard includes filters. #136275
[Dashboard] Fixes Copy to dashboard includes filters. #136275
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.
Tested this fix locally, and everything LGTM! Looks like the usage of filterManager.getFilters()
was meant to support pinned filters, but they still work great after this change.
src/plugins/dashboard/public/application/actions/copy_to_dashboard_modal.tsx
Outdated
Show resolved
Hide resolved
Pinging @elastic/kibana-presentation (Team:Presentation) |
@elasticmachine merge upstream |
@elasticmachine merge upstream |
expected head sha didn’t match current head ref. |
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.
Tested this locally and everything looks good, it's also passing CI which is good because there is a lot of coverage in terms of dashboards with pinned and non pinned filters. Left one nit
src/plugins/dashboard/public/application/lib/convert_dashboard_state.ts
Outdated
Show resolved
Hide resolved
💚 Build Succeeded
Metrics [docs]Async chunks
History
To update your PR or re-run it, just comment with: cc @Kunzetsov |
Summary
Fixes: #122729.
Screen.Recording.2022-07-13.at.16.44.13.mov