Skip to content
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

[TSVB] Enable brush for visualizations created with no index patterns #96727

Merged
merged 3 commits into from
Apr 14, 2021

Conversation

stratoula
Copy link
Contributor

@stratoula stratoula commented Apr 12, 2021

Summary

This is a regression caused by #95296

Although we want to send more and more users to use the index pattern mode, TSVB still allows visualizations without an index pattern. The brush event should work for them, although the URL drilldowns can't be supported.

In this PR, if the visualization is created with an index and not with an index pattern (for example kibana_sample*), the brush event is allowed. Actually is a fallback on the old implementation

@stratoula stratoula marked this pull request as ready for review April 12, 2021 11:26
@stratoula stratoula requested a review from a team April 12, 2021 11:26
@stratoula stratoula added the Team:Visualizations Visualization editors, elastic-charts and infrastructure label Apr 12, 2021
@elasticmachine
Copy link
Contributor

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

@stratoula stratoula added Feature:TSVB TSVB (Time Series Visual Builder) v7.13.0 v8.0.0 release_note:skip Skip the PR/issue when compiling release notes labels Apr 12, 2021
@stratoula
Copy link
Contributor Author

@elasticmachine merge upstream

@kibanamachine
Copy link
Contributor

💚 Build Succeeded

Metrics [docs]

Async chunks

Total size of all lazy-loaded chunks that will be downloaded as the user navigates the app

id before after diff
visTypeTimeseries 1.6MB 1.6MB +132.0B

History

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

@stratoula stratoula requested a review from alexwizp April 14, 2021 10:15
Copy link
Contributor

@alexwizp alexwizp left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM! Thank you

@stratoula
Copy link
Contributor Author

I am merging this as Alexey has approved and he knows pretty well the TSVB codebase.

@stratoula stratoula merged commit 23e18b9 into elastic:master Apr 14, 2021
stratoula added a commit to stratoula/kibana that referenced this pull request Apr 14, 2021
…elastic#96727)

* [TSVB] Enable brush for visualizations created with no index patterns

* Fix comments typo

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
stratoula added a commit that referenced this pull request Apr 14, 2021
…#96727) (#97095)

* [TSVB] Enable brush for visualizations created with no index patterns

* Fix comments typo

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
phillipb added a commit to phillipb/kibana that referenced this pull request Apr 14, 2021
…to-metrics-tab

* 'master' of github.com:elastic/kibana: (61 commits)
  [Usage collection] Usage counters (elastic#96696)
  UI actions readme (elastic#96925)
  [TSVB] Enable brush for visualizations created with no index patterns (elastic#96727)
  [Data telemetry] Add Async Search to the tests (elastic#96693)
  added missing optional chain for bracket notation (elastic#96939)
  [Discover][DocViewer] Fix toggle columns from doc viewer table tab (elastic#95748)
  [TSVB] Fix per-request caching of index patterns (elastic#97043)
  [Datatable] Fix filter cell flakiness (elastic#96934)
  Unskip heatmap suite and fixes flakiness (elastic#96941)
  [Fleet] Improve performance of data stream API (elastic#97058)
  [ML] Data Frame Analytics: remove beta badge (elastic#96977)
  [App Search] Migrate expanded rows for meta engines table in Engines Overview (elastic#96251)
  Instances latency distribution chart tooltips and axis fixes (elastic#95577)
  [Monitoring] Using primary average shard size (elastic#96177)
  [Workplace Search] Hide Kibana chrome on 3rd party connector redirects (elastic#97028)
  ## [Security Solution] Fixes `Exit full screen` and `Copy to cliboard` styling issues (elastic#96676)
  Index pattern field editor - Add warning on name or type change (elastic#95528)
  [App Search] Add small engine breadcrumb utility helper (elastic#96917)
  Copy esArchiver commands from ./reassign.ts to fix tests (elastic#97012)
  [Security Solution][Detections] Updates MITRE Tactics, Techniques, and Subtechniques for 7.13 (elastic#97011)
  ...
madirey pushed a commit to madirey/kibana that referenced this pull request May 11, 2021
…elastic#96727)

* [TSVB] Enable brush for visualizations created with no index patterns

* Fix comments typo

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Feature:TSVB TSVB (Time Series Visual Builder) release_note:skip Skip the PR/issue when compiling release notes Team:Visualizations Visualization editors, elastic-charts and infrastructure v7.13.0 v8.0.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants