-
Notifications
You must be signed in to change notification settings - Fork 8.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Monitoring] Use custom route to ensure global state is preserved #63891
[Monitoring] Use custom route to ensure global state is preserved #63891
Conversation
Pinging @elastic/stack-monitoring (Team:Monitoring) |
@chrisronline Wondering if we can just do something like this instead: export const getSafeForExternalLink = (url: string) => {
return `${url.split('?')[0]}?${location.hash.split('?')[1]}`;
} Seems to work for me |
@igoristic Wow, that works much better! Updated |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good once the tests pass 👍
@elasticmachine merge upstream |
💚 Build SucceededHistory
To update your PR or re-run it, just comment with: |
…astic#63891) * WIP * PR updates * Fix testing Co-authored-by: Elastic Machine <[email protected]>
Looks like this PR has a backport PR but it still hasn't been merged. Please merge it ASAP to keep the branches relatively in sync. |
…3891) (#64217) * WIP * PR updates * Fix testing Co-authored-by: Elastic Machine <[email protected]> Co-authored-by: Elastic Machine <[email protected]>
Backport: 7.x: 2849095 |
Resolves #52937
@igoristic This is rough, would love to get your thoughts