WIP PWA for Grain
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

feat: exclude empty galleries from timeline

Filter out galleries without any photos from the timeline response
to avoid showing empty gallery cards.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>

+1 -1
+1 -1
src/services/grain-api.js
··· 91 91 favoriteCount: node.socialGrainFavoriteViaSubject?.totalCount || 0, 92 92 commentCount: node.socialGrainCommentViaSubject?.totalCount || 0 93 93 }; 94 - }); 94 + }).filter(gallery => gallery.photos.length > 0); 95 95 96 96 return { 97 97 galleries,