Compare commits

..

No commits in common. "7d5d1181c064e35b96f74511db7a4d2cacb24915" and "b2de3b7eebc747a83dc46d241e5700cde17286a2" have entirely different histories.

2 changed files with 1 additions and 8 deletions

View File

@ -216,7 +216,7 @@ textarea { resize: vertical; min-height: 120px; }
'<div class="muted">' + escapeHtml(p.state) + ' by ' + escapeHtml(String(p.user || '')) + '</div></div>').join('') : '<div class="muted">No PRs.</div>');
paintDeltas(data.deltas || []);
setStatus(data.error ? 'Degraded · ' + data.error : 'Live · updated just now');
setStatus('Live · updated just now');
setClock();
} catch (e) {
console.error('context failed', e);

View File

@ -9,10 +9,3 @@ async def test_dashboard_renders_repo_mix_placeholder_before_javascript_runs():
server_rendered_html = html.split("<script>", 1)[0]
assert '<div class="small" id="repo-mix">Loading…</div>' in server_rendered_html
@pytest.mark.anyio
async def test_dashboard_marks_fallback_context_as_degraded_instead_of_live():
html = await dashboard()
assert "data.error ? 'Degraded · ' + data.error : 'Live · updated just now'" in html