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

Replace Tocbot with functionality from Bootstrap and remove jQuery #487

Closed
wants to merge 5 commits into from

Conversation

FestplattenSchnitzel
Copy link
Member

Why ship Tocbot if Bootstrap can do it already?

Also see https://getbootstrap.com/docs/5.3/components/scrollspy/ for
reference.

sipa/static/js/register_identify.js Outdated Show resolved Hide resolved
sipa/static/js/register_identify.js Outdated Show resolved Hide resolved
@lukasjuhrich lukasjuhrich changed the title Replace Tocbot with functionality from Bootstrap Replace Tocbot with functionality from Bootstrap and remove jQuery Feb 24, 2024
Copy link
Collaborator

@lukasjuhrich lukasjuhrich left a comment

Choose a reason for hiding this comment

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

See my comment regarding tocbot; Please create separate PRs for

Re minification, I wanted to complain that you didn't include source maps, but neither pygal nor htmx provide those. Not ideal, but solving this would require a build step for sipa where we minify and gzip things ourselves. That can / should be tackled separately.

sipa/templates/usersuite/index.html Show resolved Hide resolved
sipa/static/js/contact-hints.js Show resolved Hide resolved
@FestplattenSchnitzel
Copy link
Member Author

Please create separate PRs for

Done, see #491, #492 .

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