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

[XM Cloud][Angular] Navigation component link forces full page reload #1958

Merged
merged 3 commits into from
Oct 25, 2024

Conversation

illiakovalenko
Copy link
Contributor

@illiakovalenko illiakovalenko commented Oct 24, 2024

Description / Motivation

In order to perform the client side routing without the full page refresh we need to use "scRouterLink" in Navigation component instead of regular "scLink"

Testing Details

  • Unit Test Added
  • Manual Test/Other (Please elaborate)

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)

@illiakovalenko illiakovalenko requested a review from a team October 24, 2024 06:32
Copy link
Contributor

@art-alexeyenko art-alexeyenko left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Heh, it was that easy. Good find

Copy link
Contributor

@art-alexeyenko art-alexeyenko left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looking at other components, should scLink also be replaced in promo and link-list?

@illiakovalenko
Copy link
Contributor Author

@art-alexeyenko Good catch! I forgot to update other components. Additionally, I updated Title, Image components and used "scGenericLink" since the link can be both relative and absolute

Copy link
Contributor

@art-alexeyenko art-alexeyenko left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good catch on generic link. Thank you

@art-alexeyenko art-alexeyenko merged commit 1007859 into dev Oct 25, 2024
1 check passed
@art-alexeyenko art-alexeyenko deleted the bugfix/JSS-4413 branch October 25, 2024 13:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants