A social RSS reader built on the AT Protocol. glean.at
glean atproto atmosphere rss feed social app
14
fork

Configure Feed

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

Fix empty state messages and feed status logic

+4 -2
+2
internal/server/articles_handler.go
··· 42 42 unreadCount, _ := s.db.GetUnreadCount(r.Context(), user.DID, feedURL) 43 43 if unreadCount > 0 { 44 44 status = "unread" 45 + } else { 46 + status = "all" 45 47 } 46 48 } 47 49
+2 -2
internal/tmpl/profile.html
··· 37 37 <svg class="w-4 h-4 text-spot-muted shrink-0" fill="none" stroke="currentColor" stroke-width="2" viewBox="0 0 24 24"><path stroke-linecap="round" stroke-linejoin="round" d="M9 5l7 7-7 7"/></svg> 38 38 </a> 39 39 {{else}} 40 - <div class="px-4 py-6 text-center text-spot-secondary text-sm">No public feeds.</div> 40 + <div class="px-4 py-6 text-center text-spot-secondary text-sm">No feeds.</div> 41 41 {{end}} 42 42 </div> 43 43 ··· 46 46 {{range .Annotations}} 47 47 {{template "annotation-card.html" dict "annotation" . "userDID" $.CurrentUserDID}} 48 48 {{else}} 49 - <p class="text-sm text-spot-secondary text-center py-4">No public annotations.</p> 49 + <p class="text-sm text-spot-secondary text-center py-4">No annotations.</p> 50 50 {{end}} 51 51 </div> 52 52 </div>