Skip to content

Switch from hash routing to path routing #67470

@flash1293

Description

@flash1293

Currently all Kibana App apps are using hash routing, while the Kibana platform is leveraging path routing. To avoid complexity and instability, all hash routing should eventually be migrated to path routing.

Related: #65968

To make this transition as simple as possible, de-angularization should be completed first. Then react hash router can be replaced by an agnostic router component bound to the scoped history object passed in from the application service.

To make sure legacy links still work, it's important to provide backwards compatibility (forwarding a hash path to the right browser path when Kibana is opened). This can be implemented as a central utility function as part of the kibana_legacy plugin.

Subtasks

Actually cutting over can be approached separately for the individual apps:

  • Discover
  • Visualize
  • Dashboard
  • Lens
  • Graph

Metadata

Metadata

Assignees

No one assigned

    Labels

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

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions