From 56d8f3809c68735816dd0c316a441afd40fc6577 Mon Sep 17 00:00:00 2001 From: "Brennan Wilkes (Text Groove)" Date: Fri, 30 Jan 2026 14:28:11 -0800 Subject: [PATCH] feat: V7 store page --- viz/app/store_page.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/viz/app/store_page.js b/viz/app/store_page.js index 6f5d440..b6fe370 100644 --- a/viz/app/store_page.js +++ b/viz/app/store_page.js @@ -229,13 +229,13 @@ export async function renderStore($app, storeLabelRaw) { if (pOther < 0 && it._bestOther !== null && it._bestOther > 0 && it._storePrice !== null) { const pct = Math.round(((it._bestOther - it._storePrice) / it._bestOther) * 100); if (pct <= 0) return `same as next best price`; - return `${esc(pct)}% vs next best price`; + return `${esc(pct)}% lower`; } if (pBest !== null && Number.isFinite(pBest) && pBest > 0) { const pct = Math.round(pBest); - if (pct <= 5) return `same as next best price`; - return `${esc(pct)}% vs best price`; + if (pct <= 5) return `competitive`; + return `${esc(pct)}% higher`; } return "";