-
Notifications
You must be signed in to change notification settings - Fork 38
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
Implement 'Add manual task' feature #4065
Conversation
8cd041e
to
98010bd
Compare
7d788da
to
e653ec5
Compare
ab79ed0
to
aaa9cde
Compare
@frjo @theskumar @wes-otf Is it looking good? |
@sandeepsajan0 Looks really good! |
78ea428
to
bc05d4e
Compare
@sandeepsajan0 This can now be rebased on top of main. |
…or lead update yet)
bc05d4e
to
15409f9
Compare
@frjo @theskumar @wes-otf Does it look better? Instead of having label and input in the same line now it is the same as visibility. |
@frjo The latest Ui is also ready for testing. |
Deployed to test. |
@@ -28,6 +28,8 @@ class Task(models.Model): | |||
) | |||
related_object_id = models.PositiveIntegerField(blank=True, null=True) | |||
related_object = GenericForeignKey("related_content_type", "related_object_id") | |||
# for manually added tasks | |||
message = models.CharField(max_length=250, null=True, blank=True) |
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.
Pull the message from the related item (i.e. the comment/activity object) itself? Maybe I'm missing something but it would better not to de-duplicate the message, as they can be edited.
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 comment edited case should be handled but a separate task message can provide us flexibility in changing the language of the task message, it might be helpful later or in another kind of tasks. And duplicity in terms of storage shouldn't be an issue as these tasks are temporary and will be removed regularly.
This PR will be merged in to #3932 since that PR redesigns the communication tab. |
closing in favor of #3932 . This will be included in that PR |
Fixes #3872
It creates a task for a user via communication, if a comment is assigned to a user(staff). If assigned_to is empty then it will just be a comment, same like before.
Comment form:
Comment listing:
Task list:
Test Steps