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.

add share button to current status on home page

zzstoatzz 2be5ab7e 18dbda98

+16
+6
site/app.js
··· 877 877 ${current.text ? `<span id="current-text">${parseLinks(current.text)}</span>` : ''} 878 878 <span class="meta">since ${relativeTime(current.createdAt)}${expiresHtml}</span> 879 879 </div> 880 + <button class="share-btn current-share-btn" data-uri="${escapeHtml(current.uri)}" title="copy link"> 881 + <svg width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"> 882 + <path d="M10 13a5 5 0 0 0 7.54.54l3-3a5 5 0 0 0-7.07-7.07l-1.72 1.71"></path> 883 + <path d="M14 11a5 5 0 0 0-7.54-.54l-3 3a5 5 0 0 0 7.07 7.07l1.71-1.71"></path> 884 + </svg> 885 + </button> 880 886 `; 881 887 if (statuses.length > 1) { 882 888 historyHtml = '<section class="history"><h2>history</h2><div id="history-list">';
+10
site/styles.css
··· 395 395 position: relative; 396 396 } 397 397 398 + /* Share button on current status - always visible */ 399 + .current-share-btn { 400 + opacity: 0.6; 401 + margin-top: 0.5rem; 402 + } 403 + 404 + .current-share-btn:hover { 405 + opacity: 1; 406 + } 407 + 398 408 .delete-btn:hover { 399 409 color: #e74c3c; 400 410 }