Skip to content

Conversation

@cycomachead
Copy link
Contributor

The integrations for Canvas and Gradescope need updating. They need to set the late due date field when posting an extension.

  • If the original assignment has no late due date, leave it empty
  • otherwise shift the original late due date by the same delta as new due date.

Create new course setting, true by default, and add a script to back fill all old courses called "Extend Late Due Date Automatically"

  • if this setting is off, AND the late due date is present on the original assignment then ensure the NEW late due date is the later of the original late due date and the approved extended due date. (i.e. make sure the new late due date is at least the same as or later than the new extended due date.)

Please add tests and suggest refactoring as necessary


Superconductor Ticket Implementation | App Preview

Updated LMS integrations to automatically manage late due dates (lock dates) when provisioning extensions. Added a new course setting to control whether late due dates shift by the extension delta or remain at the later of the original late date and the new due date.

- Added `extend_late_due_date` to course settings with a UI toggle
- Implemented late due date calculation logic in the Request model
- Updated CanvasFacade to use `close_date` (lock_at)
- Updated GradescopeFacade to use `late_due_date` (hard_due_date)
- Added database migration and backfill rake task for existing courses
- Added comprehensive unit tests for models and facades

Co-authored-by: Claude Code <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant