fix(site/src/pages/AgentsPage): remove stale NoDiffUrl story (#23306)

This commit is contained in:
Danielle Maywood
2026-03-19 17:22:29 +00:00
committed by GitHub
parent 0176a5dd6b
commit 436a17fcf2
@@ -211,7 +211,9 @@ const meta: Meta<typeof AgentDetailLayout> = {
}),
},
beforeEach: () => {
localStorage.removeItem(RIGHT_PANEL_OPEN_KEY);
spyOn(API, "getApiKey").mockRejectedValue(new Error("missing API key"));
return () => localStorage.removeItem(RIGHT_PANEL_OPEN_KEY);
},
};
@@ -588,22 +590,6 @@ export const CompletedWithDiffPanel: Story = {
},
};
/** Right panel stays closed when no diff-status URL exists. */
export const NoDiffUrl: Story = {
parameters: {
queries: buildQueries(
{
id: CHAT_ID,
...baseChatFields,
title: "No diff yet",
status: "completed",
},
{ messages: [], queued_messages: [], has_more: false },
{ diffUrl: undefined },
),
},
};
/** Subagent tool-call/result messages render subagent cards. */
export const WithSubagentCards: Story = {
parameters: {