Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Redesign sidebar #829

Open
nesadrian opened this issue Nov 12, 2024 · 1 comment
Open

Redesign sidebar #829

nesadrian opened this issue Nov 12, 2024 · 1 comment
Assignees
Labels
back-end Backend code, functionality, or API endpoints feat New feature or request

Comments

@nesadrian
Copy link
Contributor

nesadrian commented Nov 12, 2024

We need the following changes in order to complete #825:

  • The unlink task endpoint deletes a task if there is no more than one card connected to it. We need to change this so that this endpoint does not delete tasks.
  • We should be able to include task type when updating a task.
  • The delete task endpoint should delete the task for the whole process. Right now it only removes it from a card if it exists on more than one card. Is there any need for us to send the projectId and the vertexId to the backend in this endpoint since we are also sending the taskId?
@nesadrian nesadrian added back-end Backend code, functionality, or API endpoints feat New feature or request labels Nov 12, 2024
@sir-larsen sir-larsen self-assigned this Nov 19, 2024
@sir-larsen
Copy link

Need some more clarification.

By including task type, I assume you mean updating the task type?

As for the delete/unlink endpoint there is only one endpoint, the delete task endpoint. Do you want to have a separate unlink endpoint to remove task edges, and then rather have the delete endpoint just straight up delete both the vertex and the edge without consideration for if it exists on any card?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
back-end Backend code, functionality, or API endpoints feat New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants