LichessStatTgWeb/LichessClientTG_bot
vrubelroman 533c0a7694 onboarding phase 1: one-screen /start, any text is a player name, URL/@ normalisation, next-step texts, /addtoken trap closed
Analysis: docs/analysis/onboarding_funnel.md (56% of users never add a player;
drop happens on the first screen; non-ru/en users convert at 25%).
Design: docs/design/onboarding.md.

- /start: one message. New user: promise + "send a Lichess username, e.g.
  DrNykterstein" with [❓ Где взять имя] / [🇬🇧 English] (language switch edits
  the message in place). Returning user: their players + /today /addgamer /help.
- /addgamer asks for the name directly (the two-button menu from 2025-12-03 is gone).
- Any non-command text in a private chat is a player-name attempt: no awaiting
  flag, PicklePersistence removed. onboarding.normalise_username accepts
  lichess.org URLs, @name, quotes, "add Name"; chess.com and non-name text get
  their own hints; nothing is sent to Lichess for them.
- Every reply ends with the next step (success: hourly report is on, /today,
  send another name). One no_players empty state for /today, /week, /getgamers,
  /delgamer, /setperiod, /profile, /year.
- /help: 18 lines in three groups; /year and /lang aliases; command menu set
  from code for en (default) and ru at startup (set_my_commands).
- /addtoken trap: non-lip_ text gets a hint instead of "invalid token"; any
  other command inside the conversation ends it and runs; /cancel outside a
  conversation answers "nothing to cancel".
- All echoed input html-escaped. Terminology unified: игрок / имя на Lichess /
  отчёт (player / Lichess username / report).
- events: user_start screen=, addgamer_input kind= normalised=, addgamer_result
  format|chesscom, lang_set via=, addtoken_result not_a_token; text in_flow= gone.
- i18n: 18 dead keys removed, 21 added; docs (README, USER_GUIDE, about,
  CURRENT_STATE, CHANGELOG Unreleased) updated; 107 bot tests (was 61).

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
2026-10-21 07:36:31 +00:00
..
admin_bot.py admin bot: /status redesigned around health, growth and activity; raw counters moved to /counters 2026-10-21 06:16:53 +00:00
bot.py onboarding phase 1: one-screen /start, any text is a player name, URL/@ normalisation, next-step texts, /addtoken trap closed 2026-10-21 07:36:31 +00:00
config.py bulk player status: skip periodic checks for players who did not play, pause closed accounts 2026-10-20 22:31:33 +00:00
database.py admin bot: /status redesigned around health, growth and activity; raw counters moved to /counters 2026-10-21 06:16:53 +00:00
Dockerfile Создание единого проекта Lichess Statistics Ecosystem 2025-10-26 20:23:26 +03:00
Dockerfile.admin admin panel 2025-11-13 01:00:48 +03:00
events.py admin bot: /status redesigned around health, growth and activity; raw counters moved to /counters 2026-10-21 06:16:53 +00:00
formatters.py fix silent addgamer drop on restart and periodic-check backlog buildup 2026-07-04 18:33:45 +00:00
helpEN.jpeg заменил картинки 2025-12-03 13:02:14 +03:00
helpRU.jpeg заменил картинки 2025-12-03 13:02:14 +03:00
i18n.py onboarding phase 1: one-screen /start, any text is a player name, URL/@ normalisation, next-step texts, /addtoken trap closed 2026-10-21 07:36:31 +00:00
lichess_api.py admin bot: /status redesigned around health, growth and activity; raw counters moved to /counters 2026-10-21 06:16:53 +00:00
message_counters.py fix log bloat, token leak, silent onboarding gaps, closed-account adds, case-duplicate gamers 2026-10-20 21:21:19 +00:00
notifications.py v1.5.0: startup status-refresh retries, /today skips dormant players, unknown-command hint, /cancel fix 2026-10-20 23:21:53 +00:00
onboarding.py onboarding phase 1: one-screen /start, any text is a player name, URL/@ normalisation, next-step texts, /addtoken trap closed 2026-10-21 07:36:31 +00:00
periodic.py v1.5.1: not-found players paused, tests in repo + CI, log-based daily summary, docs pruned 2026-10-21 02:48:00 +00:00
player_status.py v1.5.1: not-found players paused, tests in repo + CI, log-based daily summary, docs pruned 2026-10-21 02:48:00 +00:00
rate_limiter.py rate limiter 0.2 sec 2025-11-18 15:10:19 +03:00
requirements.txt Создание единого проекта Lichess Statistics Ecosystem 2025-10-26 20:23:26 +03:00
run.sh Change API host port to 8002 2026-03-21 23:14:51 +03:00
version.py v1.5.2: admin /status redesign, /counters 2026-10-21 06:40:18 +00:00