Skip to content

[Feature:RainbowGrades] Rainbow Grades Nightly Builds Banner#12139

Merged
bmcutler merged 16 commits intomainfrom
rainbow-grade-nightly-warning
Nov 14, 2025
Merged

[Feature:RainbowGrades] Rainbow Grades Nightly Builds Banner#12139
bmcutler merged 16 commits intomainfrom
rainbow-grade-nightly-warning

Conversation

@Rkoester47
Copy link
Contributor

@Rkoester47 Rkoester47 commented Oct 14, 2025

Why is this Change Important & Necessary?

Partially Fixes #11599 with added customization for archived courses to come in a future PR.

Currently, there is no indication of the status of Rainbow Grades nightly builds, besides going to the actual toggle for this feature and seeing if it is checked off.

What is the New Behavior?

(Firefox)

v2darkDisabled v2darkEnabled v2LightDisabled v2LightEnabled

The message indicating the status of Rainbow Grades Nightly Builds is now displayed under the "Generate Grade Summaries" button, just below the "Last ran" information. This way, the message is not crowding the title, and instead provides helpful information in the body of the page.

The previous version of the banner is currently commented out until the final format for this message is decided.

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

Go to the Submitty test site, toggle Nightly Builds in Course Settings and go to the Grades Configuration page each time to see if the info message appropriately displays whether the nightly builds feature is enabled or disabled.

Automated Testing & Documentation

Other information

This is not a breaking change.

@codecov
Copy link

codecov bot commented Oct 14, 2025

Codecov Report

❌ Patch coverage is 0% with 5 lines in your changes missing coverage. Please review.
✅ Project coverage is 21.71%. Comparing base (b1babe4) to head (1583a7d).
⚠️ Report is 2 commits behind head on main.

Additional details and impacted files

Impacted file tree graph

@@             Coverage Diff              @@
##               main   #12139      +/-   ##
============================================
- Coverage     21.71%   21.71%   -0.01%     
- Complexity     9611     9612       +1     
============================================
  Files           268      268              
  Lines         36068    36073       +5     
  Branches        475      475              
============================================
  Hits           7832     7832              
- Misses        27765    27770       +5     
  Partials        471      471              
Flag Coverage Δ
autograder 21.39% <ø> (ø)
js 2.07% <ø> (ø)
migrator 100.00% <ø> (ø)
php 20.71% <0.00%> (-0.01%) ⬇️
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.

Copy link
Contributor

@RyanStyron RyanStyron left a comment

Choose a reason for hiding this comment

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

Looks good to me. One minor suggestion: rename "nightly builds" in the warning message to "Nightly Builds" to be more consistent with the documentation. Also, please address the Lint failure.

@github-project-automation github-project-automation bot moved this from Seeking Reviewer to Work in Progress in Submitty Development Oct 15, 2025
Copy link
Contributor

@RyanStyron RyanStyron left a comment

Choose a reason for hiding this comment

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

Please resolve Lint failures, but looks great otherwise.

@github-project-automation github-project-automation bot moved this from Work in Progress to Awaiting Maintainer Review in Submitty Development Oct 17, 2025
@bmcutler
Copy link
Member

@Rkoester47
I'm not a fan of the placement of this banner. It's crowding the page title, and the title is now inconsistent with the title on other Submitty pages. This banner is just providing information -- we do not need the instructor to do anything -- the current setting may be what they intend.

I think this message should appear a bit lower on the page, perhaps next to the 'generate grade summaries' button. After all, this nightly build feature hopefully means they will less frequently need to do the manual generate grade summaries + additional steps to push grades to students. I am worried if we make it smaller and put it close to the generate grade summaries button, this banner will look like a button except its not clickable, which could be confusing.

@bmcutler bmcutler moved this from Awaiting Maintainer Review to In Review in Submitty Development Oct 17, 2025
Also changed the colors to use Submitty variables instead of hard coded colors.
@github-project-automation github-project-automation bot moved this from In Review to Awaiting Maintainer Review in Submitty Development Oct 21, 2025
@Rkoester47 Rkoester47 moved this from Awaiting Maintainer Review to Ready to Merge in Submitty Development Nov 13, 2025
@bmcutler
Copy link
Member

@Rkoester47
Can you fix the merge conflicts?
(sorry if I merged your PRs in the wrong order)

@bmcutler bmcutler merged commit 15ed020 into main Nov 14, 2025
24 of 25 checks passed
@bmcutler bmcutler deleted the rainbow-grade-nightly-warning branch November 14, 2025 04:21
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.

Add warning when Rainbow Grades Nightly Builds are on

3 participants