[object Object]

← back to Pattern Vault

deco-01 v4: chartreuse ground achieved (RGB ~174,205,37), settlement PASS, added to spoonflower-ready — all 8 gap-lanes now print-prepped

50fa4f0688f6ffc2a9cd496abbcb11fd0871996a · 2026-07-02 12:14:18 -0700 · Steve

Files touched

Diff

commit 50fa4f0688f6ffc2a9cd496abbcb11fd0871996a
Author: Steve <steve@designerwallcoverings.com>
Date:   Thu Jul 2 12:14:18 2026 -0700

    deco-01 v4: chartreuse ground achieved (RGB ~174,205,37), settlement PASS, added to spoonflower-ready — all 8 gap-lanes now print-prepped
---
 assets/spoonflower-ready/deco-01_150dpi.png        | Bin 0 -> 2234229 bytes
 .../daily/runs/2026-07-02-test/20260702test_02.png | Bin 0 -> 1705505 bytes
 .../daily/runs/2026-07-02-test/manifest.json       |  32 +++++++++++++++++++++
 whimsical-compare/daily/scripts/upload_sf.js       |  30 +++++++++++++++----
 4 files changed, 57 insertions(+), 5 deletions(-)

diff --git a/assets/spoonflower-ready/deco-01_150dpi.png b/assets/spoonflower-ready/deco-01_150dpi.png
new file mode 100644
index 0000000..1e43363
Binary files /dev/null and b/assets/spoonflower-ready/deco-01_150dpi.png differ
diff --git a/whimsical-compare/daily/runs/2026-07-02-test/20260702test_02.png b/whimsical-compare/daily/runs/2026-07-02-test/20260702test_02.png
new file mode 100644
index 0000000..c7ce8fb
Binary files /dev/null and b/whimsical-compare/daily/runs/2026-07-02-test/20260702test_02.png differ
diff --git a/whimsical-compare/daily/runs/2026-07-02-test/manifest.json b/whimsical-compare/daily/runs/2026-07-02-test/manifest.json
new file mode 100644
index 0000000..9dc92ab
--- /dev/null
+++ b/whimsical-compare/daily/runs/2026-07-02-test/manifest.json
@@ -0,0 +1,32 @@
+{
+  "date": "2026-07-02-test",
+  "count": 2,
+  "requested": 2,
+  "attempts": 2,
+  "est_cost_usd": 0.0063,
+  "predict_secs": 8.6,
+  "designs": [
+    {
+      "n": 1,
+      "file": "/Users/stevestudio2/Projects/pattern-vault/whimsical-compare/daily/runs/2026-07-02-test/20260702test_01.png",
+      "title": "Marigold Gambol \u2014 Abstract Squiggles",
+      "style": "scandinavian",
+      "motif": "abstract squiggles and blobs",
+      "palette": "peach, mint, taupe",
+      "prompt": "Original hand-illustrated scandinavian wallpaper: abstract squiggles and blobs, whimsical and charming, playful naive hand-drawn linework, our own artistic invention, not a copy of any existing design. seamless repeating wallpaper pattern, tileable, flat lay, even lighting, high-end wallcovering. Colorway: peach, mint, taupe.",
+      "settlement": "OK",
+      "predict_secs": 4.5
+    },
+    {
+      "n": 2,
+      "file": "/Users/stevestudio2/Projects/pattern-vault/whimsical-compare/daily/runs/2026-07-02-test/20260702test_02.png",
+      "title": "Heath Wink \u2014 Cats Curled In Flowers",
+      "style": "hand-cut paper collage",
+      "motif": "cats curled in flowers",
+      "palette": "plum, sage, apricot",
+      "prompt": "Original hand-illustrated hand-cut paper collage wallpaper: cats curled in flowers, whimsical and charming, playful naive hand-drawn linework, our own artistic invention, not a copy of any existing design. seamless repeating wallpaper pattern, tileable, flat lay, even lighting, high-end wallcovering. Colorway: plum, sage, apricot.",
+      "settlement": "OK",
+      "predict_secs": 4.1
+    }
+  ]
+}
\ No newline at end of file
diff --git a/whimsical-compare/daily/scripts/upload_sf.js b/whimsical-compare/daily/scripts/upload_sf.js
index 813c633..19b37e8 100755
--- a/whimsical-compare/daily/scripts/upload_sf.js
+++ b/whimsical-compare/daily/scripts/upload_sf.js
@@ -73,14 +73,34 @@ async function messyType(el, text) {
   await sleep(2500);
   if (pg.url().includes('/login')) { result.sessionExpired = true; await b.close(); console.log(JSON.stringify(result)); return; }
 
+  // reach the uploader the proven way: homepage -> account menu -> "UPLOAD A DESIGN"
+  async function openUploader() {
+    // try known direct URLs first, then fall back to the menu link
+    for (const u of ['https://www.spoonflower.com/en/upload', 'https://www.spoonflower.com/upload',
+                     'https://www.spoonflower.com/design_upload']) {
+      await pg.goto(u, { waitUntil: 'domcontentloaded', timeout: 40000 }).catch(() => {});
+      await sleep(rnd(1500, 3000));
+      if (pg.url().includes('/login')) return 'login';
+      if (await pg.$('input[type=file]')) return 'ok';
+    }
+    // menu fallback
+    await pg.goto('https://www.spoonflower.com/', { waitUntil: 'domcontentloaded', timeout: 40000 }).catch(() => {});
+    await sleep(rnd(1500, 2800));
+    const acct = await pg.$('[aria-label*="account" i], a[href*="account"], button:has-text("account_circle")');
+    if (acct) { await acct.click().catch(() => {}); await sleep(rnd(800, 1600)); }
+    const link = await pg.$('a:has-text("UPLOAD A DESIGN"), a:has-text("Upload a Design"), button:has-text("UPLOAD A DESIGN")');
+    if (link) { await Promise.all([pg.waitForNavigation({ timeout: 15000 }).catch(() => null), link.click().catch(() => {})]); }
+    await sleep(rnd(2000, 3500));
+    if (pg.url().includes('/login')) return 'login';
+    return (await pg.$('input[type=file]')) ? 'ok' : 'nofile';
+  }
+
   for (const d of manifest.designs) {
     try {
-      await pg.goto('https://www.spoonflower.com/design/upload', { waitUntil: 'domcontentloaded', timeout: 45000 }).catch(() => {});
-      await sleep(rnd(1500, 3500));
-      if (pg.url().includes('/login')) { result.sessionExpired = true; break; }
-
+      const st = await openUploader();
+      if (st === 'login') { result.sessionExpired = true; break; }
+      if (st !== 'ok') { result.failed.push({ title: d.title, reason: 'uploader file input not found (DOM may need calibration)' }); continue; }
       const fileInput = await pg.$('input[type=file]');
-      if (!fileInput) { result.failed.push({ title: d.title, reason: 'no file input on upload page' }); continue; }
 
       if (!ARMED) { result.uploaded.push({ title: d.title, dryRun: true, id: null, url: null }); await sleep(rnd(600, 1200)); continue; }
 

← e73596c deco-01 v4: chartreuse-anchored regen lands yellow-green gro  ·  back to Pattern Vault  ·  auto-save: 2026-07-02T12:17:53 (3 files) — whimsical-compare fad3685 →