Skip to content

[UI/UX:InstructorUI] Condense Autograding Testcase Buttons#12436

Merged
bmcutler merged 8 commits into
mainfrom
condense_autograding_buttons_fix
Mar 24, 2026
Merged

[UI/UX:InstructorUI] Condense Autograding Testcase Buttons#12436
bmcutler merged 8 commits into
mainfrom
condense_autograding_buttons_fix

Conversation

@dagemcn

@dagemcn dagemcn commented Feb 19, 2026

Copy link
Copy Markdown
Member

Why is this Change Important & Necessary?

Closes #12432

What is the New Behavior?

image Before, there was an extraneous regrade button that could be placed into the drop down menu. After: image The regrade active version has been placed into the drop down menu.

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

  1. Log in as instructor
  2. Go to any graded gradeable.
  3. Click any student with autograding complete
  4. See buttons

Automated Testing & Documentation

Manual Testing: Tested with Opera on Linux to verify accuracy of new changes.
No automated testing for this change.

Other information

This is not a breaking change.
There are no known security vulnerabilities with this change.

@codecov

codecov Bot commented Feb 19, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 21.66%. Comparing base (9cb25d6) to head (928e97a).
⚠️ Report is 12 commits behind head on main.

Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff            @@
##               main   #12436   +/-   ##
=========================================
  Coverage     21.66%   21.66%           
  Complexity     9637     9637           
=========================================
  Files           268      268           
  Lines         36222    36222           
  Branches        487      487           
=========================================
  Hits           7847     7847           
  Misses        27892    27892           
  Partials        483      483           
Flag Coverage Δ
autograder 21.32% <ø> (ø)
js 2.04% <ø> (ø)
migrator 100.00% <ø> (ø)
php 20.68% <ø> (ø)
python_submitty_utils 80.08% <ø> (ø)
submitty_daemon_jobs 91.13% <ø> (ø)

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.

@Rkoester47 Rkoester47 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 tested the changes made on this PR and they are working as described. I think it was a good idea to consolidate the buttons on this page, and the solution here is efficient and clean. The functionality of the page is intact and the look and intuitiveness have been improved. Good work fixing up these buttons.

Regarding your implementation, it seems like you left a block of your own commented out code in the branch. If this didn't end up being needed for your implementation, perhaps we should remove it from AutogradingPanel.ts.

@github-project-automation github-project-automation Bot moved this from Seeking Reviewer to Work in Progress in Submitty Development Feb 19, 2026
@dagemcn

dagemcn commented Feb 20, 2026

Copy link
Copy Markdown
Member Author

I tested the changes made on this PR and they are working as described. I think it was a good idea to consolidate the buttons on this page, and the solution here is efficient and clean. The functionality of the page is intact and the look and intuitiveness have been improved. Good work fixing up these buttons.

Regarding your implementation, it seems like you left a block of your own commented out code in the branch. If this didn't end up being needed for your implementation, perhaps we should remove it from AutogradingPanel.ts.

Thank you for pointing this out. I have removed the commented code.

@github-project-automation github-project-automation Bot moved this from Work in Progress to Awaiting Maintainer Review in Submitty Development Feb 20, 2026
@bmcutler

Copy link
Copy Markdown
Member

See my note on the original issue -- we don't want to combine expand all & collapse all.

@bmcutler bmcutler moved this from Awaiting Maintainer Review to Work in Progress in Submitty Development Feb 20, 2026

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

Any chance we can knock out this little bug where the hover doesn't span the length of the container here? Should be a small CSS change.

Image

Functionality looks good, and I apologize for sending you on a wild goose chase with the Expand All and Collapse All buttons.

Once you revert that whitespace change and possibly fix that little UI bug, I'll approve.

Comment thread site/app/templates/grading/electronic/AutogradingPanel.twig Outdated
@dagemcn
dagemcn requested a review from JManion32 March 16, 2026 22:45
@automateprojectmangement automateprojectmangement Bot moved this from Work in Progress to In Review in Submitty Development Mar 16, 2026

@JManion32 JManion32 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 tested it again and it looks good, I just have a few more very small code changes to request.

