elegant
elegant copied to clipboard
refactor(categories, comments): remove Bootstrap.js
Prerequisites
- [x] My Pull Request is filled against the
next
branch - [x] All commits in my Pull Request conform to Elegant Git commit Guidelines
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.)
Are there any issues with my Request or any ETA for when this can/will be merged ?