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

Fix getting started cards re-direction to integrations #2146

Merged
merged 1 commit into from
Sep 9, 2024

Conversation

ps48
Copy link
Member

@ps48 ps48 commented Sep 9, 2024

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 with navigateToApp from core.

Check List

  • New functionality includes testing.
    • All tests pass, including unit test, integration test and doctest
  • New functionality has been documented.
    • New functionality has javadoc added
    • New functionality has user manual doc added
  • Commits are signed per the DCO using --signoff

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.

Signed-off-by: Shenoy Pratik <sgguruda@amazon.com>
@ps48 ps48 added bug Something isn't working backport 2.x backport 2.17 labels Sep 9, 2024
onClick={() =>
coreRefs?.application?.navigateToApp(observabilityIntegrationsID, {
path: `#/available/${integration.name}`,
})
Copy link
Member

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

Copy link
Member Author

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.

@TackAdam
Copy link
Collaborator

TackAdam commented Sep 9, 2024

Tested with and without workspaces enabled, both working.

WorkspaceEnabled.mov

@ps48 ps48 merged commit 279463a into opensearch-project:main Sep 9, 2024
15 of 24 checks passed
opensearch-trigger-bot bot pushed a commit that referenced this pull request Sep 9, 2024
Signed-off-by: Shenoy Pratik <sgguruda@amazon.com>
(cherry picked from commit 279463a)
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
opensearch-trigger-bot bot pushed a commit that referenced this pull request Sep 9, 2024
Signed-off-by: Shenoy Pratik <sgguruda@amazon.com>
(cherry picked from commit 279463a)
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
ps48 pushed a commit that referenced this pull request Sep 9, 2024
(cherry picked from commit 279463a)

Signed-off-by: Shenoy Pratik <sgguruda@amazon.com>
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>
ps48 pushed a commit that referenced this pull request Sep 9, 2024
(cherry picked from commit 279463a)

Signed-off-by: Shenoy Pratik <sgguruda@amazon.com>
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>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants