-
-
Notifications
You must be signed in to change notification settings - Fork 237
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
fix: retain manually added Done & Cancelled dates in modal #3087
fix: retain manually added Done & Cancelled dates in modal #3087
Conversation
64e7123
to
5c83b5b
Compare
…nged to done & cancelled respectively
5c83b5b
to
52c4a79
Compare
Sorry for late minute force push, just a comment update |
I think I'm missing something: how do the tests verify the reported 'Steps to reproduce' are fixed?
If I understand the tests correctly, they confirm that editing a task that already has a Done date does not change the Done date, which is a different thing. What have I misunderstood? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for looking at this.
As mentioned in a different comment, in today's implementation these are same, but may change in future, so I will try to create new tests that show this behaviour. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I am approving this becauseI I really don't think it's worth spending any more time on it.
But it's become really quite complex code to understand and maintain now, I feel.
The issue is due to the |
It's OK, I've told SonarCloud to ignore it... |
Quality Gate passedIssues Measures |
Thank you! |
Types of changes
Changes visible to users:
fix
- non-breaking change which fixes an issue)Internal changes:
test
- additions and improvements to unit tests and the smoke tests)Description
Don't overwrite a user-entered Done date if changing status to DONE
Don't overwrite a user-entered Cancelled date if changing status to CANCELLED
Motivation and Context
How has this been tested?
Checklist
yarn run lint
.Terms