fix(site): remove stale ArchivedAgentsSearchAutoExpands story (#22573)

The search input was removed from `AgentsSidebar` but the
`ArchivedAgentsSearchAutoExpands` story still referenced the `Search
agents...` placeholder, causing the Storybook interaction test to fail:

```
within(<div#storybook-root>).getByPlaceholderText("Search agents...")
Unable to find an element with the placeholder text of: Search agents...
```

This PR removes the stale story.
This commit is contained in:
Kyle Carberry
2026-03-03 20:28:04 +00:00
committed by GitHub
parent 8ea0c2f3bc
commit 8a2635285b
@@ -389,39 +389,6 @@ export const ArchivedAgentsExpanded: Story = {
},
};
export const ArchivedAgentsSearchAutoExpands: Story = {
args: {
chats: [
buildChat({
id: "active-task",
title: "Active task",
updated_at: todayTimestamp,
}),
buildChat({
id: "old-archived",
title: "Old archived task",
archived: true,
}),
],
},
parameters: {
reactRouter: reactRouterParameters({
location: { path: "/agents" },
routing: agentsRouting,
}),
},
play: async ({ canvasElement }) => {
const canvas = within(canvasElement);
await userEvent.type(
canvas.getByPlaceholderText("Search agents..."),
"archived",
);
await waitFor(() => {
expect(canvas.getByText("Old archived task")).toBeInTheDocument();
});
},
};
export const NoArchivedSection: Story = {
args: {
chats: [