mirror of
https://github.com/DRYTRIX/TimeTracker.git
synced 2026-01-22 04:20:18 -06:00
- Fix tasks not being created when projects are created from templates * Remove invalid status parameter from task creation (TaskService doesn't accept it) * Fix estimated_hours conversion from string to float/None * Add proper error handling for task creation failures * Refresh template from database before reading tasks - Fix missing tasks section in template edit form * Add tasks section to edit template form with full CRUD functionality * Display existing tasks when editing templates * Allow adding, editing, and removing tasks in templates - Fix tasks not being saved when creating/editing templates * Fix JavaScript form handling to properly collect tasks from form * Create tasks input field on page load and update on submit * Add capture phase event listener to ensure tasks are set before form submission * Ensure tasks are always saved as a list (never None) - Fix [object Object] error in toast notifications * Add safeguards to ensure flash messages are always strings * Add object-to-string conversion in toast notification system - Improve error handling and validation * Add validation to ensure tasks is always a list * Improve JSON parsing with better error handling * Add safeguards for flash message handling