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

Change file data visualizer links to point to new location in home application #101393

Merged
merged 15 commits into from
Jun 9, 2021

Conversation

nreese
Copy link
Contributor

@nreese nreese commented Jun 4, 2021

File data visualizer has been moved into its own plugin and is no longer a part of ml. #100863 added file data visualizer to home "Add data" page.

This PR cleans up some links to file data visualizer, changing the links from pointing to ml to instead, point to file data visualizer's new location in the home page.

"Upload a file" card now points to home "Add data" file data visualizer tab.
Screen Shot 2021-06-04 at 8 33 03 AM

"Upload a file" card in index pattern management now points to home "Add data" file data visualizer tab.
Screen Shot 2021-06-04 at 8 33 14 AM

This PR also removes the environment service from index_pattern_management plugin. This service was only used to register whether ml plugin is available and the license is basic. Now that Kibana is always shipped with the default distribution, I felt all of this complexity is no longer needed.

@nreese nreese added Feature:Data Views Data Views code and UI - index patterns before 8.0 v8.0.0 Feature:Kibana Management Feature label for Data Views, Advanced Setting, Saved Object management pages release_note:skip Skip the PR/issue when compiling release notes v7.14.0 labels Jun 4, 2021
@nreese nreese requested review from mattkime and jgowdyelastic June 4, 2021 14:43
@nreese nreese requested a review from a team as a code owner June 4, 2021 14:43
@jgowdyelastic
Copy link
Member

@nreese thanks for doing this. I had started something similar here: #101169
Your PR could incorporate the permission changes I have added to my one and then I can close my one.

@nreese nreese requested a review from a team as a code owner June 4, 2021 17:03
Copy link
Member

@jgowdyelastic jgowdyelastic left a comment

Choose a reason for hiding this comment

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

Tested and LGTM

Copy link
Contributor

@mattkime mattkime left a comment

Choose a reason for hiding this comment

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

Thanks for taking this on! Code changes look good and work well

@nreese
Copy link
Contributor Author

nreese commented Jun 8, 2021

@elasticmachine merge upstream

@nreese nreese added the auto-backport Deprecated - use backport:version if exact versions are needed label Jun 9, 2021
@nreese
Copy link
Contributor Author

nreese commented Jun 9, 2021

@elasticmachine merge upstream

@nreese
Copy link
Contributor Author

nreese commented Jun 9, 2021

@elasticmachine merge upstream

@kibanamachine
Copy link
Contributor

💚 Build Succeeded

Metrics [docs]

Module Count

Fewer modules leads to a faster build time

id before after diff
indexPatternManagement 165 162 -3

Public APIs missing comments

Total count of every public API that lacks a comment. Target amount is 0. Run node scripts/build_api_docs --plugin [yourplugin] --stats comments for more detailed information.

id before after diff
indexPatternManagement 46 45 -1

Async chunks

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

id before after diff
indexPatternManagement 553.6KB 552.8KB -770.0B
ml 5.8MB 5.8MB -8.0B
total -778.0B

Public APIs missing exports

Total count of every type that is part of your API that should be exported but is not. This will cause broken links in the API documentation system. Target amount is 0. Run node scripts/build_api_docs --plugin [yourplugin] --stats exports for more detailed information.

id before after diff
indexPatternManagement 4 3 -1

Page load bundle

Size of the bundles that are downloaded on every page load. Target size is below 100kb

id before after diff
dataVisualizer 13.6KB 14.3KB +767.0B
indexPatternManagement 14.0KB 12.9KB -1.1KB
ml 66.8KB 65.8KB -1.0KB
total -1.4KB
Unknown metric groups

API count

id before after diff
indexPatternManagement 46 45 -1

History

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

@nreese nreese merged commit d415357 into elastic:master Jun 9, 2021
@kibanamachine
Copy link
Contributor

💔 Backport failed

Status Branch Result
7.x Commit could not be cherrypicked due to conflicts

To backport manually run:
node scripts/backport --pr 101393

@nreese
Copy link
Contributor Author

nreese commented Jun 9, 2021

7.x backport blocked until #101665 merges

gmmorris added a commit to gmmorris/kibana that referenced this pull request Jun 9, 2021
* master:
  clarify which parts of TM are experimental (elastic#101757)
  Add sh scripts with _bulk_action route usage examples (elastic#101736)
  [Uptime] Only register route in side nav if uptime show capability is true (elastic#101709)
  Use KIBANA_DOCS in doc link service (elastic#101667)
  [Alerting][Event log] Persisting duration information for active alerts in event log (elastic#101387)
  Address design issues in Discover/Graph (elastic#101584)
  Optimize performance for document table (elastic#101715)
  Change file data visualizer links to point to new location in home application (elastic#101393)
  [Fleet] Tighten policy permissions, take II (elastic#97366)
  [ML] Add debounce to the severity control update  (elastic#101581)
  [Fleet] Fix routing issues with `getPath` and `history.push` (elastic#101658)
  [APM] Add link-to/transaction route (elastic#101731)
  [Index Patterns] Runtime fields CRUD REST API  (elastic#101164)
  [ILM] Refactor types and fix missing aria labels (elastic#101518)
  [Lens] New summary row feature for datatable (elastic#101075)
  Blocks save event filter with a white space name (elastic#101599)
  Improve security server types (elastic#101661)
  [APM] Replace side nav with tabs on Settings page (elastic#101460)
  [APM] Only register items in side nav if user has permissions to see app (elastic#101707)
  [Security solution][Endpoint] Add back button when to the event filters list (elastic#101280)
nreese added a commit to nreese/kibana that referenced this pull request Jun 9, 2021
…plication (elastic#101393)

* Link to home file data visualizer

* remove unused import

* i18n cleanup

* remove unused import from EmptyState

* use const

* remove ml functional test cases checking for ml_file_data_visualizer

* more clean-up of ml_file_data_visualizer

* jest snapshot and nav to home page in no_ml_access tests

* revert change to functional test dual_privileges_all at everything_space

* revert another change to security_and_spaces/tests/catalogue.ts

* revert changes to x-pack/test/ui_capabilities/security_only/tests/catalogue.ts

Co-authored-by: Kibana Machine <[email protected]>
# Conflicts:
#	src/plugins/index_pattern_management/public/components/index_pattern_table/index_pattern_table.tsx
@nreese
Copy link
Contributor Author

nreese commented Jun 9, 2021

7.x #101844

nreese added a commit that referenced this pull request Jun 9, 2021
…plication (#101393) (#101844)

* Link to home file data visualizer

* remove unused import

* i18n cleanup

* remove unused import from EmptyState

* use const

* remove ml functional test cases checking for ml_file_data_visualizer

* more clean-up of ml_file_data_visualizer

* jest snapshot and nav to home page in no_ml_access tests

* revert change to functional test dual_privileges_all at everything_space

* revert another change to security_and_spaces/tests/catalogue.ts

* revert changes to x-pack/test/ui_capabilities/security_only/tests/catalogue.ts

Co-authored-by: Kibana Machine <[email protected]>
# Conflicts:
#	src/plugins/index_pattern_management/public/components/index_pattern_table/index_pattern_table.tsx
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
auto-backport Deprecated - use backport:version if exact versions are needed Feature:Data Views Data Views code and UI - index patterns before 8.0 Feature:Kibana Management Feature label for Data Views, Advanced Setting, Saved Object management pages release_note:skip Skip the PR/issue when compiling release notes v7.14.0 v8.0.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants