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

Scroll into view sidebar #3376

Merged
merged 2 commits into from
Dec 30, 2024
Merged

Scroll into view sidebar #3376

merged 2 commits into from
Dec 30, 2024

Conversation

thetwopct
Copy link
Collaborator

@thetwopct thetwopct commented Dec 29, 2024

Describe your changes

Due to the length of the sidebar content, it was commented that finding the next/previous pages in the sidebar was difficult (see #3209). This PR keeps the current active item in view in the sidebar, so navigating should be easier.

Preview:

Screenshot-2024-12-29.--22.57.06.mp4

Related issue number or link (ex: resolves #issue-number)

Resolves #3209

Checklist before opening this PR (put x in the checkboxes)

  • This PR does not contain plagiarism
    • don’t copy other people’s work unless you are quoting and contributing it to them.
  • I have signed off on all commits
    • signing off (ex: git commit -s) is to affirm that commits comply DCO. If you are working locally, you could add an alias to your gitconfig by running git config --global alias.ci "commit -s".

@thetwopct thetwopct marked this pull request as ready for review December 29, 2024 16:02
Copy link

netlify bot commented Dec 29, 2024

Deploy Preview for cncfglossary ready!

Name Link
🔨 Latest commit 040e14b
🔍 Latest deploy log https://app.netlify.com/sites/cncfglossary/deploys/67717271415fe6000885d2cb
😎 Deploy Preview https://deploy-preview-3376--cncfglossary.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

Copy link
Collaborator

@jihoon-seo jihoon-seo left a comment

Choose a reason for hiding this comment

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

This is a nice enhancement. LGTM!

Copy link
Collaborator

@seokho-son seokho-son left a comment

Choose a reason for hiding this comment

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

LGTM, @thetwopct ! Thanks for the enhancement.

@seokho-son seokho-son merged commit 879b6c7 into main Dec 30, 2024
8 checks passed
@jihoon-seo jihoon-seo deleted the scroll-into-view-sidebar branch December 30, 2024 05:28
@nate-double-u
Copy link
Member

Nice update, thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
4 participants