show logged-in player count in landing hero

Count distinct users with a session token valid within the 14-day window and use it for the hero players-training stat. The learning strip keeps the total player count.

Also load the split seed modules in seeds_test and drop an invalid 8-piece seed FEN so precommit passes.
This commit is contained in:
2026-11-06 22:11:06 +01:00
parent 46bc27f614
commit b54fb0a6d7
9 changed files with 58 additions and 19 deletions
+2
View File
@@ -3,6 +3,8 @@ defmodule Chesstrainer.SeedsTest do
alias Chesstrainer.FEN
Code.require_file("../../priv/repo/seeds/endgames/win.ex", __DIR__)
Code.require_file("../../priv/repo/seeds/endgames/draw.ex", __DIR__)
Code.require_file("../../priv/repo/seeds/endgames.ex", __DIR__)
describe "seed endgames" do