feat: add enable/disable toggle for chore scheduling in ScheduleModal
All checks were successful
Chore App Build, Test, and Push Docker Images / build-and-push (push) Successful in 2m39s

- Introduced a toggle button to enable or disable chores in the scheduler.
- The toggle will be available in both types of schedulers.
- Added UI design proposal and considerations for mobile dimensions.
- Included E2E tests to ensure toggle state persistence and correct behavior in child view.
This commit is contained in:
2026-03-20 16:42:13 -04:00
parent db6e0a7ce8
commit ef9cb01d92
45 changed files with 3543 additions and 232 deletions

18
.vscode/settings.json vendored
View File

@@ -23,6 +23,10 @@
"chat.tools.terminal.autoApprove": {
"&": true
},
"terminal.integrated.automationProfile.windows": {
"path": "C:\\Windows\\System32\\WindowsPowerShell\\v1.0\\powershell.exe",
"args": []
},
"python-envs.defaultEnvManager": "ms-python.python:venv",
"python-envs.pythonProjects": [],
"editor.gotoLocation.multipleDeclarations": "gotoAndPeek",
@@ -34,18 +38,4 @@
"editor.fontFamily": "JetBrains Mono",
"editor.fontSize": 13,
"editor.fontLigatures": true,
"squarl.bookmarks": [
{
"name": "seed.spec.ts",
"path": "frontend\\vue-app\\e2e\\seed.spec.ts",
"description": "seed.spec.ts",
"type": "file"
},
{
"name": "file://C:/tmp",
"path": "file://C:/tmp",
"description": "",
"type": "link"
}
]
}

59
.vscode/tasks.json vendored
View File

@@ -82,6 +82,65 @@
"command": "cd \"${workspaceFolder}/frontend/vue-app\" && npx playwright test e2e/mode_parent/user-profile --project=chromium-user-profile --project=chromium-user-profile-pin --project=chromium-user-profile-delete",
"isBackground": false,
"group": "test"
},
{
"label": "PW: Full Test Suite",
"type": "shell",
"command": "cd \"${workspaceFolder}/frontend/vue-app\" && npx playwright test --reporter=line",
"isBackground": false,
"group": "test"
},
{
"label": "PW: Full Suite",
"type": "shell",
"command": "cd \"${workspaceFolder}/frontend/vue-app\" && npx playwright test --reporter=line",
"isBackground": false,
"group": "test"
},
{
"label": "PW: Full Suite (Process)",
"type": "process",
"command": "powershell.exe",
"args": [
"-NoProfile",
"-Command",
"cd 'D:\\Python Utilities\\Reward\\frontend\\vue-app'; npx playwright test --reporter=line 2>&1"
],
"group": "test",
"presentation": {
"reveal": "always",
"panel": "shared"
}
},
{
"label": "PW: Penalty Default Test (Process)",
"type": "process",
"command": "powershell.exe",
"args": [
"-NoProfile",
"-Command",
"cd 'D:\\Python Utilities\\Reward\\frontend\\vue-app'; npx playwright test e2e/mode_parent/tasks/penalty-default.spec.ts --project=chromium-default-tasks --reporter=line 2>&1"
],
"group": "test",
"presentation": {
"reveal": "always",
"panel": "shared"
}
},
{
"label": "PW: User Profile Editing Test (Process)",
"type": "process",
"command": "powershell.exe",
"args": [
"-NoProfile",
"-Command",
"cd 'D:\\Python Utilities\\Reward\\frontend\\vue-app'; npx playwright test e2e/mode_parent/user-profile/profile-editing.spec.ts --project=chromium-user-profile --reporter=line 2>&1"
],
"group": "test",
"presentation": {
"reveal": "always",
"panel": "shared"
}
}
]
}