← back to Bestwallpaperplace
Remove vendor name leak from product card overlay
a3248f389ad85dcb43f6d2b1c16c38ff65ed367e · 2026-05-25 20:49:23 -0700 · Steve Abrams
The .ven div was rendering p.vendor (e.g. 'Hollywood Wallcoverings')
on every card overlay. Standing rule: DW vendor names NEVER in
customer-facing UI. Title already strips ' | <vendor>' suffix, so
the visible card stays informative without the vendor leak.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Files touched
Diff
commit a3248f389ad85dcb43f6d2b1c16c38ff65ed367e
Author: Steve Abrams <steve@designerwallcoverings.com>
Date: Mon May 25 20:49:23 2026 -0700
Remove vendor name leak from product card overlay
The .ven div was rendering p.vendor (e.g. 'Hollywood Wallcoverings')
on every card overlay. Standing rule: DW vendor names NEVER in
customer-facing UI. Title already strips ' | <vendor>' suffix, so
the visible card stays informative without the vendor leak.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
---
public/index.html | 2 --
1 file changed, 2 deletions(-)
diff --git a/public/index.html b/public/index.html
index e729de9..73d5a6a 100644
--- a/public/index.html
+++ b/public/index.html
@@ -449,7 +449,6 @@ a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible
}
function card(p) {
const handle = p.handle || p.sku || '';
- const ven = p.vendor || '';
const title = (p.title || '').replace(/ \| .*$/, '');
const img = p.image_url || '';
const sampleUrl = '/sample/' + encodeURIComponent(handle);
@@ -459,7 +458,6 @@ a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible
</a>
<div class="overlay">
<div class="pat">${title.replace(/</g,'<')}</div>
- <div class="ven">${ven.replace(/</g,'<')}</div>
<div class="actions">
<a class="sample-btn" href="${sampleUrl}" target="_blank" rel="noopener noreferrer">Request Sample</a>
</div>
← 960ec72 retag aesthetic from PG: 600 rows updated
·
back to Bestwallpaperplace
·
wire api-vendor-redact middleware (close vendors-facet leak) 4b9975c →