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
Saved visualization with search string confuse altering of search string #103396
Conversation
src/plugins/visualize/public/application/utils/use/use_visualize_app_state.tsx
Outdated
Show resolved
Hide resolved
I see we already have some tests for this code in |
Added test. |
@VladLasitsa check if also this #100920 can be closed |
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! Tested locally
@elasticmachine merge 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.
LGTM, I tested it locally in Chrome and fixes all problematic cases
Pinging @elastic/kibana-app (Team:KibanaApp) |
💚 Build SucceededMetrics [docs]Async chunks
History
To update your PR or re-run it, just comment with: cc @VladLasitsa |
…ing (elastic#103396) * Add possibility to sync query and filter from state * Fix unit-tests * Fix name Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
💚 Backport successful
This backport PR will be merged automatically after passing CI. |
…ing (elastic#103396) * Add possibility to sync query and filter from state * Fix unit-tests * Fix name Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
Closes: #101574
Closes #100920
Summary
Add possibility to sync
query
andfilter
from app state when we load page.How to test it:
Alternative 1:
Aternative 2:
After fix: source of request shows only new search terms are applied to the query.