Update task completion to use local kanban state update

- Add updatedTask field to TaskCompletionResponse model from API
- Modify CompleteTaskView callback to pass back the updated task
- Add updateTaskInKanban() function to AllTasksView and ResidenceDetailView
- Move completed tasks to correct kanban column without additional API call
- Remove debug print statements from ResidenceDetailView

🤖 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-02 20:50:25 -06:00
parent 0ddd542080
commit 00e303c3be
9 changed files with 163 additions and 53 deletions
+2 -6
View File
@@ -102,12 +102,12 @@
}
}
},
"%lld task%@ selected" : {
"%lld/%lld tasks selected" : {
"localizations" : {
"en" : {
"stringUnit" : {
"state" : "new",
"value" : "%1$lld task%2$@ selected"
"value" : "%1$lld/%2$lld tasks selected"
}
}
}
@@ -17263,10 +17263,6 @@
"comment" : "A message displayed when an image fails to load.",
"isCommentAutoGenerated" : true
},
"Failed to load image" : {
"comment" : "A message displayed when an image fails to load.",
"isCommentAutoGenerated" : true
},
"Feature" : {
"comment" : "The header for a feature in the feature comparison table.",
"isCommentAutoGenerated" : true