nandi/frqpublic Fork 0
f03729c
Commits
Clone
git clone https://git.rickub.com/nandi/frq.git
git clone ssh://git@rickub.com/nandi/frq.git

Host key fingerprint (ed25519): SHA256:iycHnxEyq0Q7uyVpB7JlznP0G7JrTPXLYRcAU5CSLhc — verify it before your first connect.

Draw the edit banner's pencil from the pack

A label is set in the text font and that font has no emoji in it, so the
banner opened with tofu where the reply banner above it opens with a ↩ the
font does have. Same split `run-node` makes for an emoji anybody types: the
picture comes out of the label and the words stay text.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
nandi committed 2026-09-12T08:39:55-07:00 Browse files
f03729c parent: 5b89e5a
modified common/frq/screens/chat.cljc +7 -2
@@ -1300,9 +1300,14 @@
13001300 ;; and without this Send would look like it was about to say it twice.
13011301 [:vbox {:key :editing}
13021302 (when @cells/editing
1303+ ;; The pencil is a picture and not a character in the label: a label is
1304+ ;; set in the text font, which has no emoji in it, so the banner opened
1305+ ;; with tofu where the reply banner above opens with a ↩ the font does
1306+ ;; have. Same split `run-node` makes for an emoji anybody types.
13031307 [:hbox {:spacing 8}
1304- [:dim-label {:label "✏️ Editing your message"}]
1305- [:button {:label "✕" :on-click actions/cancel-edit!}]])]
1308+ [:emoji {:key :pencil :emoji "✏️" :size text-emoji-size}]
1309+ [:dim-label {:key :label :label "Editing your message"}]
1310+ [:button {:key :cancel :label "✕" :on-click actions/cancel-edit!}]])]
13061311 ;; The pasted picture, above the line it will go out with. Shown rather
13071312 ;; than written into the draft: what is being sent is a picture, and a URL
13081313 ;; dropped into the entry would be an unreadable line of text sitting in
@@ -1300,9 +1300,14 @@
1300 ;; and without this Send would look like it was about to say it twice.1300 ;; and without this Send would look like it was about to say it twice.
1301 [:vbox {:key :editing}1301 [:vbox {:key :editing}
1302 (when @cells/editing1302 (when @cells/editing
1303+ ;; The pencil is a picture and not a character in the label: a label is
1304+ ;; set in the text font, which has no emoji in it, so the banner opened
1305+ ;; with tofu where the reply banner above opens with a ↩ the font does
1306+ ;; have. Same split `run-node` makes for an emoji anybody types.
1303 [:hbox {:spacing 8}1307 [:hbox {:spacing 8}
1304- [:dim-label {:label "✏️ Editing your message"}]1308+ [:emoji {:key :pencil :emoji "✏️" :size text-emoji-size}]
1305- [:button {:label "✕" :on-click actions/cancel-edit!}]])]1309+ [:dim-label {:key :label :label "Editing your message"}]
1310+ [:button {:key :cancel :label "✕" :on-click actions/cancel-edit!}]])]
1306 ;; The pasted picture, above the line it will go out with. Shown rather1311 ;; The pasted picture, above the line it will go out with. Shown rather
1307 ;; than written into the draft: what is being sent is a picture, and a URL1312 ;; than written into the draft: what is being sent is a picture, and a URL
1308 ;; dropped into the entry would be an unreadable line of text sitting in1313 ;; dropped into the entry would be an unreadable line of text sitting in