Skip to content

docs(design): fix four factual errors in layout page#213

Open
ETBlue wants to merge 2 commits into
mainfrom
docs/design-guide-layout
Open

docs(design): fix four factual errors in layout page#213
ETBlue wants to merge 2 commits into
mainfrom
docs/design-guide-layout

Conversation

@ETBlue
Copy link
Copy Markdown
Owner

@ETBlue ETBlue commented May 27, 2026

Summary

  • Remove max-w-md row — only appears in Storybook files, never in production app code
  • Fix max-w-sm description: "Narrow confirmation dialogs" → "Onboarding panels and narrow content sections" (actual usage: TemplateOverview, OnboardingWelcome)
  • Fix max-w-lg description: "Wider dialogs" → "Default dialog width (Dialog and AlertDialog base)" (it's baked into the shadcn base classes, not a wider override)
  • Remove false claim that the Tailwind container centering utility is used — it doesn't appear in any production source file

All corrections verified by grepping the full apps/web/src tree.

Test Plan

  • Review updated max-width table against dialog.tsx, alert-dialog.tsx, OnboardingWelcome.tsx, TemplateOverview.tsx
  • Confirm max-w-md is absent from non-story production files
  • Confirm container utility class is absent from non-test production files

- remove max-w-md row (only appears in Storybook files, not production code)
- fix max-w-sm description: confirmation dialogs → onboarding panels
- fix max-w-lg description: wider dialogs → default dialog width (Dialog/AlertDialog base)
- remove false claim about Tailwind container utility (not used in production code)

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@cloudflare-workers-and-pages
Copy link
Copy Markdown

cloudflare-workers-and-pages Bot commented May 27, 2026

Deploying player1inventory-design with  Cloudflare Pages  Cloudflare Pages

Latest commit: 35a4e49
Status: ✅  Deploy successful!
Preview URL: https://7c9854fd.player1inventory-design.pages.dev
Branch Preview URL: https://docs-design-guide-layout.player1inventory-design.pages.dev

View logs

@cloudflare-workers-and-pages
Copy link
Copy Markdown

cloudflare-workers-and-pages Bot commented May 27, 2026

Deploying player1inventory-storybook with  Cloudflare Pages  Cloudflare Pages

Latest commit: 35a4e49
Status: ✅  Deploy successful!
Preview URL: https://9c24e9f7.player1inventory-storybook.pages.dev
Branch Preview URL: https://docs-design-guide-layout.player1inventory-storybook.pages.dev

View logs

@cloudflare-workers-and-pages
Copy link
Copy Markdown

cloudflare-workers-and-pages Bot commented May 27, 2026

Deploying player1inventory with  Cloudflare Pages  Cloudflare Pages

Latest commit: 35a4e49
Status: ✅  Deploy successful!
Preview URL: https://87d83042.player1inventory.pages.dev
Branch Preview URL: https://docs-design-guide-layout.player1inventory.pages.dev

View logs

…t page

- add Global shell section documenting Layout.tsx structure with mobile/desktop
  ASCII diagrams (bottom nav vs sidebar at lg: breakpoint)
- expand Page layout pattern → Page layout patterns covering all three patterns:
  toolbar+scrollable list (h-[100cqh]), fullscreen toolbar+list (h-screen),
  and padded form page (min-h-[100cqh])
- clarify why h-[100cqh] vs h-screen are used in different contexts

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
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.

1 participant