[Fleet] Fix routing issues with getPath and history.push#101658
[Fleet] Fix routing issues with getPath and history.push#101658kpollich merged 2 commits intoelastic:masterfrom
getPath and history.push#101658Conversation
|
Pinging @elastic/fleet (Team:Fleet) |
💚 Build SucceededMetrics [docs]Page load bundle
History
To update your PR or re-run it, just comment with: cc @kpollich |
|
I went through a few other uses of
Anywhere we're using I think this was an errant change I made as I updated cross-app navigation between integrations and Fleet. This PR fixes these issues. |
jloleysens
left a comment
There was a problem hiding this comment.
Tested the updated behaviour of getPath locally and this seems to address the #-routing mismatch. I'd update this PR title to reflect that this issue was more wide-spread (stemming from getPath). Great fix!
getPath and history.push
nchaulet
left a comment
There was a problem hiding this comment.
tested locally and it worked as expected 🚀
…#101658) * Fix getPath usage in Fleet app * Fix pathname in failing test
💚 Backport successful
This backport PR will be merged automatically after passing CI. |
#101763) * Fix getPath usage in Fleet app * Fix pathname in failing test Co-authored-by: Kyle Pollich <kyle.pollich@elastic.co>
* master: clarify which parts of TM are experimental (elastic#101757) Add sh scripts with _bulk_action route usage examples (elastic#101736) [Uptime] Only register route in side nav if uptime show capability is true (elastic#101709) Use KIBANA_DOCS in doc link service (elastic#101667) [Alerting][Event log] Persisting duration information for active alerts in event log (elastic#101387) Address design issues in Discover/Graph (elastic#101584) Optimize performance for document table (elastic#101715) Change file data visualizer links to point to new location in home application (elastic#101393) [Fleet] Tighten policy permissions, take II (elastic#97366) [ML] Add debounce to the severity control update (elastic#101581) [Fleet] Fix routing issues with `getPath` and `history.push` (elastic#101658) [APM] Add link-to/transaction route (elastic#101731) [Index Patterns] Runtime fields CRUD REST API (elastic#101164) [ILM] Refactor types and fix missing aria labels (elastic#101518) [Lens] New summary row feature for datatable (elastic#101075) Blocks save event filter with a white space name (elastic#101599) Improve security server types (elastic#101661) [APM] Replace side nav with tabs on Settings page (elastic#101460) [APM] Only register items in side nav if user has permissions to see app (elastic#101707) [Security solution][Endpoint] Add back button when to the event filters list (elastic#101280)
Summary
Closes #101656
Fixes
getPathmethod in Fleet app to preventhistory.pushing redundantbasePathvalue. This may have ramifications elsewhere, so I'll monitor CI and confirm.