Posts feed: virtualize list view#4943
Conversation
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (1)
🚧 Files skipped from review as they are similar to previous changes (1)
📝 WalkthroughWalkthroughThe paginated feed list path now renders through ChangesPaginated feed list virtualization
Estimated code review effort🎯 3 (Moderate) | ⏱️ ~20 minutes Possibly related issues
Possibly related PRs
Suggested reviewers
Poem
🚥 Pre-merge checks | ✅ 4✅ Passed checks (4 passed)
✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
e9facae to
bd69086
Compare
|
Caution Failed to replace (edit) comment. This is likely due to insufficient permissions or the comment being deleted. Error details |
🚀 Preview EnvironmentYour preview environment is ready!
Details
ℹ️ Preview Environment InfoIsolation:
Limitations:
Cleanup:
|
bd69086 to
58e7038
Compare
Summary
Extends #4928 virtualization to the list view of the main feed.
Related to #4937
Implemented changes:
Masonrybranch inFeedLayoutViewwithVirtualizedMasonry(columns={1}), reusing the same@tanstack/react-virtualwindow-virtualizer already used by the grid view.estimateFeedItemSizeListfor regular/notebook/project cards andestimateFeedItemSizeCompactfor compact search results); actual heights are corrected on first paint via the virtualizer'smeasuredlane-assignment mode.Summary by CodeRabbit