← back to 1890swallpaper
Remove Big Red voice widget — never UX-worked (stuck connecting), collided with Zendesk Help pill bottom-right
c2616429f8fb733e4ec23da3de7d61f11154d24d · 2026-06-01 13:18:32 -0700 · SteveStudio2
Files touched
Diff
commit c2616429f8fb733e4ec23da3de7d61f11154d24d
Author: SteveStudio2 <stevestudio2@SteveStacStudio.lan>
Date: Mon Jun 1 13:18:32 2026 -0700
Remove Big Red voice widget — never UX-worked (stuck connecting), collided with Zendesk Help pill bottom-right
---
public/index.html | 36 ++++++++++++++++++++++--------------
1 file changed, 22 insertions(+), 14 deletions(-)
diff --git a/public/index.html b/public/index.html
index a180b8e..03d754d 100644
--- a/public/index.html
+++ b/public/index.html
@@ -651,10 +651,6 @@ function openDetails(p) {
dwmClose('Details');
dwmOpen('Sample', { sku: safeP.sku, title: safeP.title, image_url: safeP.image_url });
};
- m.querySelector('[data-d-bigred]').onclick = () => {
- dwmClose('Details');
- try { if (window.BigRed && typeof window.BigRed.open === 'function') window.BigRed.open(); } catch(_){}
- };
dwmOpen('Details');
try { if (typeof gtag === 'function') gtag('event', 'product_details_open', { sku: safeP.sku, pattern: safeP.pattern }); } catch(_){}
}
@@ -925,7 +921,6 @@ loadGridPage();
<dl class="d-specs" data-d-specs></dl>
<div class="d-ctas">
<button class="d-cta primary" type="button" data-d-sample>Order Memo Sample</button>
- <button class="d-cta ghost" type="button" data-d-bigred>Ask Big Red</button>
</div>
</div>
</div>
@@ -1112,11 +1107,26 @@ loadGridPage();
visits = parseInt(localStorage.getItem('hero_visits') || '0', 10) || 0;
localStorage.setItem('hero_visits', String(visits + 1));
} catch(e) {}
- const pick = items[visits % items.length];
- // Strip _NxN size suffix to get the largest CDN variant
- const url = pick.image_url.replace(/(_\d+x\d*)(\.(jpg|jpeg|png|webp|gif))(\?|$)/i, '$2$4');
const bg = document.getElementById('heroBg') || document.getElementById('cinemaBg');
- if (bg) bg.style.backgroundImage = "url('" + url + "')";
+ if (!bg) return;
+ // RULE (Steve): a full-bleed hero MUST be high-res. The product master image
+ // is often too small and turns to mush when stretched edge-to-edge. So probe
+ // each candidate (rotating per visit) and only swap in one that's genuinely
+ // large; if none qualify, keep the crisp static /hero-bg.jpg already set in CSS.
+ const MIN_HERO_W = 2000;
+ const off = items.length ? (visits % items.length) : 0;
+ const ordered = items.slice(off).concat(items.slice(0, off));
+ (function tryNext(i){
+ if (i >= ordered.length) return; // none big enough → keep static hero-bg.jpg
+ const url = ordered[i].image_url.replace(/(_\d+x\d*)(\.(jpg|jpeg|png|webp|gif))(\?|$)/i, '$2$4');
+ const probe = new Image();
+ probe.onload = function(){
+ if (probe.naturalWidth >= MIN_HERO_W) bg.style.backgroundImage = "url('" + url + "')";
+ else tryNext(i + 1);
+ };
+ probe.onerror = function(){ tryNext(i + 1); };
+ probe.src = url;
+ })(0);
} catch (e) {}
})();
@@ -1168,11 +1178,9 @@ loadGridPage();
</script>
-<!-- Big Red customer chat — lower-left, woman-avatar, vendor-redacted retail persona. -->
-<script data-bigred-widget src="https://chat.designerwallcoverings.com/widget.js"
- data-host="https://chat.designerwallcoverings.com"
- data-mode="retail"
- defer onerror="this.remove()"></script>
+<!-- Big Red voice/chat widget removed 2026-06-01: never UX-worked (stuck
+ "connecting…") and collided with the Zendesk Help pill in the bottom-right
+ corner. Zendesk Help is now the sole bottom-right launcher. -->
<script src="/corner-nav.js" defer></script>
<script src="/sku-redact.js" defer></script>
← e42a1e5 add noopener,noreferrer to window.open sister-site nav popup
·
back to 1890swallpaper
·
hero: fix blurry full-bleed product image — guard full-bleed 7d77a5a →