creativecommons / faq

Creative Commons FAQ page
https://creativecommons.org/faq/
Other
7 stars 18 forks source link

Move links in toc into <details> tags to make page more user friendly #29

Open akmadian opened 5 years ago

akmadian commented 5 years ago

Is your feature request related to a problem? Please describe. This isn't necessarily a problem, just something I think would be a good change. The FAQ page has a lot of links at the top, and they're all packed together. I think it would be more user friendly to separate them into <details> elements, and allow them to drop down instead of having all visible, all the time. This would (in my opinion) make it easier to find what a user would want by searching categorically, instead of trying to parse the sea of blue letters.

Describe the solution you'd like Make the "section heading" parts into <details> elements.

Describe alternatives you've considered I can't think of anything other than putting the links into dropdowns...

I would be happy to work on this, pending approval, of course :)

akmadian commented 5 years ago

I'm not sure if this is possible or not because of how the page is built, because the toc is generated, then injected into the html. This would have to be done within the build process, and (as far as I can tell) depends on whether pandoc offers this feature, sadly, I haven't been able to find anything like this so far.

I suppose it would be possible to inject the details tags after pandoc runs through a python script or something of the sort, and this could just be run after pandoc in build.sh

cthomas88 commented 4 years ago

I think the adaptations I have made locally to the FAQ page on Creative Commons May solve this issue. I’ll be submitting it as a pull request within the next 12 hours

Parimal7 commented 4 years ago

Hi can I work on this issue?

cangreja533 commented 4 years ago

Hi, i'm a internship applicant outreachy. I can I work on this issue?

iprasandeep commented 4 years ago

Hey, Can i work on this issue ??

kgodey commented 4 years ago

@prasandeep69 this is an old issue that we no longer want to do, since we plan to revamp the FAQs separately. Sorry that it was still marked "help wanted", please find a different issue to work on.