djplaner / Content-Interface-Tweak

Improves both the task of creating content for Blackboard Learn, and reading that content.
https://djplaner.github.io/Content-Interface-Tweak/
GNU General Public License v3.0
0 stars 0 forks source link

Enable the Content Interface to remember which accordions are open #20

Closed djplaner closed 3 years ago

djplaner commented 4 years ago

Problem

With a complex accordion interface the current state of the accordions can be a complex process to recreate. Which is what uses have to currently do if they navigate away. Negative feedback from the Media Law students.

Proposed solution

Have the Content Interface use localstorage to remember the state of the accordions.

djplaner commented 4 years ago

Currently one of the last things CI does is check to see if a URL parameter has been passed specifying which accordion to open.

If there is one, we would want to ignore (and update localStorage).

If there isn't one, that's when we'd want to open the contents of localStorage if there is one.

To do