← back to Dw Discovery
discovery: point index.html at real dw_unified catalog (fix oil-filter image + 94%-Red mis-bucketing)
9ba8fa6613f40a7ca107b4ded7f7f9821b25528f · 2026-06-24 07:33:49 -0700 · Steve
Files touched
Diff
commit 9ba8fa6613f40a7ca107b4ded7f7f9821b25528f
Author: Steve <steve@designerwallcoverings.com>
Date: Wed Jun 24 07:33:49 2026 -0700
discovery: point index.html at real dw_unified catalog (fix oil-filter image + 94%-Red mis-bucketing)
---
index.html | 14 ++++++++++++--
1 file changed, 12 insertions(+), 2 deletions(-)
diff --git a/index.html b/index.html
index f77260f..aaa3d73 100644
--- a/index.html
+++ b/index.html
@@ -97,8 +97,18 @@
<script src="dw-discovery.js"></script>
<script>
- fetch('data/products.json').then(r => r.json()).then(products => {
- window.dwd = new DWDiscovery({ mount: '#grid', products });
+ // Real dw_unified-derived catalog (Thibaut Texture Resource 9): clean color
+ // buckets + activation-gated images. Replaces the deprecated demo seed
+ // (data/products.json) whose dominant-color step mis-bucketed ~94% as "Red"
+ // and attached a wrong image (a Baldwin B7469 oil filter) to Coastal Mist.
+ Promise.all([
+ fetch('data/products.real.json').then(r => r.json()),
+ fetch('data/config.real.json').then(r => r.json())
+ ]).then(([products, config]) => {
+ window.dwd = new DWDiscovery({ mount: '#grid', products, config });
+ }).catch(e => {
+ document.getElementById('grid').innerHTML =
+ '<div class="err">Failed to load catalog data: ' + e + '</div>';
});
</script>
</body>
← c12c9ee Document real dw_unified adapter + index.real.html in README
·
back to Dw Discovery
·
Staged: 5,000 newest products across all vendors (86 vendors 7fe9415 →