Skip to content

feat(Student): Remove birthday data - #368

Open
Aaron-Detre wants to merge 15 commits into
developfrom
remove-birthdays
Open

Aaron-Detre wants to merge 15 commits into
developfrom
remove-birthdays

Conversation

@Aaron-Detre

@Aaron-Detre Aaron-Detre commented Nov 2, 2026 •

Copy link
Copy Markdown
Contributor

Changes

  • Remove birthday requirements from student registration, account details, survey accounts, and account recovery.
  • Generate student usernames from names with numeric suffixes, and support account recovery using student names.
  • Update batch account creation, its sample CSV, and user-facing messages for imports without birthday fields.
  • Add a migration to drop the student birthday column and tests for the migration and updated account flows.

    [IMPORTANT] Make sure to save a backup before merging. This migration will delete ALL student birthday information from the database.

Test

  • Test with feat(Student): Remove birthday data WISE-Client#2370 and feat(Student): Remove birthday data WISE-Docker-Dev#22
  • Register a student without a birthday and verify the resulting account information.
  • Create student accounts through survey and batch-import flows without birthday columns.
  • Verify student account usernames are recoverable without birthday.
  • Register a student with a duplicate first name and last initial, and confirm a number is appended to the username.
  • Apply the migration and confirm the student birthday column is removed.

Aaron-Detre and others added 15 commits October 24, 2026 15:41
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Ignore legacy birth fields in student account registration and add coverage for password, Google, and Microsoft flows without birthdays.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Reject legacy birthday columns before creating accounts, and import students without birthdays using the current layout.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot 223556219+Copilot@users.noreply.github.com
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@Aaron-Detre Aaron-Detre self-assigned this Nov 2, 2026
@Aaron-Detre Aaron-Detre added the enhancement New feature or request label Nov 2, 2026
@Aaron-Detre Aaron-Detre changed the title Remove student birthday requirements feat(Application): Remove references to and gathering of student birthday information Nov 2, 2026
@Aaron-Detre Aaron-Detre changed the title feat(Application): Remove references to and gathering of student birthday information feat(Student): Remove birthday requirements Nov 2, 2026
@Aaron-Detre Aaron-Detre changed the title feat(Student): Remove birthday requirements feat(Student): Remove birthday data Nov 2, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant