[object Object]

← back to Designer Wallcoverings

auto-save: 2026-07-30T12:17:59 (41 files) — shopify/collection-hero-fix/tk10056-hero-rotate/hero-rotate.py shopify/collection-hero-fix/tk10055-free-promote/all-heroes-1.png shopify/collection-hero-fix/tk10055-free-promote/all-heroes-2.png shopify/collection-hero-fix/tk10055-free-promote/shots/01.png shopify/collection-hero-fix/tk10055-free-promote/shots/02.png

7e0060adb0f67b790cc72c4972316c3e68ccea95 · 2026-07-30 12:18:06 -0700 · Steve Abrams

Files touched

Diff

commit 7e0060adb0f67b790cc72c4972316c3e68ccea95
Author: Steve Abrams <steve@designerwallcoverings.com>
Date:   Thu Jul 30 12:18:06 2026 -0700

    auto-save: 2026-07-30T12:17:59 (41 files) — shopify/collection-hero-fix/tk10056-hero-rotate/hero-rotate.py shopify/collection-hero-fix/tk10055-free-promote/all-heroes-1.png shopify/collection-hero-fix/tk10055-free-promote/all-heroes-2.png shopify/collection-hero-fix/tk10055-free-promote/shots/01.png shopify/collection-hero-fix/tk10055-free-promote/shots/02.png
---
 .../tk10055-free-promote/all-heroes-1.png             | Bin 0 -> 974086 bytes
 .../tk10055-free-promote/all-heroes-2.png             | Bin 0 -> 4010139 bytes
 .../tk10055-free-promote/shots/01.png                 | Bin 0 -> 84483 bytes
 .../tk10055-free-promote/shots/02.png                 | Bin 0 -> 84483 bytes
 .../tk10055-free-promote/shots/03.png                 | Bin 0 -> 85818 bytes
 .../tk10055-free-promote/shots/04.png                 | Bin 0 -> 84483 bytes
 .../tk10055-free-promote/shots/05.png                 | Bin 0 -> 85818 bytes
 .../tk10055-free-promote/shots/06.png                 | Bin 0 -> 84483 bytes
 .../tk10055-free-promote/shots/07.png                 | Bin 0 -> 85818 bytes
 .../tk10055-free-promote/shots/08.png                 | Bin 0 -> 84483 bytes
 .../tk10055-free-promote/shots/09.png                 | Bin 0 -> 85818 bytes
 .../tk10055-free-promote/shots/10.png                 | Bin 0 -> 84483 bytes
 .../tk10055-free-promote/shots/11.png                 | Bin 0 -> 84483 bytes
 .../tk10055-free-promote/shots/12.png                 | Bin 0 -> 84483 bytes
 .../tk10055-free-promote/shots/13.png                 | Bin 0 -> 84483 bytes
 .../tk10055-free-promote/shots/14.png                 | Bin 0 -> 84483 bytes
 .../tk10055-free-promote/shots/15.png                 | Bin 0 -> 84483 bytes
 .../tk10055-free-promote/shots/16.png                 | Bin 0 -> 685780 bytes
 .../tk10055-free-promote/shots/17.png                 | Bin 0 -> 676037 bytes
 .../tk10055-free-promote/shots/18.png                 | Bin 0 -> 592305 bytes
 .../tk10055-free-promote/shots/19.png                 | Bin 0 -> 699754 bytes
 .../tk10055-free-promote/shots/20.png                 | Bin 0 -> 799299 bytes
 .../tk10055-free-promote/shots/21.png                 | Bin 0 -> 449652 bytes
 .../tk10055-free-promote/shots/22.png                 | Bin 0 -> 885969 bytes
 .../tk10055-free-promote/shots/23.png                 | Bin 0 -> 740400 bytes
 .../tk10055-free-promote/shots/24.png                 | Bin 0 -> 525064 bytes
 .../tk10055-free-promote/shots/25.png                 | Bin 0 -> 874655 bytes
 .../tk10055-free-promote/shots/26.png                 | Bin 0 -> 832344 bytes
 .../tk10055-free-promote/shots/27.png                 | Bin 0 -> 817152 bytes
 .../tk10055-free-promote/shots/28.png                 | Bin 0 -> 607303 bytes
 .../tk10055-free-promote/shots/29.png                 | Bin 0 -> 600956 bytes
 .../tk10055-free-promote/shots/30.png                 | Bin 0 -> 839934 bytes
 .../tk10055-free-promote/shots/31.png                 | Bin 0 -> 593746 bytes
 .../tk10055-free-promote/shots/32.png                 | Bin 0 -> 606902 bytes
 .../tk10055-free-promote/shots/33.png                 | Bin 0 -> 450550 bytes
 .../tk10055-free-promote/shots/34.png                 | Bin 0 -> 770268 bytes
 .../tk10055-free-promote/shots/35.png                 | Bin 0 -> 682733 bytes
 .../tk10055-free-promote/shots/36.png                 | Bin 0 -> 534604 bytes
 .../tk10055-free-promote/shots/37.png                 | Bin 0 -> 595287 bytes
 .../tk10055-free-promote/shots/38.png                 | Bin 0 -> 568316 bytes
 .../tk10056-hero-rotate/hero-rotate.py                |  12 ++++++++----
 41 files changed, 8 insertions(+), 4 deletions(-)

