Skip to content

B7 — bulk-notify the published schedule - #213

Merged
tomqwu merged 1 commit into
mainfrom
overnight-B7-bulk-notify
May 19, 2026
Merged

tomqwu merged 1 commit into
mainfrom
overnight-B7-bulk-notify

Conversation

@tomqwu

@tomqwu tomqwu commented May 19, 2026

Copy link
Copy Markdown
Owner

Summary

  • Publishing already auto-creates inbox notifications for assignees. This adds an explicit admin re-notify: a "Notify assignees" button on a published solution that creates a reminder inbox notification per assignee.
  • Honors email preferences — recipients who removed reminder from enabled_types are skipped (count reflects who was actually notified). Org-scoped queries (strict tenancy guard); DB-only, never breaks the publish fragment; blocked until the solution is published.

Test plan

  • tests/web/test_bulk_notify.py — reminder per assignee, prefs honored (opt-out skipped), requires-published (400), unknown solution → 404
  • Committed e2e tests/e2e/test_bulk_notify.py — publish → click Notify → volunteer inbox shows the reminder + the auto publish notice + unread
  • Local: full tests/e2e/ 5 passed; web suite green; black --check api tests + ruff check api tests clean; contract + OpenAPI snapshot unchanged (web route, not in schema)
  • CI: lint/type/test + blocking e2e lane green

Closes #212 · part of #196 (Phase B).

🤖 Generated with Claude Code

Adds an explicit admin "Notify assignees" action on a published
solution that creates a `reminder` inbox notification for every
assignee, honoring per-person EmailPreference (recipients who removed
`reminder` from enabled_types are skipped). Org-scoped to satisfy the
strict tenancy guard; DB-only, never breaks the publish view. Surfaces
a "Reminder sent to N assignee(s)" notice; blocked until published.

Tests: tests/web/test_bulk_notify.py (per-assignee create, prefs
honored, requires-published, unknown→404) and committed e2e
tests/e2e/test_bulk_notify.py (publish → notify → assignee inbox shows
the reminder alongside the auto publish notice).

Closes #212

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@tomqwu tomqwu added this to the Overnight — e2e workflows milestone May 19, 2026
@tomqwu tomqwu mentioned this pull request May 19, 2026
16 tasks done
@tomqwu
tomqwu merged commit cb0359f into main May 19, 2026
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

B7 — bulk-notify the published schedule → inbox

1 participant