feat: add print stylesheet section for StreamPanel (Closes #785) - #862
Open
waterWang wants to merge 1 commit into
Open
feat: add print stylesheet section for StreamPanel (Closes #785)#862waterWang wants to merge 1 commit into
waterWang wants to merge 1 commit into
Conversation
…-org#785) Hide screen-reader-only live region when printing StreamPanel, and ensure the status indicator is printed with clean, high-contrast styling. Adds a dedicated print stylesheet section in print.css.
|
@waterWang is attempting to deploy a commit to the Jagadeesh B's projects Team on Vercel. A member of the Team first needs to authorize it. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Adds a print stylesheet section for the StreamPanel component (Closes #785). When printing, the screen-reader-only aria-live region is hidden, and the status indicator is rendered with clean, high-contrast styling suitable for paper output.
Changes
src/pages/StreamPanel.tsxstream-panel-containerdiv for scoped print CSS targeting.../styles/print.css.src/styles/print.css@media printsection scoped to.stream-panel-container:.sr-onlylive region (not useful on paper).src/pages/__tests__/StreamPanel.print.test.ts(new)stream-panel-containerwrapper class.Verification
pnpm test— all 34 StreamPanel tests pass (including the new print test and all existing tests).