-
Notifications
You must be signed in to change notification settings - Fork 7
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
Feature/cls2 695 allow for deletion of tasks #6549
Feature/cls2 695 allow for deletion of tasks #6549
Conversation
Passing run #51357 ↗︎Details:
Review all test suite changes for PR #6549 ↗︎ |
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.
Please find the comment with suggestion, otherwise it looks functional.
submitButtonLabel="Delete task" | ||
initialValues={task} | ||
> | ||
{() => <></>} |
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 think more elegant to remove empty arrow function inside Form
component to make it like this:
<Form
id="task-delete-form"
data-test="task-delete-form"
...<more props>
/>
99e698b
to
47dd438
Compare
0988a40
to
d833496
Compare
* Update the FE to use the new status field and allow for Deletion of Tasks using archived.
* Update the FE to use the new status field and allow for Deletion of Tasks using archived.
* Use status complete/active instead of archive true/false (#6497 / #6543) * Feature/cls2 695 allow for deletion of tasks (#6549) --------- Co-authored-by: Claudia Gonzalez-Casales @ClaudiaGC1339 Co-authored-by: santosh dasari <[email protected]>
Description of change
Update the FE to use the new status field and allow for Deletion of Tasks using archived.
On the my tasks dashboard deleted tasks should be hidden.
On the task details page, show DELETED status on the task - this is so users can click through from ‘task deleted by other user’ notification.
Add Delete button on Task view page using.
Test instructions
Screenshots
Before
No delete button visible.
After
A delete button should be displayed on the Edit Task page.
Checklist