Skip to content

Question page printing improvements#1997

Merged
axlewin merged 10 commits intomainfrom
hotfix/question-page-printing
Feb 23, 2026
Merged

Question page printing improvements#1997
axlewin merged 10 commits intomainfrom
hotfix/question-page-printing

Conversation

@sjd210
Copy link
Contributor

@sjd210 sjd210 commented Feb 18, 2026

  • Display collection title (e.g. "Question deck: Physics practice deck") under question consistently when printing rather than only when three links are displayed (which isn't the case on the first or last question of a deck) and < xl size
    • It was inconsistent due to a bug where "no-print" was only being applied to the main section and not the width-specific code displaying this, but content seem to like it being included so this is now being explicitly done with an overt "only-print" section
  • Undo regression that caused page titles to appear on questions with breadcrumbs rather than just those breadcrumbs
    • Also add character chevrons ">" when printing instead of the SVG so they display consistently
  • Remove background from entire TitleAndBreadcrumb section when printing. It spans strangely and makes the "Print backgrounds" setting too ink-expensive when actually printing.
  • Use "active" border around all accordions when printing, since all accordions are treated as open

The background itself from the title container has been removed when printing to reduce ink requirements, but this meant the white heading is now invisible when the "Print backgrounds" option is enabled
@codecov
Copy link

codecov bot commented Feb 18, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 43.29%. Comparing base (fcb545a) to head (cdc2255).
⚠️ Report is 62 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1997      +/-   ##
==========================================
+ Coverage   43.17%   43.29%   +0.12%     
==========================================
  Files         575      575              
  Lines       24620    24687      +67     
  Branches     8128     8153      +25     
==========================================
+ Hits        10630    10689      +59     
- Misses      13322    13327       +5     
- Partials      668      671       +3     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

actions-user and others added 4 commits February 18, 2026 15:30
…rinting

[VRT] Update baselines for hotfix/question-page-printing
…rinting

[VRT] Update baselines for hotfix/question-page-printing
Copy link
Contributor

@axlewin axlewin left a comment

Choose a reason for hiding this comment

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

Nice, this looks a lot neater now 👍

@axlewin axlewin merged commit 0648363 into main Feb 23, 2026
10 checks passed
@axlewin axlewin deleted the hotfix/question-page-printing branch February 23, 2026 09:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants