Session 17: Audit response — checkout 401 fix, hero prop 404 fix, Slate parsing fix, ALL tab cascade isolation, cookie/nav/footer/autocomplete polish (1438 tests)

This commit is contained in:
Kev
2026-06-11 21:22:59 -04:00
parent 73b65a0248
commit beaf8b2a61
14 changed files with 681 additions and 25 deletions
+16
View File
@@ -340,6 +340,22 @@ export default function ScanPage() {
}}
autoComplete="off"
/>
{/* Session 17 — show "no results" when the search ran but
returned nothing. Audit reported a silent dropdown failure;
this gives the user feedback when the upstream player
service is offline or the spelling didn't match. */}
{playerQuery.trim().length >= 2 && playerSuggestions.length === 0 && playerQuery !== selectedPlayer && (
<div
className="surface-elevated"
style={{
position: 'absolute', top: '100%', left: 0, right: 0,
marginTop: 4, zIndex: 20, padding: 12,
fontSize: 12, color: 'var(--text-tertiary)',
}}
>
No {sport} players matched &ldquo;{playerQuery}&rdquo;. Check spelling or try a partial name.
</div>
)}
{playerSuggestions.length > 0 && playerQuery !== selectedPlayer && (
<div
className="surface-elevated"