Skip to content

Commit d5ec3d4

Browse files
committed
chore(webapp): drop the unused agent callout variant; fix a renamed gallery section id
The wake toast moved to the standard toast's agent status, leaving the Callout variant with no consumer.
1 parent 0a05d3a commit d5ec3d4

3 files changed

Lines changed: 2 additions & 26 deletions

File tree

apps/webapp/app/components/primitives/Callout.tsx

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@ import {
1313
} from "@heroicons/react/24/solid";
1414
import { Link } from "@remix-run/react";
1515
import { cn } from "~/utils/cn";
16-
import { AgentMonoLogo } from "./AgentDotMatrix";
1716
import { Paragraph } from "./Paragraph";
1817
import { Spinner } from "./Spinner";
1918

@@ -60,15 +59,6 @@ export const variantClasses = {
6059
textColor: "text-callout-pending-text",
6160
linkClassName: "transition hover:bg-callout-pending/20",
6261
},
63-
// Something the dashboard agent has to say, carrying a way into the chat.
64-
// Dressed like the Ask Trigger button: the agent logo on the button's own
65-
// surface (charcoal on dark, white on light) with the softened green border.
66-
agent: {
67-
className: "border-[#41FF54]/25 bg-secondary light:border-success/60",
68-
icon: <AgentMonoLogo size={20} decorative />,
69-
textColor: "text-text-bright",
70-
linkClassName: "transition dark:hover:bg-background-raised light:hover:bg-[#e4ffe8]",
71-
},
7262
pricing: {
7363
className: "border-callout-pricing/20 bg-callout-pricing-bg/30",
7464
icon: <CreditCardIcon className="h-5 w-5 shrink-0 text-callout-pricing" />,

apps/webapp/app/routes/storybook.agent-ui/manifest.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -290,8 +290,8 @@ export const MANIFEST: GallerySection[] = [
290290
group: "watch-card",
291291
},
292292
{
293-
sectionId: "watch-card-queue-age-recommended",
294-
title: "Compact — age SLA recommended on a late queue",
293+
sectionId: "watch-card-queue-late-recommended",
294+
title: "Compact — drain recommended on a late queue",
295295
group: "watch-card",
296296
},
297297

apps/webapp/app/routes/storybook.callout/route.tsx

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -33,17 +33,6 @@ export default function Story() {
3333
</Callout>
3434
<Callout variant="pending">This is a pending callout</Callout>
3535
<Callout variant="pricing">This is a pricing callout</Callout>
36-
<Callout variant="agent">This is an agent callout</Callout>
37-
<Callout
38-
variant="agent"
39-
cta={
40-
<Button variant="secondary/small" onClick={() => {}}>
41-
Open chat
42-
</Button>
43-
}
44-
>
45-
This is an agent callout with an action
46-
</Callout>
4736
<Callout variant="error">
4837
This is an error message which runs over multiple lines. This is an error message which
4938
runs over multiple lines. This is an error message which runs over multiple lines.
@@ -75,9 +64,6 @@ export default function Story() {
7564
<Callout to="#" variant="pricing">
7665
This is a pricing callout
7766
</Callout>
78-
<Callout to="#" variant="agent">
79-
This is an agent callout
80-
</Callout>
8167
<Callout variant="info" to="https://google.com">
8268
This uses an http link
8369
</Callout>

0 commit comments

Comments
 (0)