Let players turn off recorded match notices
Maintainers usually reply within 1 day
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 38/100
- Issue type
- Feature
- Clarity
- Mostly clear
- Activity status
- Active
- Tech stack
- openapi, python
- Domain
- api, authentication, backend, documentation
Research direction
Read ADR 0041 and compare the single match notification path with the CSV batch path, especially send_batch_notices. Trace the existing audit pattern for privacy or profile settings and the player settings API route; inspect the related tests and OpenAPI generation workflow. Done means the opt-out defaults on, is audited, suppresses only recorded match emails in both paths, and the API, notice guidance, privacy inventory, ADR, and tests reflect the chosen policy.
Written by the indexing model from the issue text.
Description
Context: #208 (ADR 0041) emails each player when a verified Organizer records a confirmed match for them. The notice is always sent, with no setting to turn it off, because it is how players catch bad or fraudulent uploads. ADR 0041 leaves an opt-out to a later issue. A player in a busy league may get many of these emails and want fewer.
Tasks:
- Decide what a player may turn off: the per-match email only, or all recorded match notices. Players who turn it off should still be able to see recorded matches (for example in a list in the app), so the fraud check is weaker but not gone
- Add the setting with its own field. Default on. Record a change through the existing audit pattern for privacy or profile settings
- Decide whether players aged 13 to 17 may turn it off
- Skip the email for a player who turned it off, in both the single match path and the CSV batch path (
send_batch_notices) - Add a short line to the notice telling the player where to change the setting, built from
FRONTEND_URL, and keep the email hygiene checks passing - Update
docs/privacy/personal-data-inventory.mdif the field counts as personal data (ADR 0009), and amend ADR 0041 - Expose the setting through
PATCH /api/v1/me/playeror the settings route the web app uses, and regenerateopenapi/openapi.json - Tests
Acceptance criteria:
- A player who turned the notice off gets no recorded match email, from a single submission or a CSV upload
- A new player has the notice on
- Changing the setting records one Audit Event
- Dispute and hold notices are not affected
Consider with: #37 (digest and daily budget). A digest may remove most of the need for an opt-out, so decide this after or alongside #37.
Related: #208, ADR 0041
Size: S
- Dominant language
- Python
- Stars
- 0
- Forks
- 1
- Avg merge
- 1h 7m
- Merged PRs (30d)
- 206
Getting set up
- No Dockerfile or Docker Compose file
- No pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from openpickleball/backend
-
area:infra documentation priority:p2 size:S
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
openpickleball/backend#472 ·
Maintainers usually reply within 1 day
-
Show doctl's error when the Deploy workflow's update failsPossibly taken @GeoBradDev claimed this today. Openarea:infra bug priority:p2 size:S
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
openpickleball/backend#471 ·
Maintainers usually reply within 1 day
-
area:infra documentation type:chore
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
openpickleball/backend#196 ·
Maintainers usually reply within 1 day
-
area:infra type:chore
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
openpickleball/backend#195 ·
Maintainers usually reply within 1 day
-
area:api enhancement
Difficulty 4/5 3-5 days Newbie friendliness 45/100
openpickleball/backend#470 ·
Maintainers usually reply within 1 day
All issues in openpickleball/backend
Similar issues
-
bug(operator): VolterraOperator built inside jax.jit with a concrete decay raises TracerBoolConversionErrorPossibly taken @jejjohnson claimed this today. Opentype:bug
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
jejjohnson/integrix#144 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
finos/ai-governance-framework#459 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
autowarefoundation/autoware_carla_scenario#2963 ·
Maintainers usually reply within 1 day
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
freelawproject/litigant-portal#1307 ·
Maintainers usually reply within 2 days
-
type/bug
Difficulty 1/5 Under an hour Newbie friendliness 86/100
h2oai/h2o-llmstudio#1163 ·
Maintainers usually reply within 1 day