Skip to content

Add opt-in fields for data user profile sharing and retention#144

Merged
BimaAdi merged 1 commit into
pyconid:devfrom
nizarfadlan:feat/136-retain-data-opt-in
Jun 3, 2026
Merged

Add opt-in fields for data user profile sharing and retention#144
BimaAdi merged 1 commit into
pyconid:devfrom
nizarfadlan:feat/136-retain-data-opt-in

Conversation

@nizarfadlan

Copy link
Copy Markdown
Collaborator

Summary

  • Add two optional user profile opt-in fields:
    • share_my_data_to_sponsor
    • retain_my_data_for_next_pycon
  • Persist the new opt-in fields in the user table via Alembic migration.
  • Expose the new fields through user profile update and response schemas.
  • Update user profile tests to cover the new opt-in fields.

Test

  • python -m pytest routes/tests/test_user_profile.py -v

Close #136

Added new fields to the User model to allow users to opt-in for sharing
data with sponsors and retaining their data for the next PyCon ID.
Updated related migration, user creation, and profile update functions
to accommodate these new fields.
@nizarfadlan nizarfadlan changed the title feat(user): add opt-in fields for data sharing and retention Add opt-in fields for data sharing and retention Jun 2, 2026
@nizarfadlan nizarfadlan changed the title Add opt-in fields for data sharing and retention Add opt-in fields for data user profile sharing and retention Jun 2, 2026
@BimaAdi BimaAdi merged commit 83e15f1 into pyconid:dev Jun 3, 2026
4 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.

2 participants