Favorite tasks (#653)
Fixed namespace tests Add test for favorite tasks Fix favorite tasks not being updated Fix integration tests Fix lint Return a pseudo namespace and list for favorites Make sure users can only see their favorites Add condition show tasks from the favorites list Regenerate swagger docs Add favorite field to task Co-authored-by: kolaente <k@knt.li> Reviewed-on: https://kolaente.dev/vikunja/api/pulls/653
This commit is contained in:
parent
ecf09e17a8
commit
e5559137dd
17 changed files with 230 additions and 31 deletions
|
|
@ -6341,6 +6341,10 @@ var doc = `{
|
|||
"description": "The task index, calculated per list",
|
||||
"type": "integer"
|
||||
},
|
||||
"is_favorite": {
|
||||
"description": "True if a task is a favorite task. Favorite tasks show up in a separate \"Important\" list",
|
||||
"type": "boolean"
|
||||
},
|
||||
"labels": {
|
||||
"description": "An array of labels which are associated with this task.",
|
||||
"type": "array",
|
||||
|
|
@ -6802,6 +6806,10 @@ var doc = `{
|
|||
"description": "The task index, calculated per list",
|
||||
"type": "integer"
|
||||
},
|
||||
"is_favorite": {
|
||||
"description": "True if a task is a favorite task. Favorite tasks show up in a separate \"Important\" list",
|
||||
"type": "boolean"
|
||||
},
|
||||
"labels": {
|
||||
"description": "An array of labels which are associated with this task.",
|
||||
"type": "array",
|
||||
|
|
|
|||
|
|
@ -6324,6 +6324,10 @@
|
|||
"description": "The task index, calculated per list",
|
||||
"type": "integer"
|
||||
},
|
||||
"is_favorite": {
|
||||
"description": "True if a task is a favorite task. Favorite tasks show up in a separate \"Important\" list",
|
||||
"type": "boolean"
|
||||
},
|
||||
"labels": {
|
||||
"description": "An array of labels which are associated with this task.",
|
||||
"type": "array",
|
||||
|
|
@ -6785,6 +6789,10 @@
|
|||
"description": "The task index, calculated per list",
|
||||
"type": "integer"
|
||||
},
|
||||
"is_favorite": {
|
||||
"description": "True if a task is a favorite task. Favorite tasks show up in a separate \"Important\" list",
|
||||
"type": "boolean"
|
||||
},
|
||||
"labels": {
|
||||
"description": "An array of labels which are associated with this task.",
|
||||
"type": "array",
|
||||
|
|
|
|||
|
|
@ -130,6 +130,9 @@ definitions:
|
|||
index:
|
||||
description: The task index, calculated per list
|
||||
type: integer
|
||||
is_favorite:
|
||||
description: True if a task is a favorite task. Favorite tasks show up in a separate "Important" list
|
||||
type: boolean
|
||||
labels:
|
||||
description: An array of labels which are associated with this task.
|
||||
items:
|
||||
|
|
@ -478,6 +481,9 @@ definitions:
|
|||
index:
|
||||
description: The task index, calculated per list
|
||||
type: integer
|
||||
is_favorite:
|
||||
description: True if a task is a favorite task. Favorite tasks show up in a separate "Important" list
|
||||
type: boolean
|
||||
labels:
|
||||
description: An array of labels which are associated with this task.
|
||||
items:
|
||||
|
|
|
|||
Reference in a new issue