feat(shared): top active squads and popular tags wide feed cards#6087
feat(shared): top active squads and popular tags wide feed cards#6087tomeredlich wants to merge 11 commits into
Conversation
Introduce 2x1 My Feed cards for curated top active squads and popular tags behind the my_feed_multi_card experiment, including grid packing, dev layout seeds, and squad hover cards on avatars. Co-authored-by: Cursor <cursoragent@cursor.com>
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
Enable feed v2 highlights in dev, render the highlight card in My Feed, fix stale marketing CTA imports, and distribute row heights via ResizeObserver so headlines fit the tall slot without inner scroll. Co-authored-by: Cursor <cursoragent@cursor.com>
Drop the header subtitle and row bullets, use production typo-callout for headlines, and remove the unused accent-dot utility. Co-authored-by: Cursor <cursoragent@cursor.com>
Bring back the gradient accent dot with the same animated fill as the header, and clamp grid headlines to two lines for better readability. Co-authored-by: Cursor <cursoragent@cursor.com>
Persist clicked highlight IDs and switch the accent dot to tertiary fill and the headline to secondary text so read items are visually distinct. Co-authored-by: Cursor <cursoragent@cursor.com>
Introduce a 2x1 featured article card with breaking news styling and rotate it with top squads and popular tags in horizontal wide feed slots. Co-authored-by: Cursor <cursoragent@cursor.com>
|
@claude check pr |
|
Claude finished @tomeredlich's task in 3m 31s —— View job PR Review: Top active squads & Popular tags wide cardsNice work — the layout-hint + grid-packer split is clean and well tested. A few items below worth addressing before merge. 🐛 Bugs / Correctness1. Copy mismatch: "Popular tags" vs "Most followed tags" — 2.
3. Feature flag description is now stale —
But 4. 5. SSR/hydration risk in 🧹 Code quality6. 7. Duplicate variant gating logic — const renderFeaturedArticle = renderAsFeaturedArticleCard && isPostItem;
const renderTopSquads = renderAsTopSquadsCard && isPostItem && !renderFeaturedArticle;
const renderPopularTags = renderAsPopularTagsCard && isPostItem && !renderFeaturedArticle && !renderTopSquads;The "only one variant at a time" rule is encoded in three lines. Cleaner as a single 8. 9. 10. 11. ✅ What looks good
Quick test-plan additions
· Branch: |
Align popular tags copy, reduce squad query fan-out, cap read highlights storage, simplify wide-card variant wiring, and fix hydration/lint issues in highlight cards. Co-authored-by: Cursor <cursoragent@cursor.com>
Merge main into the wide feed cards branch, resolve feature flag conflict, restore squad static currentMember for join state, and fix shared lint/typecheck regressions. Co-authored-by: Cursor <cursoragent@cursor.com>
Re-adds the topContent prop on Feed so MainFeedLayout can render explore tag chips above the feed. Without it Vercel's Next.js build fails type checking because MainFeedLayout passes a prop Feed no longer declares. Co-authored-by: Cursor <cursoragent@cursor.com>
Extend the horizontal-wide featured card to support 3x1 and 4x1 column spans. Text stays one column wide while the image stretches across the remaining columns. Dev seeds place all three sizes (2x1, 3x1, 4x1) in separate density windows so all variants are visible in My Feed at once. Headline is capped at 4 lines with ellipsis. Co-authored-by: Cursor <cursoragent@cursor.com>
Summary
my_feed_multi_card).Test plan
my_feed_multi_card(on by default in local dev) and open My Feed on a multi-column layoutSquadEntityCardtooltipMade with Cursor
Preview domain
https://feat-my-feed-top-squads-popular.preview.app.daily.dev