Skip to content

Revert "[Bugfix:TAGrading] PDF header overlap fix (#12766)"#12784

Merged
bmcutler merged 1 commit into
mainfrom
revert_pdf_overlap
Apr 15, 2026
Merged

Revert "[Bugfix:TAGrading] PDF header overlap fix (#12766)"#12784
bmcutler merged 1 commit into
mainfrom
revert_pdf_overlap

Conversation

@bmcutler

Copy link
Copy Markdown
Member

This reverts commit 258c709.

PR #12766

@github-project-automation github-project-automation Bot moved this to Seeking Reviewer in Submitty Development Apr 15, 2026
@bmcutler
bmcutler merged commit 9f5ce45 into main Apr 15, 2026
24 of 26 checks passed
@bmcutler
bmcutler deleted the revert_pdf_overlap branch April 15, 2026 04:08
@codecov

codecov Bot commented Apr 15, 2026

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 0% with 1 line in your changes missing coverage. Please review.
✅ Project coverage is 21.56%. Comparing base (6d3367e) to head (d7737d5).
⚠️ Report is 1 commits behind head on main.

Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff            @@
##               main   #12784   +/-   ##
=========================================
  Coverage     21.56%   21.56%           
  Complexity     9796     9796           
=========================================
  Files           268      268           
  Lines         36703    36703           
  Branches        490      490           
=========================================
  Hits           7915     7915           
  Misses        28302    28302           
  Partials        486      486           
Flag Coverage Δ
autograder 21.32% <ø> (ø)
js 2.02% <0.00%> (ø)
migrator 100.00% <ø> (ø)
php 20.60% <ø> (ø)
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.

bmcutler added a commit that referenced this pull request Jun 1, 2026
### Why is this Change Important & Necessary?
Solves #12763 
#12766 changes were reverted by the PR #12784 due to a bug identified in
the PR #12779
In PR #12779 in mobile view seeing the PDF is very difficult due to this
PDF header overlap.
Screen recording of that-


https://github.com/user-attachments/assets/f8c0b147-e8b9-494c-b763-ab772d9e2cd0

### What is the New Behavior?
This PR includes all the changes from #12766 while excluding the
unnecessary portion identified in #12779. Also it fixes the poor PDF
readability in mobile view.


https://github.com/user-attachments/assets/78a5cce8-3a93-45c4-8f7a-57428873a8e2


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

1) Open TA Grading for a gradeable with PDF submissions.
2) Open a PDF in the Submissions and Results Browser.
3) Verify the top file header remains usable while scrolling the PDF
content.
4) Resize browser to narrow/mobile width.
5) Confirm horizontal overflow is not locking the view and PDF remains
scrollable/usable.
6) Use page navigation/jump behavior and confirm the expected page
scroll target is reached.

### Automated Testing & Documentation
No new automated tests were added in this PR (UI/layout and scroll
behavior adjustment).


### Other information
Breaking change: No.
Migrations required: No.
Security concerns: None identified.

---------

Co-authored-by: Barb Cutler <[email protected]>
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.

1 participant