← back to Wallco Ai
hide Ghosting button when MURAL mode (level 0) is selected — ghosting is a tile-repeat artifact that can't exist on a single 20×11 ft mural canvas, so the button was offering a fix for a non-problem
5f15c01e04a2aa1d77f469691c4388b65a5c9096 · 2026-05-20 12:08:22 -0700 · Steve Abrams
Files touched
Diff
commit 5f15c01e04a2aa1d77f469691c4388b65a5c9096
Author: Steve Abrams <steve@designerwallcoverings.com>
Date: Wed May 20 12:08:22 2026 -0700
hide Ghosting button when MURAL mode (level 0) is selected — ghosting is a tile-repeat artifact that can't exist on a single 20×11 ft mural canvas, so the button was offering a fix for a non-problem
---
server.js | 10 ++++++++++
1 file changed, 10 insertions(+)
diff --git a/server.js b/server.js
index 5feacee..fb387b8 100644
--- a/server.js
+++ b/server.js
@@ -7650,6 +7650,16 @@ ${htmlHeader('/designs')}
vp.style.backgroundSize = (100/count).toFixed(2) + '% ' + (100/count).toFixed(2) + '%';
vp.style.backgroundPosition = '0% 0%';
}
+ // Ghosting button (admin-only) — hide in MURAL mode. Ghosting is
+ // a TILING artifact: faint echoes of motifs bleeding from one
+ // tile into the next, only visible because the pattern repeats.
+ // A mural is one un-repeated 20 ft × 11 ft canvas — there's no
+ // adjacent-tile boundary for a motif to ghost into, so the
+ // concept doesn't apply. Hiding the button prevents the admin
+ // from "fixing" a non-existent problem and accidentally
+ // regenerating a mural that was visually correct.
+ const ghostBtn = document.getElementById('rating-ghosting');
+ if (ghostBtn) ghostBtn.style.display = (level === 0) ? 'none' : '';
}
if (btn) btn.addEventListener('click', () => { level = (level + 1) % LEVELS.length; apply(); });
dots.forEach(d => d.addEventListener('click', (e) => { level = parseInt(e.currentTarget.dataset.level,10) || 0; apply(); }));
← cfe794d fix: regen-with-comment + ghosting endpoints fall back to DE
·
back to Wallco Ai
·
deploy-kamatera.sh: probe https://wallco.ai/health (CF) inst bb09c26 →