Skip to content

[Bugfix:TAGrading] Persistent Full Left Column#12224

Merged
bmcutler merged 1 commit intomainfrom
left-panel-fix
Nov 25, 2025
Merged

[Bugfix:TAGrading] Persistent Full Left Column#12224
bmcutler merged 1 commit intomainfrom
left-panel-fix

Conversation

@JManion32
Copy link
Contributor

Why is this Change Important & Necessary?

Fixes #12221
The side-by-side, taller left panel option in the TAGrading interface could be successfully toggled, but was not persistent upon page reload. This issue only affected non-instructors because the initialization logic for the interface was checking that both the user preference for the panel was true, and that the silent edit checkbox existed on the DOM, which is a feature for instructors only.

What is the New Behavior?

Removed the second check, and now the initialization logic works as expected, making the user's left column preference persistent. I can't think of how silent regrading and panel preferences are/were related, perhaps its just the result of many years of changes to the TA grading code.

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

  1. Replicate issue on main (as TA)
  2. Verify that the issue is resolved on this branch

Automated Testing & Documentation

There are no tests for this change. It may be a good idea to make a Cypress test in a future PR for all of these preferences to ensure they are working as expected.

Other information

This is not a breaking change.

@codecov
Copy link

codecov bot commented Nov 23, 2025

Codecov Report

❌ Patch coverage is 0% with 1 line in your changes missing coverage. Please review.
✅ Project coverage is 21.71%. Comparing base (d7f9077) to head (7a6a971).
⚠️ Report is 1 commits behind head on main.

Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff            @@
##               main   #12224   +/-   ##
=========================================
  Coverage     21.71%   21.71%           
  Complexity     9612     9612           
=========================================
  Files           268      268           
  Lines         36070    36070           
  Branches        475      475           
=========================================
  Hits           7832     7832           
  Misses        27767    27767           
  Partials        471      471           
Flag Coverage Δ
autograder 21.39% <ø> (ø)
js 2.07% <0.00%> (ø)
migrator 100.00% <ø> (ø)
php 20.71% <ø> (ø)
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.

@automateprojectmangement automateprojectmangement bot moved this from Seeking Reviewer to In Review in Submitty Development Nov 24, 2025
@williamschen23
Copy link
Contributor

oh boy not this again

@github-project-automation github-project-automation bot moved this from In Review to Awaiting Maintainer Review in Submitty Development Nov 24, 2025
@williamschen23
Copy link
Contributor

I can't think of how silent regrading and panel preferences are/were related, perhaps its just the result of many years of changes to the TA grading code.

If I remember correctly, this was a fix to fullScreenMode being shown on instructor rubric. I think this issue got fixed and this bug got made in the same PR.

@williamschen23
Copy link
Contributor

williamschen23 commented Nov 24, 2025

Ohhhhhh i remember now. I mistyped toggleFullLeftColumnMode as toggleFullScreenMode. This made it so that every time you had full left it toggled full screen. This caused the instructor rubric to toggle full screen randomally. This change was made to not screw with the instructor rubric. After we realized this mistake and changed it back to toggleFullLeftColumnMode, this was forgotten

@JManion32 JManion32 moved this from Awaiting Maintainer Review to Ready to Merge in Submitty Development Nov 24, 2025
@bmcutler bmcutler merged commit 706751e into main Nov 25, 2025
28 checks passed
@bmcutler bmcutler deleted the left-panel-fix branch November 25, 2025 00:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

Full height left column not staying when moving to next student to grade

3 participants