Skip to content

Hide print styles in authenticated layout - #260

Merged
jalexw merged 1 commit into
mainfrom
claude/fervent-allen-kiu393
Oct 13, 2026
Merged

jalexw merged 1 commit into
mainfrom
claude/fervent-allen-kiu393

Conversation

@jalexw

@jalexw jalexw commented Oct 13, 2026

Copy link
Copy Markdown
Contributor

Summary

Add printHidden prop to the authenticated layout's main container to hide print-related UI elements when printing.

Changes

  • auth-server/src/app/(client)/(authenticated)/layout.tsx: Added printHidden prop to the <MainContainer> component to suppress print styling for the authenticated layout

Version Bumps

Updated @schemavaults/ui dependency from 0.111.0 to 0.112.1 across multiple packages:

  • auth-server
  • packages/auth-resource-server-codegen-templates
  • packages/auth-ui
  • packages/openapi-docs-ui
  • tests/example-nextjs-resource-server

Bumped patch versions for dependent packages:

  • @schemavaults/auth-server: 0.55.6 → 0.55.7
  • @schemavaults/auth-resource-server-codegen-templates: 0.0.160 → 0.0.161
  • @schemavaults/auth-ui: 0.21.0 → 0.21.1
  • @schemavaults/openapi-docs-ui: 0.1.9 → 0.1.10
  • @schemavaults/example-nextjs-resource-server: 0.5.10 → 0.5.11
  • @schemavaults/auth-server-sdk: 0.32.8 → 0.32.9
  • @schemavaults/trpc-backend-init: 0.9.79 → 0.9.80

Implementation Details

The printHidden prop is passed to <MainContainer> in the authenticated layout, which likely applies CSS to hide navigation and other UI elements when the page is printed, improving the print experience for authenticated users.

https://claude.ai/code/session_017foqndMCNx6YuCwKzWpNYu

…server-sdk:0.32.9, trpc-backend-init:0.9.80, openapi-docs-ui:0.1.10, auth-server:0.55.7, example-nextjs-resource-server:0.5.11 - @schemavaults/ui 0.112.1; hide dashboard chrome when printing

Update @schemavaults/ui (0.111.0 -> 0.112.1) everywhere. The new
DashboardLayout hides the persistent desktop sidebar below the md
breakpoint. The server render and the first client render cannot know the
viewport yet, so on a phone they used to paint the desktop sidebar over
the page until the mobile Sheet replaced it.

The authenticated layout now passes printHidden to DashboardLayout, so
printed pages (and saved PDFs) leave out the sidebar and the top bar, and
the page content takes the full width and runs across pages instead of
being clipped to one viewport.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_017foqndMCNx6YuCwKzWpNYu
@jalexw
jalexw merged commit 048f0cf into main Oct 13, 2026
35 checks passed
@jalexw
jalexw deleted the claude/fervent-allen-kiu393 branch October 13, 2026 16:19
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.

2 participants