feat(chores): reassign chores between users via dropdown#110
feat(chores): reassign chores between users via dropdown#110eemersonrosa wants to merge 2 commits into
Conversation
Replace the per-chore layout with a check/undo button plus a swap-arrow button that opens a dropdown to move the chore to another person, right from the main dashboard. Reassigning now keeps the daily "all regular chores done" bonus consistent: the award logic is extracted into a reusable helper and re-run for both the previous and new owner on every move, so a user who becomes all-done by losing a chore gets the bonus they earned. It never removes points, so no one loses their score on a move. Also stop tracking runtime data: gitignore the local SQLite database and the generated encryption key. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Reassign chores between users via dropdown
|
Thanks for this, @eemersonrosa — the reassign-from-the-dashboard feature is a great addition. 🙌 Heads up on how it's landing: right before this, we merged a chore due-time notification sounds feature that touched the same two spots your PR does — the
Net behavior is identical to your PR. Because the change now lives directly on our main line, you don't need to rebase or resolve anything — this PR can be closed/squashed whenever is convenient for you. One small follow-up we noted (not blocking, and not something your PR introduced): reassigning via Thanks again for the clean, well-documented contribution! |
Summary
Adds the ability to reassign a chore to another person directly from the main dashboard, without opening settings or editing the chore.
The per-chore row now shows two controls:
Keeping the daily bonus consistent
Reassigning is careful with the daily "all regular chores done" bonus:
Housekeeping
Stops tracking runtime data that shouldn't be in the repo:
server/data/tasks.db) and the generated encryption keyserver/data/tasks.dbChanges
client/src/components/ChoreWidget.jsx— new check/undo + reassign-dropdown UI (+85/-3)server/index.js— reassignment endpoint + extracted bonus-award helper (+99/-66).gitignore— ignore SQLite db and encryption keyserver/data/tasks.db— removed from trackingNotes
main; no changes to existing chore-completion behavior.