Skip to content

Kibana NP migration: homeApi -> registerTutorials #50224

@TinaHeiligers

Description

@TinaHeiligers

Move tutorials api in src/legacy/core_plugins/kibana/server/routes/api/home to the new platform.
The most important part is the registry where plugins can register new tutorials(src/legacy/ui/tutorials_mixin.js). This is where the main effort lies.

The following methods need to be returned from the new TutorialsPlugin setup method:
getTutorials, registerTutorial and addScopedTutorialContextFactory.
At the moment, the methods accept the main kbn server and request objects. Once the server and request are not explicitly called, we'll be able to migrate the decoration methods to a new Tutorials plugin.

Metadata

Metadata

Assignees

Labels

Feature:NP MigrationTeam:VisualizationsTeam label for Lens, elastic-charts, Graph, legacy editors (TSVB, Visualize, Timelion) t//

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions