You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
House keeping and chore refactoring to merge chore due date and chore schedule into a single table. This will allow for more flexibility in scheduling chores and tracking their completion. The following changes were made:
> and `due_date` (calendar deadlines with urgency coloring, #97).
11
+
12
+
---
13
+
1
14
Current State Analysis
2
15
The existing system stores all chore information in a single chores table with fields: id, user_id, title, description, time_period, assigned_day_of_week, repeat_type, completed, clam_value, expiration_date. Clam totals are maintained in users.clam_total, and there's a pruneAndResetChores() function that runs on server startup to manage chore lifecycle.
| 14 |`schema14-deviceAndTabJsonStorage.js`| Moves widget layout into `tabs.config_json` and device settings into `devices.device_settings_json`; **drops**`widget_tab_assignments`. |
Copy file name to clipboardExpand all lines: docs/reference/backend-api.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -125,7 +125,7 @@ static route.
125
125
| --- | --- | --- |
126
126
| GET/POST |`/api/chores`| List / create chore definitions. |
127
127
| PATCH/DELETE |`/api/chores/:id`| Update / delete a chore. |
128
-
| GET/POST |`/api/chore-schedules`| List (filter by `user_id`, `visible`, `usage`, `chore_id`) / create. Accepts `due_time` (`HH:MM`), `sound`, `sound_enabled`, `reminder_interval_minutes` for due-time sounds. |
128
+
| GET/POST |`/api/chore-schedules`| List (filter by `user_id`, `visible`, `usage`, `chore_id`) / create. Accepts `due_time` (`HH:MM`), `sound`, `sound_enabled`, `reminder_interval_minutes` for due-time sounds, and `due_date` (`YYYY-MM-DD`) for calendar deadlines. PATCH `user_id` reassigns a chore and re-checks the daily bonus for both owners. |
129
129
| GET/PATCH/DELETE |`/api/chore-schedules/:id`| Single schedule CRUD. |
130
130
| POST |`/api/chore-schedules/bulk`| Bulk create schedules. |
131
131
| GET/POST |`/api/chore-history`| Query / add history entries. |
0 commit comments