Make reusable URL query parameter linker for dashboard filters
In !10402 (merged), a Vuex plugin was extracted which keeps some of the store's state in sync with the Vue router.
That plugin currently isn't reusable, however, it could feasibly be refactored to be.
Implimentation details
See the below comment for more information.
-
Rip out all the router logic from the dashboard stores. !31353 (merged) (partially reverted !33831 (merged)) -
Create a url_sync
component using theurl_sync_mixin
to watch real deep like !32849 (merged) -
Add the url_sync
component to the security dashboards !32877 (closed) -
Write the code that pulls in the data from the URL. Potentially as a mixinwith reusable code. -
Pull out the router from the standalone dashboards again and replace with the url sync component
Edited by Sam Beckham