-
Notifications
You must be signed in to change notification settings - Fork 24.8k
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(docs-infra): preserves query and hash when switching angular versions #35318
Conversation
607b1f6
to
4cc785e
Compare
@petebacondarwin / @gkalpak Are we OK with this one? |
You can preview 607b1f6 at https://pr35318-607b1f6.ngbuilds.io/. |
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.
Thx, @sonukapoor!
Please change the commit message to something like:
fix(docs-infra): maintain
pathname
...
4cc785e
to
bf3594e
Compare
You can preview bf3594e at https://pr35318-bf3594e.ngbuilds.io/. |
bf3594e
to
8ab07f5
Compare
You can preview 8ab07f5 at https://pr35318-8ab07f5.ngbuilds.io/. |
You can preview 73836ef at https://pr35318-73836ef.ngbuilds.io/. |
ffe458c
to
f106d1c
Compare
You can preview f106d1c at https://pr35318-f106d1c.ngbuilds.io/. |
288e487
to
f3cdc12
Compare
You can preview f3cdc12 at https://pr35318-f3cdc12.ngbuilds.io/. |
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.
Also, please, make sure you follow the commit message guidelines in all commit messages.
Is there something wrong with the current commit messages of this PR? |
You can preview b9bdeb6 at https://pr35318-b9bdeb6.ngbuilds.io/. |
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.
Regarding the commit messages:
- The first commit message still mentions only
pathname
, while the commit now also preserves query and hash. - The subject should not start with a capital letter (i.e.
fix(docs-infra): Maintain
-->fix(docs-infra): maintain
). - The second commit (and its fixup) should use the
style
type:style: Changes that do not affect the meaning of the code (white-space, formatting, missing semi-colons, etc)
…ions Previously, when switching angular versions through the version selector in the sidenav, the query and hash is lost. The user has to manually navigate to the original location again. This commit fixes this issue and preserves the query and hash when navigating between different versions. Closes angular#24495
b9bdeb6
to
d4e9175
Compare
You can preview d4e9175 at https://pr35318-d4e9175.ngbuilds.io/. |
pathname
when switching angular versions…ions (#35318) Previously, when switching angular versions through the version selector in the sidenav, the query and hash is lost. The user has to manually navigate to the original location again. This commit fixes this issue and preserves the query and hash when navigating between different versions. Closes #24495 PR Close #35318
This issue has been automatically locked due to inactivity. Read more about our automatic conversation locking policy. This action has been performed automatically by a bot. |
Previously, when switching angular versions through the
version selector in the sidenav, the path is lost, and the
user has to manually navigate to the original location.
This commit fixes this issue and maintains the
pathname
when navigating between different versions.
Closes #24495
PR Checklist
Please check if your PR fulfills the following requirements:
PR Type
What kind of change does this PR introduce?
What is the current behavior?
Issue Number: #24495
What is the new behavior?
Does this PR introduce a breaking change?
Other information