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

[BUG] - Task Time Resets After Comment is Added, Instead of Accumulating #66

Open
darielnoel opened this issue Sep 7, 2024 · 2 comments
Assignees
Labels
bug Something isn't working friends library Issues and enhancements directly related to the codebase of the library component of the project. playground Pertains to the interactive examples or sandbox environments that allow for testing or playing with

Comments

@darielnoel
Copy link
Contributor

Describe the Bug

When a task is moved to "Done" and a comment is added, the task automatically moves back to "Doing" and then "Blocked." During this process, the task’s time is reset, instead of being cumulative as expected. The user observed that only the credits and tokens accumulate, but the total time does not reflect the full duration of the task.

KaibanJS Team Config

Provide a link to a playground or configuration file to reproduce the issue in your KaibanJS setup, if applicable. For example, see: Example Playground

Steps to Reproduce

  1. Move a task to "Done."
  2. Add a comment to the task.
  3. Observe that the task moves back to "Doing" and then "Blocked."
  4. Check the task time — it gets reset instead of accumulating.

Current vs. Expected Behavior

Current Behavior: When a comment is added to a completed task, the time resets and the task status moves from "Done" to "Doing" and "Blocked."

Expected Behavior: The task time should be cumulative, continuing to accumulate even after a comment is added, without resetting when the task's status changes.

Environment

  • Framework/Library: Playground
  • KaibanJS Version: 0.3.0
  • JavaScript Runtime: Chrome
image
@darielnoel darielnoel added bug Something isn't working library Issues and enhancements directly related to the codebase of the library component of the project. playground Pertains to the interactive examples or sandbox environments that allow for testing or playing with labels Sep 7, 2024
@darielnoel
Copy link
Contributor Author

@dannleft Do you mind checking this out? See if we can find more examples of this behavior/bug?

@dannleft
Copy link
Collaborator

dannleft commented Sep 9, 2024

@darielnoel I'm going to look at it. I'll let you know if I see anything.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working friends library Issues and enhancements directly related to the codebase of the library component of the project. playground Pertains to the interactive examples or sandbox environments that allow for testing or playing with
Projects
None yet
Development

No branches or pull requests

2 participants