Skip to content
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

Merged
merged 6 commits into from
Apr 22, 2020

Conversation

chrisronline
Copy link
Contributor

Resolves #52937

@igoristic This is rough, would love to get your thoughts

@elasticmachine
Copy link
Contributor

Pinging @elastic/stack-monitoring (Team:Monitoring)

@igoristic
Copy link
Contributor

@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

@chrisronline
Copy link
Contributor Author

@igoristic Wow, that works much better! Updated

Copy link
Contributor

@igoristic igoristic left a 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 👍

@chrisronline
Copy link
Contributor Author

@elasticmachine merge upstream

@igoristic igoristic removed the review label Apr 22, 2020
@kibanamachine
Copy link
Contributor

💚 Build Succeeded

History

To update your PR or re-run it, just comment with:
@elasticmachine merge upstream

@chrisronline chrisronline merged commit e708b41 into elastic:master Apr 22, 2020
@chrisronline chrisronline deleted the monitoring/external_link branch April 22, 2020 17:03
chrisronline added a commit to chrisronline/kibana that referenced this pull request Apr 22, 2020
@kibanamachine kibanamachine added the backport missing Added to PRs automatically when the are determined to be missing a backport. label Apr 24, 2020
@kibanamachine
Copy link
Contributor

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.

@kibanamachine kibanamachine removed the backport missing Added to PRs automatically when the are determined to be missing a backport. label Apr 27, 2020
chrisronline added a commit that referenced this pull request Apr 27, 2020
…3891) (#64217)

* WIP

* PR  updates

* Fix testing

Co-authored-by: Elastic Machine <[email protected]>

Co-authored-by: Elastic Machine <[email protected]>
@chrisronline
Copy link
Contributor Author

Backport:

7.x: 2849095

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Monitoring] Opening links in new tabs could not work in multi-cluster monitoring
4 participants