From 057f0bc2bbad98e65dcdbfaefe39c1a83ddc71b9 Mon Sep 17 00:00:00 2001 From: Coracle-Bot Date: Wed, 9 Sep 2026 17:14:46 +0000 Subject: [PATCH] Stop repeating the thread title in the opening post --- e2e/specs/articles-threads.spec.ts | 3 +++ src/app/components/ThreadPost.svelte | 7 +------ 2 files changed, 4 insertions(+), 6 deletions(-) diff --git a/e2e/specs/articles-threads.spec.ts b/e2e/specs/articles-threads.spec.ts index 839508c6..be883664 100644 --- a/e2e/specs/articles-threads.spec.ts +++ b/e2e/specs/articles-threads.spec.ts @@ -764,6 +764,9 @@ test("US-043 reply to a thread and to a specific post", async ({seed, as}) => { await expect(openingPost.getByText("OP", {exact: true})).toBeVisible() await expect(bob.getByText("20 replies")).toBeVisible() + // The page bar carries the title, so the opening post does not repeat it. + await expect(bob.getByText("Bed rotation")).toHaveCount(1) + await bob.getByRole("button", {name: "Reply to thread"}).click() const threadReply = composerForm(bob) diff --git a/src/app/components/ThreadPost.svelte b/src/app/components/ThreadPost.svelte index ae7163ac..2d960d9e 100644 --- a/src/app/components/ThreadPost.svelte +++ b/src/app/components/ThreadPost.svelte @@ -9,7 +9,6 @@ import Badge from "@lib/components/Badge.svelte" import ProfileCircle from "@app/components/ProfileCircle.svelte" import ProfileDetail from "@app/components/ProfileDetail.svelte" - import NoteContent from "@app/components/NoteContent.svelte" import Content from "@app/components/Content.svelte" import CommentActions from "@app/components/CommentActions.svelte" import type {FeedContext} from "@app/feeds" @@ -78,11 +77,7 @@
- {#if isComment} - - {:else} - - {/if} +