From 925dc0f55dd70e56ec9fdd003cdbf639a85b2d73 Mon Sep 17 00:00:00 2001 From: "Brennan Wilkes (Text Groove)" Date: Fri, 30 Jan 2026 16:52:05 -0800 Subject: [PATCH] feat: V10 store page --- viz/app/store_page.js | 21 ++++++++------------- 1 file changed, 8 insertions(+), 13 deletions(-) diff --git a/viz/app/store_page.js b/viz/app/store_page.js index 7a20ed6..b3a985d 100644 --- a/viz/app/store_page.js +++ b/viz/app/store_page.js @@ -64,9 +64,7 @@ export async function renderStore($app, storeLabelRaw) {
- - -
+
Max price
+ +
@@ -358,10 +359,7 @@ export async function renderStore($app, storeLabelRaw) { $maxPriceLabel.textContent = "No prices"; return; } - const atTop = Math.abs(selectedMaxPrice - boundMax) <= 0.01; - $maxPriceLabel.textContent = atTop - ? `${formatDollars(boundMax)} (all)` - : `${formatDollars(selectedMaxPrice)}`; + $maxPriceLabel.textContent = `${formatDollars(selectedMaxPrice)}`; } if (pageMax === null) { @@ -422,7 +420,6 @@ export async function renderStore($app, storeLabelRaw) { const diffBadge = priceBadgeHtml(it); const skuLink = `#/link/?left=${encodeURIComponent(String(it.sku || ""))}`; - console.log(it); return `
@@ -474,9 +471,7 @@ export async function renderStore($app, storeLabelRaw) { } if (pageMax !== null) { - const atTop = Math.abs(selectedMaxPrice - boundMax) <= 0.01; - const cap = atTop ? "all prices" : `≤ ${formatDollars(selectedMaxPrice)}`; - $status.textContent = `In stock: ${total} item(s) (${cap}).`; + $status.textContent = `In stock: ${total} item(s) (≤ ${formatDollars(selectedMaxPrice)}).`; return; }