Add task template suggestions for quick task creation

- Add TaskTemplate model with category grouping support
- Add TaskTemplateApi for fetching templates from backend
- Add TaskSuggestionDropdown component for Android task form
- Add TaskTemplatesBrowserSheet for browsing all templates
- Add TaskSuggestionsView and TaskTemplatesBrowserView for iOS
- Update DataManager to cache task templates
- Update APILayer with template fetch and search methods
- Update TaskFormView (iOS) with template suggestions
- Update AddTaskDialog (Android) with template suggestions
- Update onboarding task view to use templates

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
Trey t
2025-12-05 09:06:58 -06:00
parent fd8f6d612c
commit 771f5d2bd3
15 changed files with 1585 additions and 83 deletions
+8
View File
@@ -256,6 +256,14 @@ enum L10n {
static var cancel: String { String(localized: "tasks_cancel") }
static var restore: String { String(localized: "tasks_restore") }
static var unarchive: String { String(localized: "tasks_unarchive") }
// Task Templates
static var browseTemplates: String { String(localized: "tasks_browse_templates") }
static var searchTemplates: String { String(localized: "tasks_search_templates") }
static var noTemplatesFound: String { String(localized: "tasks_no_templates_found") }
static var tryDifferentSearch: String { String(localized: "tasks_try_different_search") }
static var result: String { String(localized: "tasks_result") }
static var results: String { String(localized: "tasks_results") }
}
// MARK: - Contractors