The Signals folder's + before its count, so the counts line up (#261)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -48,8 +48,9 @@ function signalFolder(list: HTMLElement, q: string){
|
||||
list.appendChild(feedRow(SIGNALS,'sigs',
|
||||
`<button class="chev" aria-expanded="${open}" title="Show or hide your signals" aria-label="Show or hide your signals">${ICON.caret}</button>`+
|
||||
sigArt()+`<div class="txt"><b>Signals</b><small>${n?plural(n,'signal'):'What matters, out of the noise'}</small></div>`+
|
||||
badgeHTML(S.signals.reduce((k,s)=>k+s.unread,0))+
|
||||
`<button class="iconbtn sigadd" title="New signal" aria-label="New signal">${ICON.plus}</button>`,
|
||||
// The + before the count, so the counts line up with the Signals' under it.
|
||||
`<button class="iconbtn sigadd" title="New signal" aria-label="New signal">${ICON.plus}</button>`+
|
||||
badgeHTML(S.signals.reduce((k,s)=>k+s.unread,0)),
|
||||
()=>selectFeed(SIGNALS)));
|
||||
const row=list.lastElementChild!;
|
||||
$('.chev',row).onclick=(ev: Event)=>{ ev.stopPropagation(); toggleGroup(SIGNALS); };
|
||||
|
||||
Reference in New Issue
Block a user