Skip to content

[Lens] Fix bug where suggestions didn't use filters#63293

Merged
wylieconlon merged 2 commits intoelastic:masterfrom
wylieconlon:lens/fix-suggestion-filtering
Apr 14, 2020
Merged

[Lens] Fix bug where suggestions didn't use filters#63293
wylieconlon merged 2 commits intoelastic:masterfrom
wylieconlon:lens/fix-suggestion-filtering

Conversation

@wylieconlon
Copy link
Contributor

When using filters from the filter bar, suggestions would not update with the correct filters. This was a simple omission from the suggestion context.

Simplest steps to reproduce:

  • Create an XY chart with a break down by
  • Click one of the series that is broken down, and don't select the X axis to filter by
  • Suggestions should update to only show the one series

Fixes #62118

Checklist

@wylieconlon wylieconlon added release_note:fix Team:Visualizations Team label for Lens, elastic-charts, Graph, legacy editors (TSVB, Visualize, Timelion) t// v8.0.0 Feature:Lens v7.8.0 labels Apr 10, 2020
@wylieconlon wylieconlon requested review from a team, mbondyra and timroes April 10, 2020 21:20
@elasticmachine
Copy link
Contributor

Pinging @elastic/kibana-app (Team:KibanaApp)

@wylieconlon
Copy link
Contributor Author

@elasticmachine merge upstream

@kibanamachine
Copy link
Contributor

💚 Build Succeeded

History

To update your PR or re-run it, just comment with:
@elasticmachine merge upstream

@mbondyra
Copy link
Contributor

Tested on newest Chrome ios, it works as expected but it's quite slow so I needed to wait around 2 seconds for the suggestions to update even in the simplest case. Maybe we could think about some loader in the future.

@wylieconlon
Copy link
Contributor Author

@mbondyra Are you talking about perceived slowness? I think there is already an issue tracking this, since the solution is not something we control: #61782

@wylieconlon wylieconlon merged commit 48d528f into elastic:master Apr 14, 2020
@wylieconlon wylieconlon deleted the lens/fix-suggestion-filtering branch April 14, 2020 14:59
wylieconlon pushed a commit that referenced this pull request Apr 14, 2020
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
gmmorris added a commit to gmmorris/kibana that referenced this pull request Apr 15, 2020
* alerting/alert-services-mock: (107 commits)
  removed unused import
  added alert services mock and use it in siem
  [Metrics UI] Refactor With* containers to hooks (elastic#59503)
  [NP] Migrate logstash server side code to NP (elastic#63135)
  Clicking cancel in saved query save modal doesn't close it (elastic#62774)
  [Lens] Migration from 7.7 (elastic#62879)
  [Lens] Fix bug where suggestions didn't use filters (elastic#63293)
  Task/linux events (elastic#63400)
  [Remote clusters] guard against usageCollection plugin if unav… (elastic#63284)
  [Uptime] Remove pings graphql (elastic#59392)
  Index Pattern Field class - factor out copy_field code for future typescripting (elastic#63083)
  [EPM] add/remove package in package settings page (elastic#63389)
  Adjust API authorization logging (elastic#63350)
  Revert FTR: add chromium-based Edge browser support (elastic#61684) (elastic#63448)
  [Event Log] Adds namespace into save objects (elastic#62974)
  document code splitting for client code (elastic#62593)
  Escape single quotes surrounded by double quotes (elastic#63229)
  [Endpoint] Update cli mapping to match endpoint package (elastic#63372)
  update in-app links to metricbeat configuration docs (elastic#63295)
  investigation notes field (documentation / metadata) (elastic#63386)
  ...
wayneseymour pushed a commit that referenced this pull request Apr 15, 2020
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Feature:Lens release_note:fix Team:Visualizations Team label for Lens, elastic-charts, Graph, legacy editors (TSVB, Visualize, Timelion) t// v7.8.0 v8.0.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Lens] Suggestions are not respecting filters

4 participants