feat: nudge follow-ups: the button on This week, the setting in exports, and a reminder for people with no linked Discord (#1158) #1179
Loading…
Reference in a new issue
No description provided.
Delete branch "feat/1158-nudge-follow-ups"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Follow-ups to #1158 (PR #1168), at the owner's request for 4.5.1.
rsvp_nudged_atandunanswered_players(additive; a player's payload has no GM block).rsvp_nudge_minutesis written by the export and read by the import. A missing key imports as the default; a presentnull(turned off) stays off. The export schema version stays "20": it is an optional scalar in thecampaignobject, liketimezoneandreminder_offsets_minutes, which were not bumped for.session_reminderin their bell instead of a ping; the Discord line ends with a count, never names: "2 others have not linked Discord:/linkconnects your account, so your reactions count." When nobody unanswered is linked, nothing is posted, everyone gets the bell reminder, and the button says "None of them has linked Discord, so they were reminded in Quest Board." "Reminded N people" counts both routes. Muted members are neither reminded nor counted. The bot-feature check now applies only when there is someone to ping, with #1176's two refusals.Bot:
rsvp_nudgeappends the count line fromextra.unlinked_count(a non-negative int; "99+" above 99); still no person-written text. Additive on the wire; noBOT_CONTRACT_VERSIONbump. No migration.Verified
On
docker-test:test_rsvp_nudge.py,test_this_week.py,tests/export/test_export_nudge.py(59 passed); an earlier wider run withtests/exportand the wiki guard tests; the bot suite (1185 passed, before the last backend-only commits); ruff; version and changelog checks; frontend lint; vitest for This week, the button and the session pages (545 passed). J2 run for real in the desktop project (7 passed).Not run: anything after merging main (one conflict in
rsvp_nudge_service.py, resolved by hand: the branch's "only when someone is linked" check with main's refusal sentences); the full suites. Not checked: whether the bell row shows the answer buttons or a plain line. Not checkable on dev: the Discord side.🤖 Generated with Claude Code