Fix Assignees being deleted when adding a due date #254
No reviewers
Labels
No Label
area/internal-code
changes requested
confirmed
dependencies
duplicate
good first issue
help wanted
hosting
invalid
kind/bug
kind/feature
question
wontfix
No Milestone
No project
No Assignees
1 Participants
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: vikunja/frontend#254
Loading…
Reference in New Issue
No description provided.
Delete Branch "fix/assignees-lost-when-adding-due-date"
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?
I started this with adding the current task to global state with the goal of having each task component update the current task only in global state. After I started doing that, I realized this may add more complexity than the problem it solves because now I can't use the
v-model
bindings for any task property sincethis.task
got replaced by a computed property. I could solve this by adding a lot of variables to the task detail component which I'd then need to manually update and populate with values initially. I'd loose the reactivity from vue. Doesn't seem like a good way.On second thought, I think adding a
v-model
binding to the assignees component (should only bindtask.assignees
) is the way to go. That's also the way labels work. The labels and assignees component are similar in the way they're both using a seperate service to update labels or assignees, not the main taskService.The idea I had previously seems neat in theory, but is way too complicated and overengineered in practice.
WIP: Fix Assignees being deleted when adding a due dateto Fix Assignees being deleted when adding a due date