feat: run every bot flow on the reply keyboard
Summary
Every step of the report, manage tasks, timeline and link account flows now uses the Telegram reply keyboard instead of inline buttons. The main menu keyboard comes back when a flow ends.
-
ReplyKeyboardServicerenders screen rows as reply buttons and maps each tapped label back to its callback action;UpdateProcessorreplays it as a virtual callback, so existing handlers, admin checks and debounce are unchanged. - Main menu buttons always leave the current flow or pending prompt.
- Every step has Back / Cancel; the report flow can step back to the previous step.
- In groups, keyboards are selective replies shown only to the acting admin (privacy mode must be off or the bot must be an admin).
- Too-short description / comment input keeps the prompt open.
Fixes
-
/menuregistered in the "/" suggestions; trailing space removed fromset_topic_name. - Link picker parses emails containing
_; stale-flow detection works for commands containing_. - Updates without a sender are ignored instead of failing; linked user ids no longer written to the log.
- Missing English
force_majeure_warning;.env.examplegainsJIRA_API_TOKEN,REPORTS_TIMEZONE,JIRA_STATUS_OWNER_MAP. -
docker-compose.yml.saveuntracked and*.saveignored.
Docs
README and docs/ updated to the current behaviour; disabled commands removed from the README and command reference.
Testing
- New tests for the reply keyboard service, routing, report Back navigation and task-management exit.
-
vendor/bin/pintclean. - No test newly failing. The remaining failures need the MySQL
telegrambottest database. - phpstan errors down from 376 to 369.