Comment thread site/public/css/server.css
Comment thread site/app/templates/grading/electronic/AutogradingPanel.twig
Comment thread site/public/css/server.css
@github-project-automation github-project-automation Bot moved this from In Review to Work in Progress in Submitty Development Mar 17, 2026

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

Code and changes look good.

@github-project-automation github-project-automation Bot moved this from Work in Progress to Awaiting Maintainer Review in Submitty Development Mar 20, 2026
@bmcutler
bmcutler merged commit 0c8b577 into main Mar 24, 2026
47 of 48 checks passed
@github-project-automation github-project-automation Bot moved this from Awaiting Maintainer Review to Done in Submitty Development Mar 24, 2026
@bmcutler
bmcutler deleted the condense_autograding_buttons_fix branch March 24, 2026 16:48
GarvitKhandelwal31 pushed a commit to GarvitKhandelwal31/Submitty that referenced this pull request Mar 25, 2026
…12436)

### Why is this Change Important & Necessary?
Closes Submitty#12432 

### What is the New Behavior?
<img width="1764" height="660" alt="image"
src="https://github.com/user-attachments/assets/8cb224c9-299c-4c2c-abd3-5c005f555bc4"
/>
Before, there was an extraneous regrade button that could be placed into
the drop down menu.
After:
<img width="867" height="216" alt="image"
src="https://github.com/user-attachments/assets/5962e4eb-d013-41d8-b5b8-bdd7cc55cbd6"
/>
The regrade active version has been placed into the drop down menu. 

### What steps should a reviewer take to reproduce or test the bug or
new feature?
1. Log in as instructor
2. Go to any graded gradeable.
3. Click any student with autograding complete
4. See buttons

### Automated Testing & Documentation
Manual Testing: Tested with Opera on Linux to verify accuracy of new
changes.
No automated testing for this change.

### Other information
This is not a breaking change.
There are no known security vulnerabilities with this change.
GarvitKhandelwal31 pushed a commit to GarvitKhandelwal31/Submitty that referenced this pull request Mar 29, 2026
…12436)

### Why is this Change Important & Necessary?
Closes Submitty#12432 

### What is the New Behavior?
<img width="1764" height="660" alt="image"
src="https://github.com/user-attachments/assets/8cb224c9-299c-4c2c-abd3-5c005f555bc4"
/>
Before, there was an extraneous regrade button that could be placed into
the drop down menu.
After:
<img width="867" height="216" alt="image"
src="https://github.com/user-attachments/assets/5962e4eb-d013-41d8-b5b8-bdd7cc55cbd6"
/>
The regrade active version has been placed into the drop down menu. 

### What steps should a reviewer take to reproduce or test the bug or
new feature?
1. Log in as instructor
2. Go to any graded gradeable.
3. Click any student with autograding complete
4. See buttons

### Automated Testing & Documentation
Manual Testing: Tested with Opera on Linux to verify accuracy of new
changes.
No automated testing for this change.

### Other information
This is not a breaking change.
There are no known security vulnerabilities with this change.
GarvitKhandelwal31 pushed a commit to GarvitKhandelwal31/Submitty that referenced this pull request Apr 14, 2026
…12436)

### Why is this Change Important & Necessary?
Closes Submitty#12432 

### What is the New Behavior?
<img width="1764" height="660" alt="image"
src="https://github.com/user-attachments/assets/8cb224c9-299c-4c2c-abd3-5c005f555bc4"
/>
Before, there was an extraneous regrade button that could be placed into
the drop down menu.
After:
<img width="867" height="216" alt="image"
src="https://github.com/user-attachments/assets/5962e4eb-d013-41d8-b5b8-bdd7cc55cbd6"
/>
The regrade active version has been placed into the drop down menu. 

### What steps should a reviewer take to reproduce or test the bug or
new feature?
1. Log in as instructor
2. Go to any graded gradeable.
3. Click any student with autograding complete
4. See buttons

### Automated Testing & Documentation
Manual Testing: Tested with Opera on Linux to verify accuracy of new
changes.
No automated testing for this change.

### Other information
This is not a breaking change.
There are no known security vulnerabilities with this change.
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.

Condense Buttons on the "Autograding Testcases" Page

4 participants