← back to Commercialrealestate
deals.html: scored-deal address drills to city-scoped explorer (yoloforever c3)
889a29c258c9443b9a79dc2bbd5055b4e3835f81 · 2026-07-31 11:37:04 -0700 · Steve
The scored-deals list linked every address to a bare /index.html (explorer
home, unfiltered) — a link that looked live but landed nowhere useful. Now
links /index.html?city=<city>, which the explorer restores into its city
filter (verified: lands filtered, 12/12 links scoped, 0 errors). index.html
has no address/free-text URL filter, so city is the closest reliable scope.
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Files touched
Diff
commit 889a29c258c9443b9a79dc2bbd5055b4e3835f81
Author: Steve <steve@designerwallcoverings.com>
Date: Fri Jul 31 11:37:04 2026 -0700
deals.html: scored-deal address drills to city-scoped explorer (yoloforever c3)
The scored-deals list linked every address to a bare /index.html (explorer
home, unfiltered) — a link that looked live but landed nowhere useful. Now
links /index.html?city=<city>, which the explorer restores into its city
filter (verified: lands filtered, 12/12 links scoped, 0 errors). index.html
has no address/free-text URL filter, so city is the closest reliable scope.
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
---
public/deals.html | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/public/deals.html b/public/deals.html
index 51c1fed..72e261c 100644
--- a/public/deals.html
+++ b/public/deals.html
@@ -274,7 +274,7 @@ function renderTopDeals(rows, DEMO){
const tip=d.parts.map(pt=>`${pt.label}: ${Math.round(pt.score)}/100 (${pt.conf})`).join(' · ');
return `<div class="tdrow" title="${tip.replace(/"/g,'"')}">`+
`<div class="sc" style="color:${col}">${d.score}${conf}<small>SCORE</small></div>`+
- `<div class="ad"><a href="/index.html" title="open in the property explorer">${p.address||'(addr n/a)'}</a> <span class="cy">${p.city||''}</span></div>`+
+ `<div class="ad"><a href="/index.html${p.city?('?city='+encodeURIComponent(p.city)):''}" title="open ${p.city?p.city+' ':''}in the property explorer">${p.address||'(addr n/a)'}</a> <span class="cy">${p.city||''}</span></div>`+
`<div class="mt">${p.type||''} · ${p.units||'?'}u<br>${cap}${dscr}</div>`+
`<div class="pr">${F.money(p.price)}</div></div>`;
}).join('');
← 4717288 crcp: surface Panel 4 in the Warrantability panel — HUD refe
·
back to Commercialrealestate
·
go-live: username/password login live on crcp.agentabrams.co b7adfa4 →