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

refactor(categories, comments): remove Bootstrap.js #637

Open
wants to merge 1 commit into
base: next
Choose a base branch
from
Open

refactor(categories, comments): remove Bootstrap.js #637

wants to merge 1 commit into from

Conversation

hno2
Copy link

@hno2 hno2 commented Aug 11, 2020

Prerequisites

Recommended Steps

  • My patch adds a new feature, therefore I have also added a help article about it
  • My patch changes Elegant behavior, therefore I have updated the help article to reflect this change
  • My commits are signed

Description

Removing Bootstrap.js in the base.html requires a refactor to make the accordions on the categories
page and in the comment section work correctly. This commit refactores the accordion with a hidden
checkbox and some css. Additionally some JavaScript was changed to allow anchor linking to a specific category
and opening it. The existing jQuery was refactored to vanilla js. This is part of the ongoing progress to remove Bootstrap completly in Pull Request #500 and Issue #429.

Thanks for your help in advance. Please be kind, this is my first real pull request to Open Source and I am not a JavaScript God. (Sorry for any mistakes, hope I followed all guidelines.)

Removing Bootstrap.js in the base.html requires a refactor to make the accordions on the categories
page and in the comment section work correctly. This commit refactores the accordion with a hidden
checkbox and some css. Aditionally some js was changed to allow anchorlinking to a specific category
and opening it.
@hno2
Copy link
Author

hno2 commented Nov 21, 2020

Are there any issues with my Request or any ETA for when this can/will be merged ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

Successfully merging this pull request may close these issues.

2 participants