ScuttleBot

ui: use ✨ emoji for rich mode toggle

lmata 2026-04-04 04:58 trunk
Commit 87903ff1ce0ee7b2717f633ea493cb866602c91b3b69fefca7321973174f03f0
1 file changed +2 -2
--- internal/api/ui/index.html
+++ internal/api/ui/index.html
@@ -510,11 +510,11 @@
510510
<span style="font-size:11px;color:#8b949e;margin-right:6px">chatting as</span>
511511
<select id="chat-identity" style="width:140px;padding:3px 6px;font-size:12px" onchange="saveChatIdentity()">
512512
<option value="">— pick a user —</option>
513513
</select>
514514
<button class="sm" id="chat-layout-toggle" onclick="toggleChatLayout()" title="toggle compact/columnar" style="font-size:11px;padding:2px 6px">☰</button>
515
- <button class="sm" id="chat-rich-toggle" onclick="toggleRichMode()" title="toggle rich/text mode" style="font-size:11px;padding:2px 6px">{ }</button>
515
+ <button class="sm" id="chat-rich-toggle" onclick="toggleRichMode()" title="toggle rich/text mode" style="font-size:11px;padding:2px 6px">✨</button>
516516
<button class="sm" onclick="promptHighlightWords()" title="configure highlight keywords" style="font-size:11px;padding:2px 6px">✦</button>
517517
<span class="stream-badge" id="chat-stream-status" style="margin-left:8px"></span>
518518
</div>
519519
<div class="chat-msgs" id="chat-msgs">
520520
<div class="empty" id="chat-placeholder">join a channel to start chatting</div>
@@ -1915,11 +1915,11 @@
19151915
let metaBlock = '';
19161916
if (msg.meta && msg.meta.type) {
19171917
const html = renderMeta(msg.meta);
19181918
if (html) {
19191919
const show = isRichMode();
1920
- metaToggle = `<span class="msg-meta-toggle" style="${show ? '' : 'display:none'}" onclick="this.parentElement.nextElementSibling.classList.toggle('open');event.stopPropagation()">{ }</span>`;
1920
+ metaToggle = `<span class="msg-meta-toggle" style="${show ? '' : 'display:none'}" onclick="this.parentElement.nextElementSibling.classList.toggle('open');event.stopPropagation()">✨</span>`;
19211921
metaBlock = `<div class="msg-meta">${html}</div>`;
19221922
}
19231923
}
19241924
19251925
row.innerHTML =
19261926
--- internal/api/ui/index.html
+++ internal/api/ui/index.html
@@ -510,11 +510,11 @@
510 <span style="font-size:11px;color:#8b949e;margin-right:6px">chatting as</span>
511 <select id="chat-identity" style="width:140px;padding:3px 6px;font-size:12px" onchange="saveChatIdentity()">
512 <option value="">— pick a user —</option>
513 </select>
514 <button class="sm" id="chat-layout-toggle" onclick="toggleChatLayout()" title="toggle compact/columnar" style="font-size:11px;padding:2px 6px">☰</button>
515 <button class="sm" id="chat-rich-toggle" onclick="toggleRichMode()" title="toggle rich/text mode" style="font-size:11px;padding:2px 6px">{ }</button>
516 <button class="sm" onclick="promptHighlightWords()" title="configure highlight keywords" style="font-size:11px;padding:2px 6px">✦</button>
517 <span class="stream-badge" id="chat-stream-status" style="margin-left:8px"></span>
518 </div>
519 <div class="chat-msgs" id="chat-msgs">
520 <div class="empty" id="chat-placeholder">join a channel to start chatting</div>
@@ -1915,11 +1915,11 @@
1915 let metaBlock = '';
1916 if (msg.meta && msg.meta.type) {
1917 const html = renderMeta(msg.meta);
1918 if (html) {
1919 const show = isRichMode();
1920 metaToggle = `<span class="msg-meta-toggle" style="${show ? '' : 'display:none'}" onclick="this.parentElement.nextElementSibling.classList.toggle('open');event.stopPropagation()">{ }</span>`;
1921 metaBlock = `<div class="msg-meta">${html}</div>`;
1922 }
1923 }
1924
1925 row.innerHTML =
1926
--- internal/api/ui/index.html
+++ internal/api/ui/index.html
@@ -510,11 +510,11 @@
510 <span style="font-size:11px;color:#8b949e;margin-right:6px">chatting as</span>
511 <select id="chat-identity" style="width:140px;padding:3px 6px;font-size:12px" onchange="saveChatIdentity()">
512 <option value="">— pick a user —</option>
513 </select>
514 <button class="sm" id="chat-layout-toggle" onclick="toggleChatLayout()" title="toggle compact/columnar" style="font-size:11px;padding:2px 6px">☰</button>
515 <button class="sm" id="chat-rich-toggle" onclick="toggleRichMode()" title="toggle rich/text mode" style="font-size:11px;padding:2px 6px">✨</button>
516 <button class="sm" onclick="promptHighlightWords()" title="configure highlight keywords" style="font-size:11px;padding:2px 6px">✦</button>
517 <span class="stream-badge" id="chat-stream-status" style="margin-left:8px"></span>
518 </div>
519 <div class="chat-msgs" id="chat-msgs">
520 <div class="empty" id="chat-placeholder">join a channel to start chatting</div>
@@ -1915,11 +1915,11 @@
1915 let metaBlock = '';
1916 if (msg.meta && msg.meta.type) {
1917 const html = renderMeta(msg.meta);
1918 if (html) {
1919 const show = isRichMode();
1920 metaToggle = `<span class="msg-meta-toggle" style="${show ? '' : 'display:none'}" onclick="this.parentElement.nextElementSibling.classList.toggle('open');event.stopPropagation()">✨</span>`;
1921 metaBlock = `<div class="msg-meta">${html}</div>`;
1922 }
1923 }
1924
1925 row.innerHTML =
1926

Keyboard Shortcuts

Open search /
Next entry (timeline) j
Previous entry (timeline) k
Open focused entry Enter
Show this help ?
Toggle theme Top nav button