slack status without the slack status.zzstoatzz.io
hatk statusphere
0
fork

Configure Feed

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

Merge pull request #50 from zzstoatzz/hotfix/feed-shape

hotfix/feed shape

authored by

nate nowack and committed by
GitHub
04ad2516 a95a478f

+5 -6
+5 -6
templates/feed.html
··· 122 122 {% endif %} 123 123 </div> 124 124 125 - {% if !statuses.is_empty() %} 126 125 <div class="status-list"> 126 + {% if !statuses.is_empty() %} 127 127 {% for status in statuses %} 128 128 <div class="status-item" data-did="{{ status.author_did }}"> 129 129 <span class="status-emoji"> ··· 158 158 </div> 159 159 </div> 160 160 {% endfor %} 161 - </div> 162 161 {% else %} 163 - <div class="empty-state"> 164 - <span class="empty-emoji">💭</span> 165 - <p>no status updates yet</p> 162 + <!-- empty at render; JS will populate via /api/feed --> 163 + {% endif %} 166 164 </div> 167 - {% endif %} 168 165 169 166 <!-- Loading indicator --> 170 167 <div id="loading-indicator" style="display: none; text-align: center; padding: 2rem;"> ··· 1067 1064 initTheme(); 1068 1065 await initSettings(); 1069 1066 // Timestamps are auto-initialized by timestamps.js 1067 + // Always load initial page of statuses so feed is never empty on first render 1068 + try { await loadMoreStatuses(); } catch (e) { console.error('initial load failed', e); } 1070 1069 1071 1070 // Settings toggle 1072 1071 const settingsToggle = document.getElementById('settings-toggle');