File zone: one shared room subscription for read-by rows #108

Merged
void merged 1 commit from void/file-readers-store into dev 2026-11-11 22:47:21 +00:00
Member

follow-up file-readers-shared-subscription (briefs chat-mind-...-t94 and chat-s6792-6792). receiptStore.ts: one listener set per room (Timeline, Redaction, TimelineReset) while any row is mounted, snapshot = the receipt events, changes identity only when receipts change; useFileReaders = useSyncExternalStore + readersOf, so the rules stay in one place. Tests: 200 rows register one listener per event and none after unsubscribe; one store per room; no notify on unrelated events; redaction/reset rescans.

🤖 Generated with Claude Code

follow-up file-readers-shared-subscription (briefs chat-mind-...-t94 and chat-s6792-6792). receiptStore.ts: one listener set per room (Timeline, Redaction, TimelineReset) while any row is mounted, snapshot = the receipt events, changes identity only when receipts change; useFileReaders = useSyncExternalStore + readersOf, so the rules stay in one place. Tests: 200 rows register one listener per event and none after unsubscribe; one store per room; no notify on unrelated events; redaction/reset rescans. 🤖 Generated with [Claude Code](https://claude.com/claude-code)
File zone: one room subscription for every 'read by' row
All checks were successful
Build pull request / Build pull request (pull_request) Successful in 3m30s
1c5331da4d
receiptStore.ts holds one Timeline/Redaction/TimelineReset listener set per room while any row is mounted and a snapshot of the receipt events; useFileReaders derives each row's readers from it with readersOf (same rules). 200 rows register one listener per event, not 200.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
void merged commit 98b4ec8ab1 into dev 2026-11-11 22:47:21 +00:00
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
GameCult/Ratatoskr!108
No description provided.