@devries-cameron20 / t3code Mirror · read-only / commits / c9f47c18ae
Fork 0

The best way to control Claude Code, Codex and more from any computer or phone

Mirrored from https://github.com/Camo67/t3code.git

Synced Nov 22, 08:15 UTC

docs: composer banner guidance names a consumer that still exists (#28276)

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>

Victor Vogel committed Oct 31, 2026 at 21:50 UTC c9f47c18ae0c48d498f4896af4035b12c7b4752e
2 files changed +3 -3
.macroscope/check-run-agents/ui-consistency.md
+1 -1
@@ -44,7 +44,7 @@ The reference for how this codebase wants UI built is the composer banner system
44
45 - `ComposerBanner.tsx` exports one object of small slot components (`Root`, `Row`, `Icon`, `Content`, `Actions`, `Dismiss`, `Children`, and so on). Each slot owns its own Tailwind classes, exposes a `data-slot` attribute, takes `className` and spreads the rest of its props, and uses `cn` so callers can adjust without overriding. Variants and density are props on `Root`, not ad hoc class strings at call sites. Where a slot needs a real control it renders `Button` from `ui/` rather than a styled `<button>`.
46 - `ComposerBannerStack.tsx` composes those slots into the ordered stack and owns only stack behavior (priority, expand and collapse, dismiss transitions).
47 -- Consumers such as `ComposerActivityStatus.tsx`, `ComposerStashBadge.tsx`, and `ComposerPlanFollowUpBanner.tsx` are a few lines of `<ComposerBanner.Row><ComposerBanner.Icon/><ComposerBanner.Content>…` with no styling of their own.
47 +- Consumers such as `ComposerPlanFollowUpBanner.tsx` are a few lines of `<ComposerBanner.Row><ComposerBanner.Icon/><ComposerBanner.Content>…` and style only their own content.
48
49 Hold new and changed UI to that shape:
50
docs/internals/web-ui.md
+2 -2
@@ -31,8 +31,8 @@ The composer banners are the reference.
31 renders `Button`.
32 - [`ComposerBannerStack.tsx`](../../apps/web/src/components/chat/ComposerBannerStack.tsx) composes
33 the slots and owns only stack behavior: priority, expand and collapse, dismiss transitions.
34 -- Consumers are a few lines of slots, and the slots carry the styling:
35 - [`ComposerActivityStatus.tsx`](../../apps/web/src/components/chat/ComposerActivityStatus.tsx).
34 +- Consumers are a few lines of slots, and the slots carry the banner styling:
35 + [`ComposerPlanFollowUpBanner.tsx`](../../apps/web/src/components/chat/ComposerPlanFollowUpBanner.tsx).
36
37 Build new UI the same way. Compose or extend a component instead of copying its markup and classes.
38 When a call site repeats a treatment another one already uses, make it a variant or a slot on the