From 3e14ad777b21f980bbc9ea8a739a97a37a71e776 Mon Sep 17 00:00:00 2001 From: "prompt.ac/@jeffrey" Date: Tue, 15 Sep 2026 13:20:48 -0700 Subject: [PATCH] Match mime to AC themes and make comment links buttons --- system/backend/MIME.md | 2 +- .../aesthetic.computer/disks/painting.mjs | 2 +- system/public/mime/index.html | 61 ++++++++++++------- 3 files changed, 42 insertions(+), 23 deletions(-) diff --git a/system/backend/MIME.md b/system/backend/MIME.md index 58b2141b87..7a94cc9972 100644 --- a/system/backend/MIME.md +++ b/system/backend/MIME.md @@ -39,7 +39,7 @@ Program source is displayed as text. Native HTML previews remain sandboxed. Painting and tape metadata endpoints expose `discussion` URLs for other clients. Direct entry: `/mime/#/media/painting/abc` (also `tape`, `piece`, or `kidlisp`). -The painting viewer includes a Discuss button. Other media can be discussed from +The painting viewer includes a Comment button. Other media can be discussed from their MIME board or direct entry URL. Legacy piece records without an extension retain the existing JavaScript diff --git a/system/public/aesthetic.computer/disks/painting.mjs b/system/public/aesthetic.computer/disks/painting.mjs index 600bf9937c..15ba450bae 100644 --- a/system/public/aesthetic.computer/disks/painting.mjs +++ b/system/public/aesthetic.computer/disks/painting.mjs @@ -591,7 +591,7 @@ function paint({ printBtn?.paint({ ink }); downloadBtn?.paint({ ink }); if (paintingCode && !isNuked && !showMode) { - if (!discussBtn) discussBtn = new ui.TextButtonSmall("Discuss", { right: 6, top: 24, screen }); + if (!discussBtn) discussBtn = new ui.TextButtonSmall("Comment", { right: 6, top: 24, screen }); discussBtn.reposition({ right: 6, top: 24, screen }); discussBtn.paint({ ink }); } else { diff --git a/system/public/mime/index.html b/system/public/mime/index.html index 381ae60f1e..ded0045266 100644 --- a/system/public/mime/index.html +++ b/system/public/mime/index.html @@ -5,28 +5,33 @@ mime + + +