The evaluation after the final whistle is a note on the match sheet

Its five steps are pills in the note's head. The results scale with their number:
one match fills the note, two share it, three or four are large rows. The day's
totals carry large pictures. Notes have no drop shadow, which drew a stray line.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
This commit is contained in:
MichaelandClaude Fable 5.2 committed 2026-11-16 21:55:29 +01:00
1 parent 79b0a75c14
commit 13f5b1e4d4
7 files changed
+192 -125

No files matched your search

+5 -1
View File
@@ -556,6 +556,10 @@ std::string App::live_card(const Json &match, const Json &frame, const std::stri
}
std::string App::render_live() {
if(live_review_) return render_postmatch();
return live_sheet({});
}
// The match sheet; `over` replaces the sheet's own notes (substitution, tactics) on top of it.
std::string App::live_sheet(const std::string &over) {
if (!live_.available()) return "";
if (auto *node = element("live-ticker")) live_ticker_scroll_ = live_reset_ticker_ ? 0 : node->GetScrollTop();
if (auto *node = element("live-detail-body")) live_detail_scroll_ = live_reset_detail_ ? 0 : node->GetScrollTop();
@@ -640,7 +644,7 @@ std::string App::render_live() {
}
out += "<span id=\"live-playback-status\" class=\"mv-status\">" + esc(live_feedback_.empty() ? (recorded ? std::string() : std::string(phase_text) + " · " + std::to_string(minute) + "′ · keine Spielwertänderung") : live_feedback_) + "</span>" +
btn(live_.finished() ? "live-review" : "live-next", live_.finished() ? "Zur Auswertung" : live_.running() ? "Nächste Minute" : "Nächste Meldung", "mv-btn primary", "id=\"" + std::string(live_.finished() ? "live-review" : "live-next") + "\"") + "</footer>";
return out + live_dialog_markup(owner) + "</section>";
return out + (over.empty() ? live_dialog_markup(owner) : over) + "</section>";
}
void App::live_after_render() {
if(live_review_){postmatch_after_render();return;}