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

Tutorial migration #54910

Merged
merged 13 commits into from
Jan 22, 2020
Merged

Tutorial migration #54910

merged 13 commits into from
Jan 22, 2020

Conversation

flash1293
Copy link
Contributor

@flash1293 flash1293 commented Jan 15, 2020

Fixes #50224

This PR migrates all tutorials to the new platform.

In a previous PR the logic for handling tutorials was already moved, this PR also moves the actual tutorials and removes the legacy API completley.

Tutorials that are based on internals of existing plugins are moved into these plugins to avoid exposing more state than necessary.

This means the EMS tutorial becomes part of the maps plugin and the APM tutorial becomes part of the apm plugin.

There are a lot of changed lines, but most of them follow a very predictable pattern - most tutorials are basically the same with some changed labels.

@flash1293 flash1293 marked this pull request as ready for review January 16, 2020 14:32
@flash1293 flash1293 requested a review from a team as a code owner January 16, 2020 14:32
@flash1293 flash1293 requested a review from a team January 16, 2020 14:32
@flash1293 flash1293 requested review from a team as code owners January 16, 2020 14:32
@flash1293 flash1293 added the Team:Visualizations Visualization editors, elastic-charts and infrastructure label Jan 16, 2020
@elasticmachine
Copy link
Contributor

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

@flash1293 flash1293 added the release_note:skip Skip the PR/issue when compiling release notes label Jan 16, 2020
@legrego legrego self-requested a review January 16, 2020 14:58
Copy link
Member

@legrego legrego left a comment

Choose a reason for hiding this comment

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

Spaces changes LGTM

@thomasneirynck thomasneirynck self-requested a review January 21, 2020 14:57
Copy link
Member

@dgieselaar dgieselaar left a comment

Choose a reason for hiding this comment

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

APM changes LGTM

@kindsun
Copy link
Contributor

kindsun commented Jan 21, 2020

Thanks for tackling this @flash1293! Maps code looks good and works as expected. I am getting the following propType warning/error when loading the EMS/Maps tutorial:

image

Follow-up: Actually, scratch that. Checked and this issue exists on master as well and shouldn't hold up this PR. May file as a small, separate issue.

Copy link
Contributor

@kindsun kindsun left a comment

Choose a reason for hiding this comment

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

Maps/EMS lgtm!

  • code review
  • tested locally in chrome

Copy link
Member

@kertal kertal left a comment

Choose a reason for hiding this comment

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

Code LGTM, tested locally in Chrome

@kibanamachine
Copy link
Contributor

💚 Build Succeeded

History

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

@flash1293 flash1293 merged commit 7c40a24 into elastic:master Jan 22, 2020
@flash1293 flash1293 deleted the tutorial-migration branch January 22, 2020 14:31
flash1293 added a commit to flash1293/kibana that referenced this pull request Jan 22, 2020
flash1293 added a commit that referenced this pull request Jan 23, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Feature:Home Kibana home application Feature:NP Migration release_note:skip Skip the PR/issue when compiling release notes Team:Visualizations Visualization editors, elastic-charts and infrastructure v7.7.0 v8.0.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Kibana NP migration: homeApi -> registerTutorials
7 participants