Port statistics and the news tablet to the Modern UI (by Codex)

This commit is contained in:
Codex committed 2026-10-25 20:10:57 +01:00
1 parent 349c416f3a
commit a45217c362
32 files changed
+2493 -23

No files matched your search

+13
View File
@@ -0,0 +1,13 @@
// SPDX-License-Identifier: GPL-3.0-only
#pragma once
#include "modern/ui/catalog.hpp"
namespace bmh::modern_ui {
// Deterministic, presentation-only statistics. Request: section 0..8 (default
// 7), category 0/1/5, country 0..5, winner_country an actual nation ID,
// absolute boolean and curves an array of six booleans. No state is mutated.
// Table cells carry text and optional actual club/player/nation references.
// Unknown fields, malformed filters and unavailable countries are rejected.
Json demo_statistics(const Catalog &, const Json &full_state,
const Json &request = Json::object());
} // namespace bmh::modern_ui