Replace status_id with in_progress boolean across mobile apps

- Remove TaskStatus model and status_id foreign key references
- Add in_progress boolean field to task models and forms
- Update TaskApi to use dedicated POST endpoints for task actions:
  - POST /tasks/:id/cancel/ instead of PATCH with is_cancelled
  - POST /tasks/:id/uncancel/
  - POST /tasks/:id/archive/
  - POST /tasks/:id/unarchive/
- Fix iOS TaskViewModel to use error-first pattern for Kotlin-Swift
  generic type bridging issues
- Update iOS callback signatures to pass full TaskResponse instead
  of just taskId to avoid stale closure lookups
- Add in_progress localization strings
- Update widget preview data to use inProgress boolean

🤖 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-08 20:47:59 -06:00
parent a067228597
commit 4a04aff1e6
33 changed files with 314 additions and 376 deletions
+65
View File
@@ -27381,6 +27381,71 @@
}
}
},
"tasks_in_progress_label" : {
"extractionState" : "manual",
"localizations" : {
"de" : {
"stringUnit" : {
"state" : "translated",
"value" : "In Bearbeitung"
}
},
"en" : {
"stringUnit" : {
"state" : "translated",
"value" : "In Progress"
}
},
"es" : {
"stringUnit" : {
"state" : "translated",
"value" : "En Progreso"
}
},
"fr" : {
"stringUnit" : {
"state" : "translated",
"value" : "En Cours"
}
},
"it" : {
"stringUnit" : {
"state" : "translated",
"value" : "In corso"
}
},
"ja" : {
"stringUnit" : {
"state" : "translated",
"value" : "進行中"
}
},
"ko" : {
"stringUnit" : {
"state" : "translated",
"value" : "진행 중"
}
},
"nl" : {
"stringUnit" : {
"state" : "translated",
"value" : "In behandeling"
}
},
"pt" : {
"stringUnit" : {
"state" : "translated",
"value" : "Em Andamento"
}
},
"zh" : {
"stringUnit" : {
"state" : "translated",
"value" : "进行中"
}
}
}
},
"tasks_library" : {
"extractionState" : "manual",
"localizations" : {