Modern UI statistics screen: transfer history and the six curves

Section 1 lists the manager's transfers from the original's own records,
section 2 the six curves of the original (its labels, weekly values and the
absolute scale); the interface scales them itself.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
ClaudeandClaude Opus 5.5 committed 2026-10-27 09:05:57 +01:00
1 parent 015fa65f56
commit 6054a44acf
5 files changed
+64 -5

No files matched your search

+2
View File
@@ -277,6 +277,8 @@ int main(int argc, char** argv) {
check(truth(at(transfers, "ok")) && !truth(at(transfers, "available")) && s(at(transfers, "reason")) == "not_recorded",
"transfer history not recorded");
check(s(at(session.read_statistics_screen(O{{"section", 9}}), "error")) == "invalid_statistics_filter", "bad section");
const J curves = session.read_statistics_screen(O{{"section", 2}});
check(at(curves, "series").array() && at(curves, "series").array()->size() == 6, "the six curves of the original");
}
} catch (const std::exception& ex) {
std::fprintf(stderr, "FAIL: %s\n", ex.what());