diff --git a/shopify/collection-hero-fix/tk10055-free-promote/all-heroes-1.png b/shopify/collection-hero-fix/tk10055-free-promote/all-heroes-1.png
new file mode 100644
index 00000000..9cfbe0d5
Binary files /dev/null and b/shopify/collection-hero-fix/tk10055-free-promote/all-heroes-1.png differ
diff --git a/shopify/collection-hero-fix/tk10055-free-promote/all-heroes-2.png b/shopify/collection-hero-fix/tk10055-free-promote/all-heroes-2.png
new file mode 100644
index 00000000..4327d106
Binary files /dev/null and b/shopify/collection-hero-fix/tk10055-free-promote/all-heroes-2.png differ
diff --git a/shopify/collection-hero-fix/tk10055-free-promote/shots/01.png b/shopify/collection-hero-fix/tk10055-free-promote/shots/01.png
new file mode 100644
index 00000000..641873b9
Binary files /dev/null and b/shopify/collection-hero-fix/tk10055-free-promote/shots/01.png differ
diff --git a/shopify/collection-hero-fix/tk10055-free-promote/shots/02.png b/shopify/collection-hero-fix/tk10055-free-promote/shots/02.png
new file mode 100644
index 00000000..641873b9
Binary files /dev/null and b/shopify/collection-hero-fix/tk10055-free-promote/shots/02.png differ
diff --git a/shopify/collection-hero-fix/tk10055-free-promote/shots/03.png b/shopify/collection-hero-fix/tk10055-free-promote/shots/03.png
new file mode 100644
index 00000000..f623001c
Binary files /dev/null and b/shopify/collection-hero-fix/tk10055-free-promote/shots/03.png differ
diff --git a/shopify/collection-hero-fix/tk10055-free-promote/shots/04.png b/shopify/collection-hero-fix/tk10055-free-promote/shots/04.png
new file mode 100644
index 00000000..641873b9
Binary files /dev/null and b/shopify/collection-hero-fix/tk10055-free-promote/shots/04.png differ
diff --git a/shopify/collection-hero-fix/tk10055-free-promote/shots/05.png b/shopify/collection-hero-fix/tk10055-free-promote/shots/05.png
new file mode 100644
index 00000000..f623001c
Binary files /dev/null and b/shopify/collection-hero-fix/tk10055-free-promote/shots/05.png differ
diff --git a/shopify/collection-hero-fix/tk10055-free-promote/shots/06.png b/shopify/collection-hero-fix/tk10055-free-promote/shots/06.png
new file mode 100644
index 00000000..641873b9
Binary files /dev/null and b/shopify/collection-hero-fix/tk10055-free-promote/shots/06.png differ
diff --git a/shopify/collection-hero-fix/tk10055-free-promote/shots/07.png b/shopify/collection-hero-fix/tk10055-free-promote/shots/07.png
new file mode 100644
index 00000000..f623001c
Binary files /dev/null and b/shopify/collection-hero-fix/tk10055-free-promote/shots/07.png differ
diff --git a/shopify/collection-hero-fix/tk10055-free-promote/shots/08.png b/shopify/collection-hero-fix/tk10055-free-promote/shots/08.png
new file mode 100644
index 00000000..641873b9
Binary files /dev/null and b/shopify/collection-hero-fix/tk10055-free-promote/shots/08.png differ
diff --git a/shopify/collection-hero-fix/tk10055-free-promote/shots/09.png b/shopify/collection-hero-fix/tk10055-free-promote/shots/09.png
new file mode 100644
index 00000000..f623001c
Binary files /dev/null and b/shopify/collection-hero-fix/tk10055-free-promote/shots/09.png differ
diff --git a/shopify/collection-hero-fix/tk10055-free-promote/shots/10.png b/shopify/collection-hero-fix/tk10055-free-promote/shots/10.png
new file mode 100644
index 00000000..641873b9
Binary files /dev/null and b/shopify/collection-hero-fix/tk10055-free-promote/shots/10.png differ
diff --git a/shopify/collection-hero-fix/tk10055-free-promote/shots/11.png b/shopify/collection-hero-fix/tk10055-free-promote/shots/11.png
new file mode 100644
index 00000000..641873b9
Binary files /dev/null and b/shopify/collection-hero-fix/tk10055-free-promote/shots/11.png differ
diff --git a/shopify/collection-hero-fix/tk10055-free-promote/shots/12.png b/shopify/collection-hero-fix/tk10055-free-promote/shots/12.png
new file mode 100644
index 00000000..641873b9
Binary files /dev/null and b/shopify/collection-hero-fix/tk10055-free-promote/shots/12.png differ
diff --git a/shopify/collection-hero-fix/tk10055-free-promote/shots/13.png b/shopify/collection-hero-fix/tk10055-free-promote/shots/13.png
new file mode 100644
index 00000000..641873b9
Binary files /dev/null and b/shopify/collection-hero-fix/tk10055-free-promote/shots/13.png differ
diff --git a/shopify/collection-hero-fix/tk10055-free-promote/shots/14.png b/shopify/collection-hero-fix/tk10055-free-promote/shots/14.png
new file mode 100644
index 00000000..641873b9
Binary files /dev/null and b/shopify/collection-hero-fix/tk10055-free-promote/shots/14.png differ
diff --git a/shopify/collection-hero-fix/tk10055-free-promote/shots/15.png b/shopify/collection-hero-fix/tk10055-free-promote/shots/15.png
new file mode 100644
index 00000000..641873b9
Binary files /dev/null and b/shopify/collection-hero-fix/tk10055-free-promote/shots/15.png differ
diff --git a/shopify/collection-hero-fix/tk10055-free-promote/shots/16.png b/shopify/collection-hero-fix/tk10055-free-promote/shots/16.png
new file mode 100644
index 00000000..bd81451f
Binary files /dev/null and b/shopify/collection-hero-fix/tk10055-free-promote/shots/16.png differ
diff --git a/shopify/collection-hero-fix/tk10055-free-promote/shots/17.png b/shopify/collection-hero-fix/tk10055-free-promote/shots/17.png
new file mode 100644
index 00000000..9195e223
Binary files /dev/null and b/shopify/collection-hero-fix/tk10055-free-promote/shots/17.png differ
diff --git a/shopify/collection-hero-fix/tk10055-free-promote/shots/18.png b/shopify/collection-hero-fix/tk10055-free-promote/shots/18.png
new file mode 100644
index 00000000..f22f7635
Binary files /dev/null and b/shopify/collection-hero-fix/tk10055-free-promote/shots/18.png differ
diff --git a/shopify/collection-hero-fix/tk10055-free-promote/shots/19.png b/shopify/collection-hero-fix/tk10055-free-promote/shots/19.png
new file mode 100644
index 00000000..d2609491
Binary files /dev/null and b/shopify/collection-hero-fix/tk10055-free-promote/shots/19.png differ
diff --git a/shopify/collection-hero-fix/tk10055-free-promote/shots/20.png b/shopify/collection-hero-fix/tk10055-free-promote/shots/20.png
new file mode 100644
index 00000000..d5969ff9
Binary files /dev/null and b/shopify/collection-hero-fix/tk10055-free-promote/shots/20.png differ
diff --git a/shopify/collection-hero-fix/tk10055-free-promote/shots/21.png b/shopify/collection-hero-fix/tk10055-free-promote/shots/21.png
new file mode 100644
index 00000000..fef3fea9
Binary files /dev/null and b/shopify/collection-hero-fix/tk10055-free-promote/shots/21.png differ
diff --git a/shopify/collection-hero-fix/tk10055-free-promote/shots/22.png b/shopify/collection-hero-fix/tk10055-free-promote/shots/22.png
new file mode 100644
index 00000000..b9ffa29c
Binary files /dev/null and b/shopify/collection-hero-fix/tk10055-free-promote/shots/22.png differ
diff --git a/shopify/collection-hero-fix/tk10055-free-promote/shots/23.png b/shopify/collection-hero-fix/tk10055-free-promote/shots/23.png
new file mode 100644
index 00000000..9754256e
Binary files /dev/null and b/shopify/collection-hero-fix/tk10055-free-promote/shots/23.png differ
diff --git a/shopify/collection-hero-fix/tk10055-free-promote/shots/24.png b/shopify/collection-hero-fix/tk10055-free-promote/shots/24.png
new file mode 100644
index 00000000..1c3d6cb8
Binary files /dev/null and b/shopify/collection-hero-fix/tk10055-free-promote/shots/24.png differ
diff --git a/shopify/collection-hero-fix/tk10055-free-promote/shots/25.png b/shopify/collection-hero-fix/tk10055-free-promote/shots/25.png
new file mode 100644
index 00000000..11ce2bcd
Binary files /dev/null and b/shopify/collection-hero-fix/tk10055-free-promote/shots/25.png differ
diff --git a/shopify/collection-hero-fix/tk10055-free-promote/shots/26.png b/shopify/collection-hero-fix/tk10055-free-promote/shots/26.png
new file mode 100644
index 00000000..61f83a5b
Binary files /dev/null and b/shopify/collection-hero-fix/tk10055-free-promote/shots/26.png differ
diff --git a/shopify/collection-hero-fix/tk10055-free-promote/shots/27.png b/shopify/collection-hero-fix/tk10055-free-promote/shots/27.png
new file mode 100644
index 00000000..09f1008e
Binary files /dev/null and b/shopify/collection-hero-fix/tk10055-free-promote/shots/27.png differ
diff --git a/shopify/collection-hero-fix/tk10055-free-promote/shots/28.png b/shopify/collection-hero-fix/tk10055-free-promote/shots/28.png
new file mode 100644
index 00000000..eeef31a4
Binary files /dev/null and b/shopify/collection-hero-fix/tk10055-free-promote/shots/28.png differ
diff --git a/shopify/collection-hero-fix/tk10055-free-promote/shots/29.png b/shopify/collection-hero-fix/tk10055-free-promote/shots/29.png
new file mode 100644
index 00000000..4fda264f
Binary files /dev/null and b/shopify/collection-hero-fix/tk10055-free-promote/shots/29.png differ
diff --git a/shopify/collection-hero-fix/tk10055-free-promote/shots/30.png b/shopify/collection-hero-fix/tk10055-free-promote/shots/30.png
new file mode 100644
index 00000000..afeb7ebd
Binary files /dev/null and b/shopify/collection-hero-fix/tk10055-free-promote/shots/30.png differ
diff --git a/shopify/collection-hero-fix/tk10055-free-promote/shots/31.png b/shopify/collection-hero-fix/tk10055-free-promote/shots/31.png
new file mode 100644
index 00000000..c2d0ed7d
Binary files /dev/null and b/shopify/collection-hero-fix/tk10055-free-promote/shots/31.png differ
diff --git a/shopify/collection-hero-fix/tk10055-free-promote/shots/32.png b/shopify/collection-hero-fix/tk10055-free-promote/shots/32.png
new file mode 100644
index 00000000..7db7980a
Binary files /dev/null and b/shopify/collection-hero-fix/tk10055-free-promote/shots/32.png differ
diff --git a/shopify/collection-hero-fix/tk10055-free-promote/shots/33.png b/shopify/collection-hero-fix/tk10055-free-promote/shots/33.png
new file mode 100644
index 00000000..163bd137
Binary files /dev/null and b/shopify/collection-hero-fix/tk10055-free-promote/shots/33.png differ
diff --git a/shopify/collection-hero-fix/tk10055-free-promote/shots/34.png b/shopify/collection-hero-fix/tk10055-free-promote/shots/34.png
new file mode 100644
index 00000000..9c5fa9ca
Binary files /dev/null and b/shopify/collection-hero-fix/tk10055-free-promote/shots/34.png differ
diff --git a/shopify/collection-hero-fix/tk10055-free-promote/shots/35.png b/shopify/collection-hero-fix/tk10055-free-promote/shots/35.png
new file mode 100644
index 00000000..780f3852
Binary files /dev/null and b/shopify/collection-hero-fix/tk10055-free-promote/shots/35.png differ
diff --git a/shopify/collection-hero-fix/tk10055-free-promote/shots/36.png b/shopify/collection-hero-fix/tk10055-free-promote/shots/36.png
new file mode 100644
index 00000000..53c8fcf9
Binary files /dev/null and b/shopify/collection-hero-fix/tk10055-free-promote/shots/36.png differ
diff --git a/shopify/collection-hero-fix/tk10055-free-promote/shots/37.png b/shopify/collection-hero-fix/tk10055-free-promote/shots/37.png
new file mode 100644
index 00000000..03e84cf7
Binary files /dev/null and b/shopify/collection-hero-fix/tk10055-free-promote/shots/37.png differ
diff --git a/shopify/collection-hero-fix/tk10055-free-promote/shots/38.png b/shopify/collection-hero-fix/tk10055-free-promote/shots/38.png
new file mode 100644
index 00000000..83cb42e6
Binary files /dev/null and b/shopify/collection-hero-fix/tk10055-free-promote/shots/38.png differ
diff --git a/shopify/collection-hero-fix/tk10056-hero-rotate/hero-rotate.py b/shopify/collection-hero-fix/tk10056-hero-rotate/hero-rotate.py
index fa998e6b..d3fec864 100644
--- a/shopify/collection-hero-fix/tk10056-hero-rotate/hero-rotate.py
+++ b/shopify/collection-hero-fix/tk10056-hero-rotate/hero-rotate.py
@@ -44,18 +44,22 @@ def score(im):
     elif 1.2<=ratio<=2.6 and mn>=600: s+=12; kind="landscape"
     if mn<700 and not room: s-=8
     return s,kind
