From 40327c33b4e4e88f8262c1c144558cff73d3ced3 Mon Sep 17 00:00:00 2001 From: Shekhar Vaidya Date: Thu, 25 Jun 2026 12:12:51 +0530 Subject: [PATCH] fix(frontend): show lockdown message on error path when no stale data When the backend returns 429+lockdown with no cached stale data to serve, the error section now shows the human-readable lockdown explanation instead of the raw "Sentinel marked this request as rejected." string. Co-Authored-By: Claude Sonnet 4.6 --- frontend/src/pages/ProductDetailPage.tsx | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/frontend/src/pages/ProductDetailPage.tsx b/frontend/src/pages/ProductDetailPage.tsx index 01d4df0..2c2c3d7 100644 --- a/frontend/src/pages/ProductDetailPage.tsx +++ b/frontend/src/pages/ProductDetailPage.tsx @@ -544,7 +544,10 @@ export default function ProductDetailPage() { >
- {error} + {isLockdown + ? 'Our server has been temporarily blocked by Microsoft and is in a 90-minute cooldown. Use the CLI to get your link instantly — it bypasses our server entirely.' + : error + }
{selectedSku && (