No + on the Signals folder's row, so it is like any folder's (#265)

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-10-16 19:22:29 +00:00
parent 3e4d67fd2f
commit 0c2c3a379e
5 changed files with 9 additions and 13 deletions

View File

@@ -50,13 +50,11 @@ 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>`+
// 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>`+
// No + of its own (#265): a row like any folder's. New signal is on the folder's page.
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); };
$('.sigadd',row).onclick=(ev: Event)=>{ ev.stopPropagation(); signalModal(); nav(false); };
if(!open) return;
for(const sg of mine){
const el=feedRow(':signal:'+sg.id,'child',