-def newest_products(cid,n=18):
+def newest_products(cid,n=40):
     prods=req("GET",f"collections/{cid}/products.json?limit=60&fields=id,created_at,images").get("products",[])
     prods.sort(key=lambda p:p.get("created_at",""),reverse=True)
     return prods[:n]
 def pick_hero(cid):
+    # scan newest-first; prefer newest via a small recency bonus, but still find the best
+    # big hero anywhere if the newest items only have tiny/unusable images (e.g. braid-tape)
     best=None
-    for p in newest_products(cid):
+    for i,p in enumerate(newest_products(cid)):
+        recency=max(0,(40-i))*0.25  # newest ~+10 ... won't override room(>40) vs swatch(12)
         for im in p.get("images",[]):
             sc,kind=score(im)
             if sc<=0: continue
-            cand=(sc,kind,im.get("width"),im.get("height"),im["src"],p.get("created_at","")[:10])
-            if best is None or sc>best[0]: best=cand
+            tot=sc+recency
+            cand=(tot,kind,im.get("width"),im.get("height"),im["src"],p.get("created_at","")[:10])
+            if best is None or tot>best[0]: best=cand
     return best
 def load():
     if os.path.exists(PROMOTED): return json.load(open(PROMOTED))

← b22ef15f TK-10057: room-setting heroes live (38); storage-safe no-op  ·  back to Designer Wallcoverings  ·  TK-10057: fix braid-tape (wider scan + recency bonus); auto- 743f36cc →