Repository navigation
feat(cli): messaging-shell page template — messaging archetype column frame - #3323
Merged
Merged
Conversation
… frame Adds a Slack-style messaging shell page template demonstrating the frame-first layout recipe for the messaging app archetype. Frame: workspace rail 68px | channel sidebar 260px | message stream (fill) | thread panel 340px, composed with Layout/LayoutPanel and the Chat component family (ChatLayout, ChatMessageList, ChatMessage, ChatMessageBubble, ChatComposer, ChatSystemMessage). Responsive contract: >1024px full four-column frame; <=1024px thread panel hidden; <=768px sidebar also hidden (rail + stream keep full width), implemented via useMediaQuery. Container policy: dense rows, zero Cards — channels/DMs are List/ListItem rows, presence uses AvatarStatusDot/StatusDot, and Badge appears only for unread counts. Fixtures are deterministic: fixed ISO timestamps rendered via Timestamp, no Date.now()/Math.random(). Also adds the 'Shell - Messaging' entry to the TemplateCategory union in packages/core/src/docs-types.ts and a changeset for cli/core. Note: pre-commit hook's npx lint-staged could not fetch from the npm registry (503 outage); its exact steps (eslint --cache --fix, prettier --write, pnpm check:repo) were run manually and passed.
thedjpetersen
requested review from
cixzhang,
ejhammond,
imdreamrunner,
josephfarina,
marie-lucas and
nynexman4464
as code owners
July 1, 2026 21:53
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
Contributor
PR Analysis Report📚 Storybook PreviewView Storybook for this PR 🧪 Sandbox PreviewView Sandbox for this PR No new or modified components detected. Bundle Size Summary
Accessibility AuditStatus: No accessibility violations detected. Generated by PR Enrichment workflow | Storybook | Sandbox | View full report |
This was referenced Jul 1, 2026
This was referenced Jul 1, 2026
cixzhang
reviewed
Jul 11, 2026
| displayName: 'Messaging Shell', | ||
| description: | ||
| 'Slack-style messaging shell with a four-column frame (workspace rail, channel sidebar, message stream, thread panel) built on the Chat component family — dense rows, zero cards.', | ||
| isReady: true, |
cixzhang
approved these changes
Jul 11, 2026
cixzhang
left a comment
Contributor
There was a problem hiding this comment.
Swapped isReady to false as commented. Approving to land as not-ready.
cixzhang
enabled auto-merge (squash)
July 11, 2026 04:52
5 tasks done
This branch was successfully deployed
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.
Why
Part of the frame-first template series (#3315, #3316, #3322). The messaging archetype (rail | sidebar | stream | thread panel) is the layout where generated code most often falls back to a padded card column, and it previously had no reference template — product apps built on the system had to hand-roll the entire multi-column frame.
What
packages/cli/templates/pages/messaging-shell/— a team-chat shell:rail 68 | sidebar 260 | message stream (fill) | thread panel 340with the responsive contract documented at the frame root (>1024px all four columns; ≤1024px thread panel hidden; ≤768px sidebar hidden, stream keeps full width) viauseMediaQuery'Shell - Messaging'toTemplateCategoryin core docs-typesTesting
pnpm typecheck:template-docspass; sandbox sync +tsc --noEmit: 0 messaging errorsastryx template messaging-shell --skeletonrenders the 68/260/fill/340 frameNote: committed with the lint-staged steps run manually (eslint --fix, prettier,
pnpm check:repo— all clean) because the npm registry was returning 503s for the huskynpx lint-stagedfetch at commit time.