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

feat(ScrollTo): use fulls URLs, allow replace and render anchor links #4030

Merged
merged 4 commits into from
Feb 15, 2024

Conversation

nantunes
Copy link
Collaborator

No description provided.

@nantunes nantunes requested a review from a team as a code owner February 14, 2024 14:01
@nantunes nantunes requested review from zettca and VGervasio and removed request for a team February 14, 2024 14:01
@github-actions github-actions bot temporarily deployed to uikit/pr-4030 February 14, 2024 14:05 Destroyed
@github-actions github-actions bot temporarily deployed to uikit-app/pr-4030 February 14, 2024 14:05 Destroyed
@github-actions github-actions bot temporarily deployed to uikit-docs/pr-4030 February 14, 2024 14:06 Destroyed
@github-actions github-actions bot temporarily deployed to uikit/pr-4030 February 14, 2024 14:11 Destroyed
@github-actions github-actions bot temporarily deployed to uikit-app/pr-4030 February 14, 2024 14:12 Destroyed
@github-actions github-actions bot temporarily deployed to uikit-docs/pr-4030 February 14, 2024 14:12 Destroyed
@github-actions github-actions bot temporarily deployed to uikit/pr-4030 February 14, 2024 14:32 Destroyed
@github-actions github-actions bot temporarily deployed to uikit-app/pr-4030 February 14, 2024 14:33 Destroyed
@github-actions github-actions bot temporarily deployed to uikit-docs/pr-4030 February 14, 2024 14:33 Destroyed
Copy link
Contributor

@MEsteves22 MEsteves22 left a comment

Choose a reason for hiding this comment

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

LGTM 🙏

I just had the following questions/doubts while reviewing:

  • The scroll item default role changed from button to link. I think this can be considered a breaking change. However, this change/fix makes sense to me since href defaults to true. Was this intentional?
  • relativeLinks defaults to false but I believe that to maintain the previous behaviour it should default to true. Can this change lead to any breaking change to the users that I'm not seeing?

Copy link
Member

@zettca zettca 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 overall 👍

The navigationMode feels like it should be the router's responsibility, but this is a good compromise.

A few notes regarding API & docs:

@github-actions github-actions bot temporarily deployed to uikit/pr-4030 February 15, 2024 12:04 Destroyed
@github-actions github-actions bot temporarily deployed to uikit-app/pr-4030 February 15, 2024 12:04 Destroyed
Copy link
Member

@zettca zettca left a comment

Choose a reason for hiding this comment

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

🚀

@zettca zettca merged commit 42299a4 into master Feb 15, 2024
14 checks passed
@zettca zettca deleted the scroll_to branch February 15, 2024 17:57
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.

None yet

3 participants