diff --git a/playwright/e2e/release-announcement/releaseAnnouncement.spec.ts b/playwright/e2e/release-announcement/releaseAnnouncement.spec.ts
index c2ebd5b853..812b66b796 100644
--- a/playwright/e2e/release-announcement/releaseAnnouncement.spec.ts
+++ b/playwright/e2e/release-announcement/releaseAnnouncement.spec.ts
@@ -15,20 +15,34 @@ test.describe("Release announcement", () => {
feature_release_announcement: true,
},
},
- labsFlags: ["threadsActivityCentre"],
+ room: async ({ app, user }, use) => {
+ const roomId = await app.client.createRoom({
+ name: "Test room",
+ });
+ await app.viewRoomById(roomId);
+ await use({ roomId });
+ },
});
- test("should display the release announcement process", { tag: "@screenshot" }, async ({ page, app, util }) => {
- // The TAC release announcement should be displayed
- await util.assertReleaseAnnouncementIsVisible("Threads Activity Centre");
- // Hide the release announcement
- await util.markReleaseAnnouncementAsRead("Threads Activity Centre");
- await util.assertReleaseAnnouncementIsNotVisible("Threads Activity Centre");
+ test(
+ "should display the pinned messages release announcement",
+ { tag: "@screenshot" },
+ async ({ page, app, room, util }) => {
+ await app.toggleRoomInfoPanel();
- await page.reload();
- // Wait for EW to load
- await expect(page.getByRole("navigation", { name: "Spaces" })).toBeVisible();
- // Check that once the release announcement has been marked as viewed, it does not appear again
- await util.assertReleaseAnnouncementIsNotVisible("Threads Activity Centre");
- });
+ const name = "All new pinned messages";
+
+ // The release announcement should be displayed
+ await util.assertReleaseAnnouncementIsVisible(name);
+ // Hide the release announcement
+ await util.markReleaseAnnouncementAsRead(name);
+ await util.assertReleaseAnnouncementIsNotVisible(name);
+
+ await page.reload();
+ await app.toggleRoomInfoPanel();
+ await expect(page.getByRole("menuitem", { name: "Pinned messages" })).toBeVisible();
+ // Check that once the release announcement has been marked as viewed, it does not appear again
+ await util.assertReleaseAnnouncementIsNotVisible(name);
+ },
+ );
});
diff --git a/playwright/e2e/spaces/threads-activity-centre/threadsActivityCentre.spec.ts b/playwright/e2e/spaces/threads-activity-centre/threadsActivityCentre.spec.ts
index 683577dce4..eec28099a5 100644
--- a/playwright/e2e/spaces/threads-activity-centre/threadsActivityCentre.spec.ts
+++ b/playwright/e2e/spaces/threads-activity-centre/threadsActivityCentre.spec.ts
@@ -19,7 +19,6 @@ test.describe("Threads Activity Centre", { tag: "@no-firefox" }, () => {
test.use({
displayName: "Alice",
botCreateOpts: { displayName: "Other User" },
- labsFlags: ["threadsActivityCentre"],
});
test(
diff --git a/playwright/snapshots/release-announcement/releaseAnnouncement.spec.ts/release-announcement-All-new-pinned-messages-linux.png b/playwright/snapshots/release-announcement/releaseAnnouncement.spec.ts/release-announcement-All-new-pinned-messages-linux.png
new file mode 100644
index 0000000000..f466c17d64
Binary files /dev/null and b/playwright/snapshots/release-announcement/releaseAnnouncement.spec.ts/release-announcement-All-new-pinned-messages-linux.png differ
diff --git a/playwright/snapshots/release-announcement/releaseAnnouncement.spec.ts/release-announcement-Threads-Activity-Centre-linux.png b/playwright/snapshots/release-announcement/releaseAnnouncement.spec.ts/release-announcement-Threads-Activity-Centre-linux.png
deleted file mode 100644
index fee99165ab..0000000000
Binary files a/playwright/snapshots/release-announcement/releaseAnnouncement.spec.ts/release-announcement-Threads-Activity-Centre-linux.png and /dev/null differ
diff --git a/src/components/views/spaces/threads-activity-centre/ThreadsActivityCentre.tsx b/src/components/views/spaces/threads-activity-centre/ThreadsActivityCentre.tsx
index 75f4553116..be7fa2bd0e 100644
--- a/src/components/views/spaces/threads-activity-centre/ThreadsActivityCentre.tsx
+++ b/src/components/views/spaces/threads-activity-centre/ThreadsActivityCentre.tsx
@@ -24,10 +24,7 @@ import { type NotificationLevel } from "../../../../stores/notifications/Notific
import PosthogTrackers from "../../../../PosthogTrackers";
import { getKeyBindingsManager } from "../../../../KeyBindingsManager";
import { KeyBindingAction } from "../../../../accessibility/KeyboardShortcuts";
-import { ReleaseAnnouncement } from "../../../structures/ReleaseAnnouncement";
-import { useIsReleaseAnnouncementOpen } from "../../../../hooks/useIsReleaseAnnouncementOpen";
import { useSettingValue } from "../../../../hooks/useSettings";
-import { ReleaseAnnouncementStore } from "../../../../stores/ReleaseAnnouncementStore";
interface ThreadsActivityCentreProps {
/**
@@ -43,7 +40,6 @@ interface ThreadsActivityCentreProps {
export function ThreadsActivityCentre({ displayButtonLabel }: ThreadsActivityCentreProps): JSX.Element {
const [open, setOpen] = useState(false);
const roomsAndNotifications = useUnreadThreadRooms(open);
- const isReleaseAnnouncementOpen = useIsReleaseAnnouncementOpen("threadsActivityCentre");
const settingTACOnlyNotifs = useSettingValue("Notifications.tac_only_notifications");
const emptyCaption = settingTACOnlyNotifs
@@ -65,59 +61,39 @@ export function ThreadsActivityCentre({ displayButtonLabel }: ThreadsActivityCen
}
}}
>
- {isReleaseAnnouncementOpen ? (
-