The icon picker's Jev button reads Auto (#263)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -19,7 +19,7 @@ their Signals that has not heard about the item yet.
|
|||||||
- **An icon of its own** (#261), chosen in the Signal's dialog from all of Font Awesome Free 7.3.1,
|
- **An icon of its own** (#261), chosen in the Signal's dialog from all of Font Awesome Free 7.3.1,
|
||||||
the set the page's own icons come from: 2,883 icons, solid, regular and brands, searched by name
|
the set the page's own icons come from: 2,883 icons, solid, regular and brands, searched by name
|
||||||
and Font Awesome's search terms ("ai" finds the robot). Without one, a Signal shows its initials.
|
and Font Awesome's search terms ("ai" finds the robot). Without one, a Signal shows its initials.
|
||||||
**Let Jev pick** asks Jev to choose (#263), and a Signal made without an icon gets Jev's pick by
|
**Auto** asks Jev to choose (#263), and a Signal made without an icon gets Jev's pick by
|
||||||
itself, a moment after it is made. Every Signal's tile is in the accent tint the folder has.
|
itself, a moment after it is made. Every Signal's tile is in the accent tint the folder has.
|
||||||
- **Each Signal's row** says "12 items · 3 unread", as a feed's row counts its own.
|
- **Each Signal's row** says "12 items · 3 unread", as a feed's row counts its own.
|
||||||
- **The folder's page** lists the Signals, as an OPML's page lists its feeds, with the + for a new one.
|
- **The folder's page** lists the Signals, as an OPML's page lists its feeds, with the + for a new one.
|
||||||
|
|||||||
@@ -139,7 +139,7 @@ function signalModal(sg?: Signal){
|
|||||||
<input type="text" id="sgname" value="${esc(sg?.name||'')}" placeholder="Formula 1"></div>
|
<input type="text" id="sgname" value="${esc(sg?.name||'')}" placeholder="Formula 1"></div>
|
||||||
<div id="sgpicker" hidden>
|
<div id="sgpicker" hidden>
|
||||||
<div class="inline"><input type="search" id="sgiconq" placeholder="Search icons: robot, car, music…" autocomplete="off">
|
<div class="inline"><input type="search" id="sgiconq" placeholder="Search icons: robot, car, music…" autocomplete="off">
|
||||||
<button type="button" class="dlink" id="sgjev">Let Jev pick</button>
|
<button type="button" class="dlink" id="sgjev" title="Let Jev pick an icon">Auto</button>
|
||||||
<button type="button" class="dlink" id="sgnoicon">Initials</button></div>
|
<button type="button" class="dlink" id="sgnoicon">Initials</button></div>
|
||||||
<div class="icongrid" id="sgicons" role="listbox" aria-label="Icons"></div>
|
<div class="icongrid" id="sgicons" role="listbox" aria-label="Icons"></div>
|
||||||
</div></div>
|
</div></div>
|
||||||
@@ -186,7 +186,7 @@ function signalModal(sg?: Signal){
|
|||||||
if(got){ icon=got; drawPick(); $('#sgpicker').hidden=true; $('#sgicon').setAttribute('aria-expanded','false'); }
|
if(got){ icon=got; drawPick(); $('#sgpicker').hidden=true; $('#sgicon').setAttribute('aria-expanded','false'); }
|
||||||
else toast('No icon matches those words');
|
else toast('No icon matches those words');
|
||||||
}catch(e){ toast(why(e),true); }
|
}catch(e){ toast(why(e),true); }
|
||||||
finally{ b.disabled=false; b.textContent='Let Jev pick'; }
|
finally{ b.disabled=false; b.textContent='Auto'; }
|
||||||
};
|
};
|
||||||
$<HTMLInputElement>('#sgname').focus();
|
$<HTMLInputElement>('#sgname').focus();
|
||||||
$<HTMLButtonElement>('#sgsave').onclick=async()=>{
|
$<HTMLButtonElement>('#sgsave').onclick=async()=>{
|
||||||
|
|||||||
Reference in New Issue
Block a user