Repository navigation
feat(children): adult profiles for parents who log their own chores (#1061) - #1066
Merged
Merged
Conversation
…1061) A profile can now be marked as an adult. A grown-up's own completions are approved straight away (normal chores, bonus sub-tasks and timed sessions), so two parents no longer have to approve each other's work. Children's completions are unchanged. Family-wide cards leave adult profiles out unless the card sets show_adults: true, and then list them after the kids. The option appears in the card editor once the family has an adult. A card pinned to one child_id is unaffected, so an adult can still have a card of their own. The kiosk and chore board treat an explicitly picked adult as opted in. Closes #1061
This was referenced Oct 14, 2026
Merged
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes #1061
Parents who track their own chores had to add themselves as children and then approve each other's work. A profile can now be marked as an adult.
What changes
Backend
is_adultflag on a profile (model,taskmate/add_child,taskmate/update_child). It is published on the overview sensor only when true, so the attribute size is unchanged for families without adults.Admin panel
Cards
show_adults: true. Covered: leaderboard, overview, points, points display, graph, streak, weekly, calendar, sticker chart, reward progress and the parent dashboard (overview and points sections; approvals and rotation still name everyone).child_idis unaffected, so an adult can still have a card of their own.taskmate-attr-resolver.js(__taskmate_family_children,__taskmate_adults_field).Translations: all new strings in every locale (da, de, en, en-GB, fr, nb, nn, pl, pt, pt-BR).
Testing
tests/test_adult_profiles.py: adult chore, sub-task and timed session auto-approve, a child still waits, and the model round-trips. 3 of these fail on main.tests/frontend/taskmate-adult-profiles.test.cjs: filtering, ordering,child_idbypass, editor toggle, leaderboard render.show_adults, the editor toggle, the panel tag and the dialog switch. All test data was removed afterwards.