← back to 1800swallpaper
Redact vendor names from Ideas rail (DW-fleet rule)
0c3878e66e529a23149e97979c23cb399578bb23 · 2026-05-25 20:06:49 -0700 · SteveStudio2
Per [[feedback_never_dw_vendors_in_public_ui]], customer-facing UI must
never expose source-vendor names (Kravet, Cole & Son, William Morris,
Phillipe Romano, etc.). The Ideas rail cards were rendering p.vendor
directly in the rc-meta line; swap to "Designer Wallcoverings" to match
the product-card overlay and detail modal.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Files touched
Diff
commit 0c3878e66e529a23149e97979c23cb399578bb23
Author: SteveStudio2 <steve@designerwallcoverings.com>
Date: Mon May 25 20:06:49 2026 -0700
Redact vendor names from Ideas rail (DW-fleet rule)
Per [[feedback_never_dw_vendors_in_public_ui]], customer-facing UI must
never expose source-vendor names (Kravet, Cole & Son, William Morris,
Phillipe Romano, etc.). The Ideas rail cards were rendering p.vendor
directly in the rc-meta line; swap to "Designer Wallcoverings" to match
the product-card overlay and detail modal.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
---
public/index.html | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/public/index.html b/public/index.html
index 7d8e236..07fc94e 100644
--- a/public/index.html
+++ b/public/index.html
@@ -1081,10 +1081,11 @@ loadGridPage();
const curated = items.filter((_, i) => i % 5 === 3).slice(0, 12);
function card(p) {
const url = (p.image_url || '').replace(/(_\d+x\d*)(\.(jpg|jpeg|png|webp|gif))(\?|$)/i, '$2$4');
+ // Never expose vendor name in customer-facing UI — always brand as Designer Wallcoverings.
return '<a class="rail-card" href="/sample/' + encodeURIComponent(p.handle || p.sku) + '">' +
'<img src="' + url + '" alt="' + (p.title || '').replace(/"/g, '"') + '" loading="lazy">' +
'<div class="rc-title">' + ((p.title || '').split('|')[0] || '').trim() + '</div>' +
- '<div class="rc-meta">' + (p.vendor || '') + '</div>' +
+ '<div class="rc-meta">Designer Wallcoverings</div>' +
'</a>';
}
const r1 = document.getElementById('railNewest');
← 197b179 add: pre-stage Meta Pixel snippet (placeholder; flip via _dw
·
back to 1800swallpaper
·
retag aesthetic from PG: 600 rows updated 794751d →