-
Notifications
You must be signed in to change notification settings - Fork 58
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
Fix getting started cards re-direction to integrations #2146
Conversation
Signed-off-by: Shenoy Pratik <[email protected]>
onClick={() => | ||
coreRefs?.application?.navigateToApp(observabilityIntegrationsID, { | ||
path: `#/available/${integration.name}`, | ||
}) |
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.
using onclick user won't be able to open link in new tab, can this use http.basePath.get()? but not a big issue since it's getting started page
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.
UX perspective is to load integrations in-place in the same tab.
Tested with and without workspaces enabled, both working. WorkspaceEnabled.mov |
Signed-off-by: Shenoy Pratik <[email protected]> (cherry picked from commit 279463a) Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Signed-off-by: Shenoy Pratik <[email protected]> (cherry picked from commit 279463a) Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
(cherry picked from commit 279463a) Signed-off-by: Shenoy Pratik <[email protected]> Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
(cherry picked from commit 279463a) Signed-off-by: Shenoy Pratik <[email protected]> Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Description
Today getting started plugin uses href to navigate to integrations plugin using the EuiCards for integrations catalog. This becomes an issue when
workspaces
is enabled in OSD core as workspaces relies on url in browser for saved object scoping.Issues Resolved
Removed the
href
call and replaced it withnavigateToApp
from core.Check List
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.