Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix Age Config Defaults and Operation #4444

Merged
merged 3 commits into from
Feb 9, 2025
Merged

Fix Age Config Defaults and Operation #4444

merged 3 commits into from
Feb 9, 2025

Conversation

hdaws
Copy link
Contributor

@hdaws hdaws commented Feb 7, 2025

lets try this again with a new branch name....

Sets collect birthdays to true
Restores ability to have age categories
Sets up some sane (?) defaults in age categories

@hdaws hdaws requested review from kitsuta and bitbyt3r February 7, 2025 04:06
@@ -1392,7 +1392,7 @@ can_volunteer = boolean(default=True)
consent_form = boolean(default=False)

[[under_13]]
Copy link
Member

Choose a reason for hiding this comment

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

Let's simplify these a bit more, since not all conventions have the under-13/over-13 distinction, and just do two age groups: under 18 and 18 and up. The wristband color can be red vs green and the under-18 group should have volunteering turned off and the consent form turned on.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Fixed!

[[under_13]]
desc = string(default="Between 6 and 13")
[[under_18]]
desc = string(default="Under 18")
min_age = integer(default=6)
Copy link
Member

Choose a reason for hiding this comment

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

Min age should be 0 here so people under 6 don't get sorted into "age unknown"

Copy link
Contributor Author

Choose a reason for hiding this comment

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

fixed. i didnt realize there wasn't a min age config elsewhere

Copy link
Member

@kitsuta kitsuta left a comment

Choose a reason for hiding this comment

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

Looks great! Thank you!!

@kitsuta kitsuta merged commit 774718b into main Feb 9, 2025
3 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