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 21, 22:15 UTC
docs: remove the broken composer banner reference (#34443)
KZTP47 committed
Nov 11, 2026 at 23:40 UTC
a98466b3f89bcb87edb67b99d83a4cee54fa4fda
2 files changed
+1
-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 `ComposerPlanFollowUpBanner.tsx` are a few lines of `<ComposerBanner.Row><ComposerBanner.Icon/><ComposerBanner.Content>…` and style only their own content.
47
+- Consumers compose the slots and style only their own content.
48
49
Hold new and changed UI to that shape:
50
docs/internals/web-ui.md
-2
@@ -31,8 +31,6 @@ 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 banner styling:
35
- [`ComposerPlanFollowUpBanner.tsx`](../../apps/web/src/components/chat/ComposerPlanFollowUpBanner.tsx).
34
35
Build new UI the same way. Compose or extend a component instead of copying its markup and classes.
36
When a call site repeats a treatment another one already uses, make it a variant or a slot on the