doubtfire-lms / doubtfire-web

Angular web application for the Doubtfire front-end
GNU Affero General Public License v3.0
45 stars 332 forks source link

Extension modal refactor #837

Closed ublefo closed 4 months ago

ublefo commented 4 months ago

List of changes

Notes

Date picker range logic:

Screenshots

Reason not provided: image

Reason not long enough: image

The current target date (displayed as due date on the frontend) is 14 May, available range starts at 15 May: image

The due date (hard deadline) is 18 May, so the extension can only be selected up to that day: image

Overdue task, target date is 2 Apr, starting date in the date picker is the next day after today (1 May), since it doesn't make sense to request extensions to a past date: image