From 7ace38267592b0d88b75fd801dd4642a97d31156 Mon Sep 17 00:00:00 2001 From: Matt Toohey Date: Thu, 20 Aug 2026 14:00:20 +1000 Subject: [PATCH 1/3] fix(desktop): clarify add agents channel action Signed-off-by: Matt Toohey --- desktop/src/features/channels/ui/useChannelIntro.tsx | 4 ++-- desktop/tests/e2e/channels.spec.ts | 11 +++++++++-- 2 files changed, 11 insertions(+), 4 deletions(-) diff --git a/desktop/src/features/channels/ui/useChannelIntro.tsx b/desktop/src/features/channels/ui/useChannelIntro.tsx index c22bbff2c28..f498e4bac7c 100644 --- a/desktop/src/features/channels/ui/useChannelIntro.tsx +++ b/desktop/src/features/channels/ui/useChannelIntro.tsx @@ -91,9 +91,9 @@ export function useChannelIntro({ if (!activeChannel.archivedAt && activeChannel.isMember) { if (onAddAgent) { actions.push({ - description: "Add an agent here.", + description: "Choose agents to add to this channel.", icon: , - label: "Create agent", + label: "Add agents", 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 8a32a436c32..9b1a115cbaf 100644 --- a/desktop/tests/e2e/channels.spec.ts +++ b/desktop/tests/e2e/channels.spec.ts @@ -1746,8 +1746,15 @@ test("empty channel shows intro actions", async ({ page }) => { await expect( page.getByTestId("channel-intro-action-create-channel"), ).toHaveCount(0); + const addAgentsAction = page.getByTestId("channel-intro-action-create-agent"); + await expect(addAgentsAction).toBeVisible(); await expect( - page.getByTestId("channel-intro-action-create-agent"), + addAgentsAction.getByText("Add agents", { exact: true }), + ).toBeVisible(); + await expect( + addAgentsAction.getByText("Choose agents to add to this channel.", { + exact: true, + }), ).toBeVisible(); await expect( page.getByTestId("channel-intro-action-add-people"), @@ -1767,7 +1774,7 @@ test("empty channel shows intro actions", async ({ page }) => { await page.keyboard.press("Escape"); await expect(page.getByTestId("members-sidebar")).not.toBeVisible(); - await page.getByTestId("channel-intro-action-create-agent").click(); + await addAgentsAction.click(); await expect(page.getByRole("heading", { name: "Add agents" })).toBeVisible(); await page.keyboard.press("Escape"); From 297869214991a501ee86da08675697c6a1560b85 Mon Sep 17 00:00:00 2001 From: Matt Toohey Date: Fri, 21 Aug 2026 10:13:33 +1000 Subject: [PATCH 2/3] fix(desktop): shorten add agents channel copy Signed-off-by: Matt Toohey --- desktop/src/features/channels/ui/useChannelIntro.tsx | 2 +- desktop/tests/e2e/channels.spec.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/desktop/src/features/channels/ui/useChannelIntro.tsx b/desktop/src/features/channels/ui/useChannelIntro.tsx index f498e4bac7c..19f2da0edbc 100644 --- a/desktop/src/features/channels/ui/useChannelIntro.tsx +++ b/desktop/src/features/channels/ui/useChannelIntro.tsx @@ -91,7 +91,7 @@ export function useChannelIntro({ if (!activeChannel.archivedAt && activeChannel.isMember) { if (onAddAgent) { actions.push({ - description: "Choose agents to add to this channel.", + description: "Bring them in.", icon: , label: "Add agents", onClick: onAddAgent, diff --git a/desktop/tests/e2e/channels.spec.ts b/desktop/tests/e2e/channels.spec.ts index 9b1a115cbaf..52d91dea3ed 100644 --- a/desktop/tests/e2e/channels.spec.ts +++ b/desktop/tests/e2e/channels.spec.ts @@ -1752,7 +1752,7 @@ test("empty channel shows intro actions", async ({ page }) => { addAgentsAction.getByText("Add agents", { exact: true }), ).toBeVisible(); await expect( - addAgentsAction.getByText("Choose agents to add to this channel.", { + addAgentsAction.getByText("Bring them in.", { exact: true, }), ).toBeVisible(); From 1bec668fa791008af6653d678d8e0de06578b7c3 Mon Sep 17 00:00:00 2001 From: Matt Toohey Date: Fri, 21 Aug 2026 14:03:56 +1000 Subject: [PATCH 3/3] test(desktop): accept current channel activity copy Signed-off-by: Matt Toohey --- desktop/tests/e2e/tooltip-semantics.spec.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/desktop/tests/e2e/tooltip-semantics.spec.ts b/desktop/tests/e2e/tooltip-semantics.spec.ts index 73306f025cf..90ccd061bfc 100644 --- a/desktop/tests/e2e/tooltip-semantics.spec.ts +++ b/desktop/tests/e2e/tooltip-semantics.spec.ts @@ -142,7 +142,7 @@ for (const theme of THEMES) { await expect(row).toBeVisible(); await expectMutedSupportingText( row.getByRole("button", { name: "Open channel general" }), - /Public channel · Active \d+[mhdw] ago/, + /Public channel · Active (just now|\d+[mhdw] ago)/, ); await page.mouse.move(0, 0); await expectMutedSupportingText(