[Fleet] Migrate to ScopedHistory router #96134
Labels
Feature:Fleet
Fleet team's agent central management project
Team:Fleet
Team label for Observability Data Collection Fleet team
technical debt
Improvement of the software architecture and operational architecture
Fleet is currently using it's own hash-based router on the frontend, which is not actually supported by Core's ApplicationService. There are number of routing bugs that come from using the hash-based router, but it also blocks #86171.
An example of how this router should be hooked up can be found here: https://github.com/elastic/kibana/blob/master/docs/development/core/public/kibana-plugin-core-public.appmountparameters.history.md
It appears that Fleet is using two routers? A hash-based one inside of the one hooked up to Core's provided history instance. I'm not sure of the motivation for doing this? Location in Fleet where the hash router is used: https://github.com/elastic/kibana/blob/master/x-pack/plugins/fleet/public/applications/fleet/app.tsx#L207
The text was updated successfully, but these errors were encountered: