From 26b2f3255dea0ee13c562ffcfd8d641fd976d5f8 Mon Sep 17 00:00:00 2001 From: "Danilo M." Date: Mon, 16 Nov 2026 17:31:03 +0100 Subject: fix(xbox): a refused console list no longer blanks the tab; tab icon xccs answers 403 from its gateway while every other Xbox Live endpoint answers, and that one failure marked the whole tab offline. The console list now fails on its own, the tab says console control is unavailable, and the rest reads. The Xbox tab gets the Xbox glyph like the others. Co-Authored-By: Claude Opus 5.5 --- static/modules/xbox.js | 3 +++ 1 file changed, 3 insertions(+) (limited to 'static/modules/xbox.js') diff --git a/static/modules/xbox.js b/static/modules/xbox.js index ec4a14a..65aa7f7 100644 --- a/static/modules/xbox.js +++ b/static/modules/xbox.js @@ -213,6 +213,9 @@ function render(box, st) { const top = h("div", "xb-top"); if (st.playing) top.append(nowPlaying(st)); for (const c of st.consoles ?? []) top.append(consoleCard(c)); + if (!st.consoles?.length && st.reason?.startsWith("consoles")) { + top.append(h("div", "xb-stale", "Console control is unavailable: Xbox Live refused the console list.")); + } box.append(top); box.append(h("div", "xb-section", "Recent games")); -- cgit v1.2.3