Patch folder realtime threads locally

This commit is contained in:
kris
2026-04-10 22:01:21 +08:00
parent 0781a56aad
commit a084688e35
7 changed files with 145 additions and 0 deletions

View File

@@ -19,6 +19,11 @@ test("events route enriches project conversation events with a visible home item
/conversationItem:\s*getConversationHomeItemForProject\(state,\s*String\(payload\.projectId \?\? ""\)\)/,
"expected enriched event payload to carry a conversation item slot",
);
assert.match(
source,
/threadConversationItem:\s*getConversationThreadItemForProject\(state,\s*String\(payload\.projectId \?\? ""\)\)/,
"expected enriched event payload to carry a direct thread item slot for folder pages",
);
});
test("MainActivity applies realtime conversation patches without forcing a network refresh", async () => {