← back to Dw Discovery
Point dw-discovery index.html (default :8771 page) at staged 5k newest all-vendor dataset (products.staged.json)
3188c10c817ed2aad0c789bcbbb884b48af08e0b · 2026-06-24 08:54:26 -0700 · Steve Abrams
Files touched
Diff
commit 3188c10c817ed2aad0c789bcbbb884b48af08e0b
Author: Steve Abrams <steve@designerwallcoverings.com>
Date: Wed Jun 24 08:54:26 2026 -0700
Point dw-discovery index.html (default :8771 page) at staged 5k newest all-vendor dataset (products.staged.json)
---
index.html | 15 +++++----------
1 file changed, 5 insertions(+), 10 deletions(-)
diff --git a/index.html b/index.html
index aaa3d73..88b040c 100644
--- a/index.html
+++ b/index.html
@@ -97,18 +97,13 @@
<script src="dw-discovery.js"></script>
<script>
- // 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 });
+ // Default view: 5,000 newest products across all vendors (staged dataset,
+ // real images/specs/color from the live all-products feed, newest-first).
+ fetch('data/products.staged.json').then(r => r.json()).then(products => {
+ window.dwd = new DWDiscovery({ mount: '#grid', products });
}).catch(e => {
document.getElementById('grid').innerHTML =
- '<div class="err">Failed to load catalog data: ' + e + '</div>';
+ '<div class="dwd-empty">Failed to load catalog data: ' + e + '</div>';
});
</script>
</body>
← 7fe9415 Staged: 5,000 newest products across all vendors (86 vendors
·
back to Dw Discovery
·
auto-save: 2026-06-24T08:55:52 (1 files) — dw-discovery.js 34290ed →