fix: remove folder intro panels across surfaces
This commit is contained in:
@@ -101,6 +101,26 @@ test("folder conversation page wires folder thread ids into realtime refresh", a
|
||||
assert.match(folderPage, /"conversation\.updated"/, "expected folder page to listen to conversation updates");
|
||||
});
|
||||
|
||||
test("folder conversation page does not render a redundant intro card before the thread list", async () => {
|
||||
const folderPage = await readWorkspaceFile("src/app/conversations/folders/[folderKey]/page.tsx");
|
||||
|
||||
assert.doesNotMatch(
|
||||
folderPage,
|
||||
/rounded-2xl border border-\[#E5E5EA\] bg-white px-4 py-4/,
|
||||
"expected folder page to skip the standalone intro card",
|
||||
);
|
||||
assert.doesNotMatch(
|
||||
folderPage,
|
||||
/folder\.deviceName/,
|
||||
"expected folder page to avoid repeating device info above the thread list",
|
||||
);
|
||||
assert.doesNotMatch(
|
||||
folderPage,
|
||||
/folder\.threadCount/,
|
||||
"expected folder page to avoid repeating thread count above the thread list",
|
||||
);
|
||||
});
|
||||
|
||||
test("forward page wires realtime refresh for visible source and target projects", async () => {
|
||||
const forwardPage = await readWorkspaceFile("src/app/conversations/[projectId]/forward/page.tsx");
|
||||
|
||||
|
||||
Reference in New Issue
Block a user