From 0ec5107aecce8fcd36f85e033ca0c21fe44d39c0 Mon Sep 17 00:00:00 2001 From: Mat Balez <60949391+matbalez@users.noreply.github.com> Date: Fri, 10 Jul 2026 16:30:19 -0700 Subject: [PATCH] Clarify empty channel agent copy Co-authored-by: Mat Balez <60949391+matbalez@users.noreply.github.com> Signed-off-by: Mat Balez <60949391+matbalez@users.noreply.github.com> --- desktop/src/features/channels/ui/ChannelPane.tsx | 4 ++-- desktop/tests/e2e/channels.spec.ts | 6 ++++++ 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/desktop/src/features/channels/ui/ChannelPane.tsx b/desktop/src/features/channels/ui/ChannelPane.tsx index f7cd01b781..7942a019a7 100644 --- a/desktop/src/features/channels/ui/ChannelPane.tsx +++ b/desktop/src/features/channels/ui/ChannelPane.tsx @@ -439,9 +439,9 @@ export const ChannelPane = React.memo(function ChannelPane({ if (!activeChannel.archivedAt && activeChannel.isMember) { if (onAddAgent) { actions.push({ - description: "Add an agent here.", + description: "Add an agent or team.", icon: , - label: "Create agent", + label: "Add agent", onClick: onAddAgent, testId: "channel-intro-action-create-agent", }); diff --git a/desktop/tests/e2e/channels.spec.ts b/desktop/tests/e2e/channels.spec.ts index d0f590f0c1..8eb555abcb 100644 --- a/desktop/tests/e2e/channels.spec.ts +++ b/desktop/tests/e2e/channels.spec.ts @@ -813,6 +813,12 @@ test("empty channel shows intro actions", async ({ page }) => { await expect( page.getByTestId("channel-intro-action-create-agent"), ).toBeVisible(); + await expect( + page.getByTestId("channel-intro-action-create-agent-title"), + ).toHaveText("Add agent"); + await expect( + page.getByTestId("channel-intro-action-create-agent-description"), + ).toHaveText("Add an agent or team."); await expect( page.getByTestId("channel-intro-action-add-people"), ).toBeVisible();