feature: add more to project pane

This commit is contained in:
Jordan Knott
2020-05-26 19:53:31 -05:00
parent 7e78ee36b4
commit fba4de631f
64 changed files with 1845 additions and 582 deletions

View File

@ -1,10 +1,10 @@
mutation assignTask($taskID: UUID!, $userID: UUID!) {
assignTask(input: {taskID: $taskID, userID: $userID}) {
id
assigned {
userID
id
firstName
lastName
}
taskID
}
}

View File

@ -0,0 +1,8 @@
mutation createProjectLabel($projectID: UUID!, $labelColorID: UUID!, $name: String!) {
createProjectLabel(input:{projectID:$projectID, labelColorID: $labelColorID, name: $name}) {
id
createdDate
colorHex
name
}
}

View File

@ -1,10 +1,21 @@
mutation createTask($taskGroupID: String!, $name: String!, $position: Float!) {
createTask(input: { taskGroupID: $taskGroupID, name: $name, position: $position }) {
taskID
taskGroup {
taskGroupID
}
id
name
position
description
taskGroup {
id
}
assigned {
id
firstName
lastName
profileIcon {
url
initials
bgColor
}
}
}
}

View File

@ -2,7 +2,7 @@ mutation createTaskGroup( $projectID: String!, $name: String!, $position: Float!
createTaskGroup(
input: { projectID: $projectID, name: $name, position: $position }
) {
taskGroupID
id
name
position
}

View File

@ -3,9 +3,9 @@ mutation deleteTaskGroup($taskGroupID: UUID!) {
ok
affectedRows
taskGroup {
taskGroupID
id
tasks {
taskID
id
name
}
}

View File

@ -2,7 +2,7 @@ query findProject($projectId: String!) {
findProject(input: { projectId: $projectId }) {
name
members {
userID
id
firstName
lastName
profileIcon {
@ -11,17 +11,23 @@ query findProject($projectId: String!) {
bgColor
}
}
labels {
id
createdDate
colorHex
name
}
taskGroups {
taskGroupID
id
name
position
tasks {
taskID
id
name
position
description
assigned {
userID
id
firstName
lastName
profileIcon {

View File

@ -1,14 +1,14 @@
query findTask($taskID: UUID!) {
findTask(input: {taskID: $taskID}) {
taskID
id
name
description
position
taskGroup {
taskGroupID
id
}
assigned {
userID
id
firstName
lastName
profileIcon {

View File

@ -1,9 +1,9 @@
query getProjects {
projects {
projectID
id
name
team {
teamID
id
name
}
}

View File

@ -1,10 +1,10 @@
mutation unassignTask($taskID: UUID!, $userID: UUID!) {
unassignTask(input: {taskID: $taskID, userID: $userID}) {
assigned {
userID
id
firstName
lastName
}
taskID
id
}
}

View File

@ -1,5 +1,5 @@
mutation updateTaskDescription($taskID: UUID!, $description: String!) {
updateTaskDescription(input: {taskID: $taskID, description: $description}) {
taskID
id
}
}

View File

@ -1,6 +1,6 @@
mutation updateTaskGroupLocation($taskGroupID: UUID!, $position: Float!) {
updateTaskGroupLocation(input:{taskGroupID:$taskGroupID, position: $position}) {
taskGroupID
id
position
}
}

View File

@ -1,6 +1,6 @@
mutation updateTaskLocation($taskID: String!, $taskGroupID: String!, $position: Float!) {
updateTaskLocation(input: { taskID: $taskID, taskGroupID: $taskGroupID, position: $position }) {
taskID
id
createdAt
name
position

View File

@ -1,6 +1,6 @@
mutation updateTaskName($taskID: String!, $name: String!) {
updateTaskName(input: { taskID: $taskID, name: $name }) {
taskID
id
name
position
}