Add pagination for closed streams with status filtering #148
Reference in New Issue
Block a user
Delete Branch "claude/evaluate-issue-138-risk-LqWHK"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Closes #138
Summary
This PR implements pagination for closed streams and adds status-based filtering to the stream list. Open streams are now loaded in full with real-time updates, while closed streams are paginated with a "Load more" button to improve performance and UX.
Key Changes
useStreamParticlesnow accepts astatusoption ("open" or "closed") and filters streams accordingly using Firestorewhereconstraintslimitparameter support touseLiveParticleChildrenandsubscribeToParticleChildrento cap query resultsParticleListViewthat appears when additional closed streams may existImplementation Details
OPEN_STATUS_FILTER,CLOSED_STATUS_FILTER) prevent unnecessary Firestore re-subscriptions on renderNetworkRootcomponent into the hook, simplifying the component and improving separation of concernshttps://claude.ai/code/session_01M9w7RQvj5CBQwkn8ZgLpSE