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

Migrate TOC scrollspy to not rely on bootstrap #5275

Closed
parlough opened this issue Oct 23, 2023 · 1 comment
Closed

Migrate TOC scrollspy to not rely on bootstrap #5275

parlough opened this issue Oct 23, 2023 · 1 comment
Assignees
Labels
e1-hours Can complete in < 8 hours of normal, not dedicated, work infra.design Relates to the design of docs.Dart.dev infra.performance Relates to optimizing site load or experience. infra.structure Relates to the tools that create dart.dev p3-low Valid but not urgent concern. Resolve when possible. Encourage upvote to surface. st.triage.ltw Indicates Lead Tech Writer has triaged

Comments

@parlough
Copy link
Member

To contribute to #4164, migrate away the current TOC scrollspy (visible header highlighter) to not be reliant on bootstrap.

We can implement something similar (and likely leaner) with https://developer.mozilla.org/en-US/docs/Web/API/Intersection_Observer_API.

@parlough parlough added infra.structure Relates to the tools that create dart.dev p2-medium Necessary but not urgent concern. Resolve when possible. infra.design Relates to the design of docs.Dart.dev e1-hours Can complete in < 8 hours of normal, not dedicated, work infra.performance Relates to optimizing site load or experience. labels Oct 23, 2023
@parlough parlough added p3-low Valid but not urgent concern. Resolve when possible. Encourage upvote to surface. and removed p2-medium Necessary but not urgent concern. Resolve when possible. labels Nov 7, 2023
@atsansone atsansone added the st.triage.ltw Indicates Lead Tech Writer has triaged label Jun 12, 2024
@parlough parlough self-assigned this Feb 22, 2025
@parlough
Copy link
Member Author

I finalized the removal of Bootstrap in bde3186. In-progress work will introduce an overhauled TOC for both narrow and wide layouts.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
e1-hours Can complete in < 8 hours of normal, not dedicated, work infra.design Relates to the design of docs.Dart.dev infra.performance Relates to optimizing site load or experience. infra.structure Relates to the tools that create dart.dev p3-low Valid but not urgent concern. Resolve when possible. Encourage upvote to surface. st.triage.ltw Indicates Lead Tech Writer has triaged
Projects
None yet
Development

No branches or pull requests

2 participants