Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@tarunvd
Copy link
Member

@tarunvd tarunvd commented Feb 10, 2021

#81

@tarunvd tarunvd added enhancement New feature or request ready for review labels Feb 10, 2021
@tarunvd tarunvd requested a review from OwenPattison February 10, 2021 16:50
Comment on lines 25 to 28
// Issue #81: If the linked TP entity is a Task *and* its current state is 'Open' or 'Dev ready', set the task to 'In Progress'
// Note: It is important to verify current state of Task, otherwise if a 'Done' task with time remaining is moved to 'In Progress',
// it may increase the time on a story / feature which the dev / user might not realize as the task has moved to 'In Progress' by this utility
// And if the time remaining has not reached 0, the task might not move to 'Done' when the timer is finished
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think this flags the need for a wiki on this package given it is OSS, we should have things like this documented for visibility we can then reference documentation in the code if it is really necessary - for this case just documenting it should be enough I believe, then we can remove the comments.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@tarunvd tarunvd requested a review from OwenPattison February 15, 2021 11:12
try {
await harvestApi.startTimeEntry(details.projectId, details.taskId, date, notes, details.hours, details.running);

// Issue #81: If the linked TP entity is a Task *and* its current state is 'Open' or 'Dev ready', set the task to 'In Progress'
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

we can remove this comment too as the issue will have a reference to this pr

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request ready for review

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants