Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Require due date when setting assignments and tests #1288

Merged
merged 2 commits into from
Jan 30, 2025

Conversation

jsharkey13
Copy link
Member

The Assignment Schedule didn't seem to disable the button on an invalid due date or show the warning, so this fixes the logic in Set Assignments and copies it over too.
Quizzes have a slightly different check to assignments because the deadlines work differently, but this may no longer be necessary in the future.

The Assignment Schedule didn't seem to disable the button on an invalid
due date or show the warning, so this fixes the logic in Set Assignments
and copies it over too.
Quizzes have a slightly different check to assignments because the
deadlines work differently, but this may no longer be necessary in the
future.
This does nothing to check that the due date is correct or meaningful,
just that it is possible to select one.
Copy link

codecov bot commented Jan 29, 2025

Codecov Report

Attention: Patch coverage is 40.00000% with 3 lines in your changes missing coverage. Please review.

Project coverage is 36.67%. Comparing base (e83ae55) to head (8a593d2).
Report is 8 commits behind head on master.

Files with missing lines Patch % Lines
src/app/components/pages/AssignmentSchedule.tsx 0.00% 2 Missing ⚠️
...pp/components/elements/modals/QuizSettingModal.tsx 0.00% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master    #1288      +/-   ##
==========================================
+ Coverage   36.48%   36.67%   +0.18%     
==========================================
  Files         456      456              
  Lines       19855    19855              
  Branches     5856     6508     +652     
==========================================
+ Hits         7245     7282      +37     
+ Misses      12572    12535      -37     
  Partials       38       38              

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@axlewin axlewin merged commit b923fbc into master Jan 30, 2025
8 checks passed
@axlewin axlewin deleted the feature/required-due-dates branch January 30, 2025 13:37
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.

2 participants