feat: add chore, kindness, and penalty management components
All checks were successful
Chore App Build, Test, and Push Docker Images / build-and-push (push) Successful in 2m34s

- Implemented ChoreAssignView for assigning chores to children.
- Created ChoreConfirmDialog for confirming chore completion.
- Developed KindnessAssignView for assigning kindness acts.
- Added PenaltyAssignView for assigning penalties.
- Introduced ChoreEditView and ChoreView for editing and viewing chores.
- Created KindnessEditView and KindnessView for managing kindness acts.
- Developed PenaltyEditView and PenaltyView for managing penalties.
- Added TaskSubNav for navigation between chores, kindness acts, and penalties.
This commit is contained in:
2026-02-28 11:25:56 -05:00
parent 65e987ceb6
commit d7316bb00a
61 changed files with 7364 additions and 647 deletions

View File

@@ -22,6 +22,9 @@ const showBack = computed(
!(
route.path === '/parent' ||
route.name === 'TaskView' ||
route.name === 'ChoreView' ||
route.name === 'KindnessView' ||
route.name === 'PenaltyView' ||
route.name === 'RewardView' ||
route.name === 'NotificationView'
),
@@ -56,7 +59,9 @@ onMounted(async () => {
'ParentView',
'ChildEditView',
'CreateChild',
'TaskAssignView',
'ChoreAssignView',
'KindnessAssignView',
'PenaltyAssignView',
'RewardAssignView',
].includes(String(route.name)),
}"
@@ -82,8 +87,21 @@ onMounted(async () => {
</svg>
</button>
<button
:class="{ active: ['TaskView', 'EditTask', 'CreateTask'].includes(String(route.name)) }"
@click="router.push({ name: 'TaskView' })"
:class="{
active: [
'TaskView',
'ChoreView',
'KindnessView',
'PenaltyView',
'EditChore',
'CreateChore',
'EditKindness',
'CreateKindness',
'EditPenalty',
'CreatePenalty',
].includes(String(route.name)),
}"
@click="router.push({ name: 'ChoreView' })"
aria-label="Tasks"
title="Tasks"
>