Skip to content

feat(Student): Remove birthday data - #368

Merged
hirokiterashima merged 15 commits into
developfrom
remove-birthdays
Nov 17, 2026
Merged

hirokiterashima merged 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
  • 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
Ignore legacy birth fields in student account registration and add coverage for password, Google, and Microsoft flows without birthdays.

Co-authored-by: Copilot <[email protected]>
Reject legacy birthday columns before creating accounts, and import students without birthdays using the current layout.

Co-authored-by: Copilot <[email protected]>
@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

@hirokiterashima hirokiterashima left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. Will merge after review from @breity

@breity breity left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good. 👍

@hirokiterashima
hirokiterashima merged commit 80960fd into develop Nov 17, 2026
2 checks passed
@hirokiterashima
hirokiterashima deleted the remove-birthdays branch November 17, 2026 20:33
@hirokiterashima

Copy link
Copy Markdown
Member

🎉 This PR is included in version 1.28.0 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request released

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants