Skip to content

[Bugfix:InstructorUI] Course Staff Table Highlight#13037

Merged
bmcutler merged 7 commits into
mainfrom
details-display-tables-striped-rows-fix
Jul 15, 2026
Merged

[Bugfix:InstructorUI] Course Staff Table Highlight#13037
bmcutler merged 7 commits into
mainfrom
details-display-tables-striped-rows-fix

Conversation

@NicholasCiuica

@NicholasCiuica NicholasCiuica commented Jul 14, 2026

Copy link
Copy Markdown
Member

Why is this Change Important & Necessary?

Fixes #12584, Related to #12996
Should only be merged after #12996 for easier testing and important CSS changes

What is the New Behavior?

Course staff are now properly highlighted on the Simple Grading and Gradeable Details pages. Also, the Gradeable Details page also uses the same blue to highlight the course staff as the rest of the gradeable tables.

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

Please follow the testing procedure on multiple browsers (at least Chromium and Firefox).

  1. Go to the main branch
  2. Go to the following gradeables, and for each of them you should see that staff are not highlighted in the tables:
    i. Open a gradeable with student file submission
    ii. Make a Numeric gradeable with at least on numeric column and at least one text column
    iii. Make a Checkpoint gradeable with at least one checkpoint column and at least one text column
image
  1. Now go to this branch and submitty_install_site
  2. Open each gradeable that you opened/made on main and you should now see that staff are highlighted in the tables:
Screenshot 2026-07-14 111103

EDIT: Please ensure that on the numeric and checkpoint gradeables row highlighting stops at the user's identifying information, so that the highlight doesn't interfere with checkpoint grading cells or numeric/text input cells.

e.g.
image

Automated Testing & Documentation

There are currently no tests that check for highlighted staff rows in the gradeable tables. Should there be?

fixes alternating row colors for gradeable tables, and reuses existing row counter css to add counters to these tables (the hacky part, because of code reuse). A better solution would be to unify these tables styles in one file, but that would require its own pr because table css is distributed and messy.
@github-project-automation github-project-automation Bot moved this to Seeking Reviewer in Submitty Development Jul 14, 2026
@automateprojectmangement automateprojectmangement Bot moved this from Seeking Reviewer to Work in Progress in Submitty Development Jul 14, 2026
@codecov

codecov Bot commented Jul 14, 2026

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 0% with 7 lines in your changes missing coverage. Please review.
✅ Project coverage is 21.11%. Comparing base (16b67e9) to head (3ba345f).

Additional details and impacted files

Impacted file tree graph

@@             Coverage Diff              @@
##               main   #13037      +/-   ##
============================================
+ Coverage     21.09%   21.11%   +0.01%     
  Complexity    10115    10115              
============================================
  Files           279      279              
  Lines         38167    38133      -34     
  Branches        585      578       -7     
============================================
  Hits           8051     8051              
+ Misses        29544    29517      -27     
+ Partials        572      565       -7     
Flag Coverage Δ
autograder 21.16% <ø> (ø)
js 1.78% <0.00%> (+0.01%) ⬆️
migrator 100.00% <ø> (ø)
php 20.19% <ø> (ø)
python_submitty_utils 79.83% <ø> (ø)
submitty_daemon_jobs 91.13% <ø> (ø)
vue 100.00% <ø> (ø)

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.

@NicholasCiuica
NicholasCiuica marked this pull request as ready for review July 14, 2026 18:43
@automateprojectmangement automateprojectmangement Bot moved this from Work in Progress to Seeking Reviewer in Submitty Development Jul 14, 2026

@mattLif mattLif 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.

I verified that staff names are highlighted on gradeable details pages on both light and dark mode. Code looks good too.

@github-project-automation github-project-automation Bot moved this from Seeking Reviewer to Awaiting Maintainer Review in Submitty Development Jul 15, 2026
@bmcutler
bmcutler merged commit e4da923 into main Jul 15, 2026
29 checks passed
@bmcutler
bmcutler deleted the details-display-tables-striped-rows-fix branch July 15, 2026 15:50
@github-project-automation github-project-automation Bot moved this from Awaiting Maintainer Review to Done in Submitty Development Jul 15, 2026
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.

Course Staff not Highlighted in Simple Grading and gradeable details page

3 participants