ui: AGENT THINKING joins the small mono-caps register (the aborted edit landed)

The round-4 batch threw on an earlier replace and never reached
reasoning.tsx — the trigger row kept text-sm. Now text-xs font-medium
uppercase tracking-wide, matching YOUR THINKING and the card eyebrows;
chevrons align through the 1ch rail. Plus one missed prettyModel pin
(gpt 5.2, no auto-caps).
This commit is contained in:
amosblomqvist
2026-10-05 04:43:08 +03:00
parent 9b75b4f785
commit d533585bd1
2 changed files with 5 additions and 2 deletions
+4 -1
View File
@@ -152,7 +152,10 @@ export const ReasoningTrigger = memo(
return ( return (
<CollapsibleTrigger <CollapsibleTrigger
className={cn( className={cn(
"flex w-full items-center gap-2 text-muted-foreground text-sm transition-colors hover:text-foreground", /* The heading register (owner round 4, 2026-10-05): the small
mono caps of the card eyebrows — matching YOUR THINKING, whose
rail offsets it by exactly the one-character difference. */
"flex w-full items-center gap-2 text-muted-foreground text-xs font-medium uppercase tracking-wide transition-colors hover:text-foreground",
className className
)} )}
{...props} {...props}
+1 -1
View File
@@ -86,7 +86,7 @@ describe("stats bar", () => {
// qualified: the provider rides as a quiet suffix — federation makes // qualified: the provider rides as a quiet suffix — federation makes
// the same model via two providers different bookkeeping // the same model via two providers different bookkeeping
assert.equal(prettyModel("openrouter:z-ai/glm-5.3-flash", true), "glm 5.3 flash · openrouter"); assert.equal(prettyModel("openrouter:z-ai/glm-5.3-flash", true), "glm 5.3 flash · openrouter");
assert.equal(prettyModel("openai:gpt-5.2", true), "Gpt 5.2 · openai"); assert.equal(prettyModel("openai:gpt-5.2", true), "gpt 5.2 · openai");
// unqualified on a qualified stamp: provider silently dropped (old shape) // unqualified on a qualified stamp: provider silently dropped (old shape)
assert.equal(prettyModel("openrouter:z-ai/glm-5.3-flash"), "glm 5.3 flash"); assert.equal(prettyModel("openrouter:z-ai/glm-5.3-flash"), "glm 5.3 flash");
// qualified on a bare id: no suffix invented // qualified on a bare id: no suffix invented