-
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
fix adding Visualize visualization to dashboard from modal directs user to dashboard listing page #90090
Conversation
Pinging @elastic/kibana-app-services (Team:AppServices) |
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.
lgtm!
@elasticmachine merge upstream |
💚 Build SucceededMetrics [docs]Page load bundle
History
To update your PR or re-run it, just comment with: |
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.
Fix looks good, appreciate the new Unit test!
…er to dashboard listing page (elastic#90090)
Summary
fixes #89917
Regression was introduced in #87635
In #87635 I needed additional methods on
kbnUrlStateStorage
and decided to completely expose underlyingurlControls
and removed previously exposedcancel
andflush
methods fromkbnUrlStateStorage
I missed that state syncing utils were calling
cancel
when stoping state syncing: https://github.com/elastic/kibana/blob/master/src/plugins/kibana_utils/public/state_sync/state_sync.ts#L161Calling this
cancel
was canceling any pending state updates which is important for #87635 scenario.This pr returns
cancel
onkbnUrlStateStorage
removed in #87635 and fixes #89917Will be covered by functional test in #89245
Checklist
Delete any items that are not applicable to this PR.
For maintainers