djplaner / canvas-collections

Transform Canvas LMS modules by adding structure, visuals, and context
https://djplaner.github.io/canvas-collections/
GNU General Public License v3.0
1 stars 0 forks source link

Implement date/date ranges using standard calendar dates #249

Closed djplaner closed 1 year ago

djplaner commented 1 year ago

Using shoelaces input types implement a way to specify a date/date range for a module using a generic calendar. No abstract institutional calendars.

djplaner commented 1 year ago

Design

Sub-tasks

Finalise

Minor tasks

Next steps

djplaner commented 1 year ago

Restart

Current implementation

djplaner commented 1 year ago

Problem with reactivity of show "start date" components

Show works for start date initially, but if the stop date is cleared, it stops working. Set the stop date again and the show components work again.

What happens when the stop date is cleared?

updateModuleDate is triggered when calendarDate is changed. If value is "" it then resets all the components of the start/stop date.

What happens when show component clicked

In theory, a configStore value is changed and that reactively triggers DateWidget

It appears to be the switch to single date - single date is wrong?? -- yep. Fixed.