mirror of
https://github.com/AmanTahiliani/box-box.git
synced 2026-08-07 19:56:18 -04:00
fix(race-hub): consume canonical weekend context for #75 review
Address PR #82 review blockers: drop the competing /weekend default_analysis_session resolver, land bare /race-hub via /api/v1/weekend-context, derive Live/preparing/partial/unavailable from authoritative context with a moving clock, hide Local Coverage behind Diagnostics, isolate the future-session fixture from the shared seed, and strengthen return-to-Weekend context coverage. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -1853,6 +1853,7 @@ a { color: inherit; text-decoration: none; }
|
||||
.rh-state-live { background: var(--red); }
|
||||
.rh-state-upcoming { background: var(--text-3); }
|
||||
.rh-state-preparing { background: var(--text-3); opacity: 0.5; }
|
||||
.rh-state-unavailable { background: var(--text-3); opacity: 0.4; }
|
||||
.rh-state-cancelled { background: var(--text-3); opacity: 0.35; }
|
||||
|
||||
/* ── Pre-session (expected availability) view ── */
|
||||
@@ -1888,6 +1889,27 @@ a { color: inherit; text-decoration: none; }
|
||||
color: var(--text);
|
||||
margin-top: var(--s3);
|
||||
}
|
||||
.rh-partial-banner {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
gap: var(--s3);
|
||||
margin: 0 var(--s5) var(--s3);
|
||||
padding: var(--s3) var(--s4);
|
||||
border: 1px solid color-mix(in srgb, var(--yellow) 45%, var(--border));
|
||||
background: color-mix(in srgb, var(--yellow) 12%, transparent);
|
||||
color: var(--text-2);
|
||||
font-size: 12px;
|
||||
}
|
||||
.rh-partial-banner-link {
|
||||
appearance: none;
|
||||
background: transparent;
|
||||
border: 0;
|
||||
color: var(--text);
|
||||
text-decoration: underline;
|
||||
cursor: pointer;
|
||||
font: inherit;
|
||||
}
|
||||
.rh-expected-grid {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
|
||||
|
||||
Reference in New Issue
Block a user