Skip to content

[docs-infra] Avoid redundant header in print#4832

Open
oliviertassinari wants to merge 1 commit into
mui:masterfrom
oliviertassinari:print-header
Open

[docs-infra] Avoid redundant header in print#4832
oliviertassinari wants to merge 1 commit into
mui:masterfrom
oliviertassinari:print-header

Conversation

@oliviertassinari
Copy link
Copy Markdown
Member

The problem

This improves a bit the print UX. Currently, the header shows on each print page.

SCR-20260512-kxql

https://base-ui.com/react/components/checkbox

This is redundant information; to do it "right" we only need the header once on the first page. For example, websites optimized for print don't have this.

Why

The print mode still has use cases in 2026:

  • The PDF export case. It's common to export data grids, analytical dashboards, and project summaries into PDFs to share with stakeholders or attach to internal reports. This relies on the print mode.
  • Some apps have actual print needs 🖨️. Order confirmations, invoices, receipts, flight tickets, and event tickets are often printed.

So we want our components to have some level of support for print.
So we need the docs-infra environment to allow us to test the print mode of the different components without getting too much in the way.

How much level of support we need is unclear, but here is a quick wins 😁

@oliviertassinari oliviertassinari added docs Improvements or additions to the documentation. type: enhancement It’s an improvement, but we can’t make up our mind whether it's a bug fix or a new feature. scope: docs-infra Involves the docs-infra product (https://www.notion.so/mui-org/b9f676062eb94747b6768209f7751305). labels May 17, 2026
@pkg-pr-new
Copy link
Copy Markdown

pkg-pr-new Bot commented May 17, 2026

commit: 3aa3651

@code-infra-dashboard
Copy link
Copy Markdown

code-infra-dashboard Bot commented May 17, 2026

Bundle size

Bundle Parsed size Gzip size
@base-ui/react 0B(0.00%) 0B(0.00%)

Details of bundle changes

Performance

Total duration: 1,049.93 ms -42.23 ms(-3.9%) | Renders: 50 (+0) | Paint: 1,595.79 ms -67.99 ms(-4.1%)

No significant changes — details


Check out the code infra dashboard for more information about this PR.

@netlify
Copy link
Copy Markdown

netlify Bot commented May 17, 2026

Deploy Preview for base-ui ready!

Name Link
🔨 Latest commit 3aa3651
🔍 Latest deploy log https://app.netlify.com/projects/base-ui/deploys/6a0a2ba43f9028000865b760
😎 Deploy Preview https://deploy-preview-4832--base-ui.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.
🤖 Make changes Run an agent on this branch

To edit notification comments on pull requests, go to your Netlify project configuration.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

docs Improvements or additions to the documentation. scope: docs-infra Involves the docs-infra product (https://www.notion.so/mui-org/b9f676062eb94747b6768209f7751305). type: enhancement It’s an improvement, but we can’t make up our mind whether it's a bug fix or a new feature.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant