fix(template): EmptyState takes children, not message #13

Merged
whitlocktech merged 1 commits from fix/template-empty-state into main 2026-09-23 05:36:45 +00:00
Member

Core's EmptyState renders its children and nothing else. The template's clan list passed its sentence as message=, which React drops without a word, so the panel rendered as an empty box.

module-rust was built from this template and shipped six of those across four phases before a browser walk noticed (docs/modules/rust/PLAN.md §23.4). It's the same class of bug as the PageHeader subtitle the Teams work found here.

A one-line change plus a comment saying why. Template client build and its 20 tests pass, as do checkLinks and checkChapterPaths. No chapter taught the wrong prop; this line was the only place.

AI disclosure

Written with Claude Code (Opus 5.5).

🤖 Generated with Claude Code

https://claude.ai/code/session_01E14m6SuuY6i1vASFeGDBeY

Core's `EmptyState` renders its **children** and nothing else. The template's clan list passed its sentence as `message=`, which React drops without a word, so the panel rendered as an empty box. module-rust was built from this template and shipped six of those across four phases before a browser walk noticed (`docs/modules/rust/PLAN.md` §23.4). It's the same class of bug as the `PageHeader subtitle` the Teams work found here. A one-line change plus a comment saying why. Template client build and its 20 tests pass, as do `checkLinks` and `checkChapterPaths`. No chapter taught the wrong prop; this line was the only place. ### AI disclosure Written with Claude Code (Opus 5.5). 🤖 Generated with [Claude Code](https://claude.com/claude-code) https://claude.ai/code/session_01E14m6SuuY6i1vASFeGDBeY
wtclaude added 1 commit 2026-09-23 05:33:41 +00:00
fix(template): EmptyState takes children, not message
All checks were successful
PR Checks / prose (pull_request) Successful in 10s
PR Checks / template (pull_request) Successful in 37s
43308c3f7f
Core's EmptyState renders its children and nothing else. The template's
clan list passed the sentence as message=, which React drops without a
word, so the panel rendered as an empty box - and module-rust, built
from this template, shipped six of those across four phases before a
browser walk noticed (docs modules/rust/PLAN.md §23.4).

Same class of bug as the PageHeader subtitle the Teams work found here.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01E14m6SuuY6i1vASFeGDBeY
whitlocktech merged commit f7692abcd9 into main 2026-09-23 05:36:45 +00:00
whitlocktech deleted branch fix/template-empty-state 2026-09-23 05:36:46 +00:00
Sign in to join this conversation.
No Reviewers
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: RunicGateway/Integration-kit#13
No description provided.