Skip to content

[Bugfix:InstructorUI] Fix checkpoint dates#11983

Merged
bmcutler merged 2 commits into
mainfrom
fix-checkpoint-dates
Aug 8, 2025
Merged

[Bugfix:InstructorUI] Fix checkpoint dates#11983
bmcutler merged 2 commits into
mainfrom
fix-checkpoint-dates

Conversation

@williamschen23

Copy link
Copy Markdown
Contributor

Why is this Change Important & Necessary?

#11539 added this line. This line does not work for checkpoint gradeables as gradeable.js does not get included. This would cause all the dates to fail as the event listeners below it are in control of the dates

What is the New Behavior?

We should only load bulk uploads if we have an electronic gradeable

What steps should a reviewer take to reproduce or test the bug or new feature?

Visit the checkpoint gradeable edit page. Notice error in console. Go to dates, notice that you cannot change any as a refresh will clear it

Automated Testing & Documentation

#11982

Other information

@codecov

codecov Bot commented Aug 6, 2025

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 21.67%. Comparing base (740bc69) to head (4f005cd).
⚠️ Report is 7 commits behind head on main.

Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff            @@
##               main   #11983   +/-   ##
=========================================
  Coverage     21.67%   21.67%           
  Complexity     9491     9491           
=========================================
  Files           267      267           
  Lines         36272    36272           
  Branches        474      474           
=========================================
  Hits           7863     7863           
  Misses        27939    27939           
  Partials        470      470           
Flag Coverage Δ
autograder 21.31% <ø> (ø)
js 2.07% <ø> (ø)
migrator 100.00% <ø> (ø)
php 20.68% <ø> (ø)
python_submitty_utils 80.08% <ø> (ø)
submitty_daemon_jobs 90.72% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@lavalleeale lavalleeale left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

tested locally and code change lgtm

@github-project-automation github-project-automation Bot moved this from Seeking Reviewer to Awaiting Maintainer Review in Submitty Development Aug 8, 2025
@martig7

martig7 commented Aug 8, 2025

Copy link
Copy Markdown
Contributor

Can confirm that this works

@bmcutler
bmcutler merged commit d2eac56 into main Aug 8, 2025
25 checks passed
@bmcutler
bmcutler deleted the fix-checkpoint-dates branch August 8, 2025 17:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

4 participants