[object Object]

← back to Fix Live Board

chore: lint + refactor pass (session close) — TK-11307

34860f0a398b3ce3afb74a0b36a342d221a5330f · 2026-09-10 09:46:02 -0700 · Steve Abrams

Comment accuracy after the ShowroomOnly rename. No logic change.
Verified: 10/10 consumer-agreement suite still green.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>

Files touched

Diff

commit 34860f0a398b3ce3afb74a0b36a342d221a5330f
Author: Steve Abrams <steve@designerwallcoverings.com>
Date:   Thu Sep 10 09:46:02 2026 -0700

    chore: lint + refactor pass (session close) — TK-11307
    
    Comment accuracy after the ShowroomOnly rename. No logic change.
    Verified: 10/10 consumer-agreement suite still green.
    
    Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
---
 config/showroom-vendor.cjs | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/config/showroom-vendor.cjs b/config/showroom-vendor.cjs
index 2876996..f9b355a 100644
--- a/config/showroom-vendor.cjs
+++ b/config/showroom-vendor.cjs
@@ -58,7 +58,7 @@ function isShowroomVendor(vendor) {
 // so it is safe in code AND in a Shopify/Boost tag query. Compared lowercased.
 const SHOWROOM_TAG = 'showroomonly';
 
-/** Case-insensitive check: does this product's tags array/string include the Showroom tag? */
+/** Case-insensitive check: does this product's tags array/string include the ShowroomOnly tag? */
 function hasShowroomTag(tags) {
   if (tags == null) return false;
   const arr = Array.isArray(tags) ? tags : String(tags).split(',');
@@ -67,11 +67,11 @@ function hasShowroomTag(tags) {
 
 /**
  * True iff the PRODUCT is showroom-only (addressable-but-not-discoverable): EITHER its
- * vendor is on the showroom-vendors.json list, OR it carries the product-level "Showroom"
+ * vendor is on the showroom-vendors.json list, OR it carries the product-level "ShowroomOnly"
  * tag. The tag path is how a shared-vendor line is hidden from discovery/feed surfaces
  * WITHOUT hiding the vendor's sellable products. Callers pass the whole product object
  * (must include `vendor` and `tags`). Never hardcode a vendor name — edit the JSON list
- * for vendor-level, apply the "Showroom" tag for product-level. TK-11307.
+ * for vendor-level, apply the "ShowroomOnly" tag for product-level. TK-11307.
  */
 function isShowroomProduct(product) {
   if (!product) return false;

← d6185a7 showroom: rename tag to 'ShowroomOnly' — 'Showroom' collides  ·  back to Fix Live Board  ·  showroom: commit a regression suite for the tag predicate (T be04e86 →