Fix highlight config so it doesn't require a refresh to apply#10346
Fix highlight config so it doesn't require a refresh to apply#10346lukasolson merged 2 commits intoelastic:masterfrom
Conversation
|
This looks pretty good. I did find one edge case. If you add a saved search from a pre 5.3 installation to a dashboard you'll still get highlighting even if |
|
Good catch, @Bargs. |
|
@Bargs Could you take another look? Thanks! |
|
jenkins, test this |
* Acknowledge doc_table:highlight config even after init * Use highlightAll on dashboard
|
Backported to 5.3 in 3b34f16. |
|
@lukasolson I had discover and advanced settings open in two separate tabs(chrome latest). Then I tried setting the value of doc_table:highlight and looked at the results in discover. The settings didn't get applied till I refreshed the page. Is this expected. cc @Bargs this works fine otherwise. What we saw together in zoom - I couldn't reproduce it in local. Thanks! |
* Acknowledge doc_table:highlight config even after init * Use highlightAll on dashboard
Prior to this PR, when you would go into the advanced settings and change the
doc_table:highlighttofalse(ortrue), it would require refreshing the page before it would be applied. This was confusing.This PR fixes this behavior such that the config is checked each time we go to apply highlighting instead of only when the page loads, and adds a test surrounding this behavior.
Fixes #7796.