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

[Index template] Add filters to simulate preview #74497

Merged
merged 8 commits into from
Aug 19, 2020

Conversation

sebelga
Copy link
Contributor

@sebelga sebelga commented Aug 6, 2020

This PR adds filters on top of the simulate preview inside the flyout so the user can hide part of the final composite template he is not interested in.

Screenshot 2020-08-11 at 16 05 08

Screenshot 2020-08-11 at 16 03 57

Screenshot 2020-08-11 at 16 04 23

Screenshot 2020-08-11 at 16 04 33

Screenshot 2020-08-11 at 16 04 52

[EDIT] In this PR I also made the recommended copy text changes from @debadair. I updated the PR with the latest screenshots.

@sebelga sebelga requested a review from a team as a code owner August 6, 2020 10:35
@sebelga sebelga added Feature:Index Management Index and index templates UI Team:Kibana Management Dev Tools, Index Management, Upgrade Assistant, ILM, Ingest Node Pipelines, and more v7.10.0 v8.0.0 labels Aug 6, 2020
@elasticmachine
Copy link
Contributor

Pinging @elastic/es-ui (Team:Elasticsearch UI)

@sebelga sebelga added the release_note:skip Skip the PR/issue when compiling release notes label Aug 6, 2020
@sebelga sebelga requested a review from cjcenizal August 6, 2020 10:36
@sebelga
Copy link
Contributor Author

sebelga commented Aug 18, 2020

@elasticmachine merge upstream

@sebelga
Copy link
Contributor Author

sebelga commented Aug 18, 2020

@elasticmachine merge upstream

@kibanamachine
Copy link
Contributor

💚 Build Succeeded

Build metrics

@kbn/optimizer bundle module count

id value diff baseline
indexManagement 499 +1 498

async chunks size

id value diff baseline
indexManagement 1.5MB +5.0KB 1.5MB

History

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

@cjcenizal cjcenizal requested review from jloleysens and removed request for cjcenizal August 18, 2020 21:06
Copy link
Contributor

@jloleysens jloleysens left a comment

Choose a reason for hiding this comment

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

Great work @sebelga ! 🎉

Really good use of useRef to preserve the users selection throughout the wizard.

Tested locally, works as expected.

I would say adding a component integration test would be nice (to ensure edge case of having no items selected or no data to filter works). But not essential.

@sebelga
Copy link
Contributor Author

sebelga commented Aug 19, 2020

Thanks for the review @jloleysens !
I created this issue #75431 to not forget about adding the component integration test 👍

@sebelga sebelga merged commit 53c765e into elastic:master Aug 19, 2020
@sebelga sebelga deleted the index-templates/filter-simulate-view branch August 19, 2020 14:13
sebelga added a commit that referenced this pull request Aug 19, 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 Aug 19, 2020
* master: (30 commits)
  [code coverage] always download node before team assignment (elastic#75424)
  [Form lib] Allow new "defaultValue" to be provided when resetting the… (elastic#75302)
  [Logs UI] Add "View in machine learning" links in the anomaly explorer (elastic#74555)
  skip flaky suite (elastic#75440)
  skip flaky suite (elastic#75386)
  [Saved objects] Add support for version on create & bulkCreate when overwriting a document (elastic#75172)
  [Functional]Table Vis increase sleep time in order filter to be applied (elastic#75138)
  MOAR RAM (elastic#75423)
  [Visualize] Horizontal Bar Percentiles Overlapping (elastic#75315)
  [ML] DF Analytics / Transforms: Fix job row actions menu invalid DOM nesting warning (elastic#74499)
  [ML] Inference models management (elastic#74978)
  [Monitoring] Migrate karma tests (elastic#75301)
  [Index template] Add filters to simulate preview (elastic#74497)
  Bump and consolidate dependencies (elastic#75360)
  [Ingest Manager] Fix agent config rollout rate limit to use constants (elastic#75364)
  Update Node.js to version 10.22.0 (elastic#75254)
  [ML] Anomaly Explorer / Single Metric Viewer: Fix error reporting for annotations. (elastic#74953)
  [Discover] Fix histogram cloud tests (elastic#75268)
  Uiactions to navigate to visualize or maps (elastic#74121)
  Use prefix search invis editor field/agg combo box (elastic#75290)
  ...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Feature:Index Management Index and index templates UI release_note:skip Skip the PR/issue when compiling release notes Team:Kibana Management Dev Tools, Index Management, Upgrade Assistant, ILM, Ingest Node Pipelines, and more v7.10.0 v8.0.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants