Add SPA utils to vue_shared
What does this MR do and why?
Add SPA utils to vue_shared
The Automate section used some utilities to build a SPA and avoid having to manually define a lot of the Router/ breadcrumbs/active navigation items logic.
This MR extracts this logic and move it to vue_shared while abstracting away even further to allow for true reusability.
This part 1 out of 3.
- Extract reusable SPA initiator to vue_shared (You are here)
- Replace
dom_utilswith a new vue application on top of nav items, similar to howinjectVueAppBreadcrumbsworks - Update documentation of Duo Agent Platform and extract it to the Frontend wide documentation with the new setup.
- Use this new utility for the AI catalog as well
References
Screenshots or screen recordings
No visual changes!
How to set up and validate locally
MR acceptance checklist
Evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.