Android: assign a task to someone #152
No reviewers
Labels
No labels
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
CrowderSoup/vTodo!152
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "crowdersoup/android-assignee"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
The Android app showed who a task was assigned to but had no way to change it. The server already supported assigning tasks, so this PR only changes the app.
What changes
/api/v1/assignees/list. Agents are labelled "(agent)".assigneestable, and tasks keep theirassigneeid. This adds a Room migration from version 8 to 9.assigneeonly when it changed, so an assignment made on the website in the meantime isn't overwritten. A new task sends it only when set. If the project picker moved a new task to another workspace, it drops an assignee who can't be assigned there.Tests
TaskPayloadTestcases cover the assignee in payloads.