Before I refactor the JavaScript for the collapsing list component, I want to make sure we that we still want to use it on the site.
This component gives animated collapsing functionality to lists and adds "Expand All" and "Collapse All" buttons.
The collapsing list component is used in four places:
- The "Intro to Django" section of Getting Started with Django
- A standard use of the component
- The "Django RSS Feeds" section of Community
- A standard use of the component
- The "Archives" section of the the blog sidebar
- Customized to hide the "Expand All" and "Collapse All" buttons
- The bottom of the Style Guide
So it's used, but not much.
I think these are our options:
- Keep the component as-is and refactor the JavaScript
- Replace it with simpler, more specific JavaScript
- Remove the animation?
- Remove the "Collapse All" button?
- Etc.
- Remove the JavaScript altogether and use the
details element
- This would probably require a bit of CSS
I'm curious what other WG members think. I will be happy to to implement any of the above or another idea.
Before I refactor the JavaScript for the collapsing list component, I want to make sure we that we still want to use it on the site.
This component gives animated collapsing functionality to lists and adds "Expand All" and "Collapse All" buttons.
The collapsing list component is used in four places:
So it's used, but not much.
I think these are our options:
detailselementI'm curious what other WG members think. I will be happy to to implement any of the above or another idea.