Add end-to-end tests for chore and project functionalities, enhance auth flow, and update package version

This commit is contained in:
Mo Tarbin
2026-08-11 00:55:17 -04:00
parent 6100738db6
commit 43ffb3da5a
12 changed files with 535 additions and 14 deletions

View File

@@ -1047,8 +1047,12 @@ const TaskInput = ({ initialMode, isModalOpen, onChoreUpdate, onClose }) => {
chore.frequencyMetadata = frequency.frequencyMetadata
chore.frequency = frequency.frequency
}
if (!frequency && dueDate) {
// Use RFC3339/ISO-8601 format expected by backend.
if (dueDate) {
// Use RFC3339/ISO-8601 format expected by backend. The backend only
// derives NextDueDate from what's sent on create (handler.go never
// computes it from frequencyType), so this must be sent whether or
// not the task also repeats — otherwise a recurring task created with
// a due date lands with nextDueDate: null.
chore.nextDueDate = new Date(dueDate).toISOString()
}
if (hasReminders && (frequency || dueDate)) {