-
Notifications
You must be signed in to change notification settings - Fork 62
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
Custom comments and activities #938
Conversation
… Style needs to add the comment Type selector
I am not 100% pleased with the UI of this yet, but it is functional.
…he create a comment endpoint
…he create a comment endpoint We need to update the Wiki to reflect the update Comment API changes.
…ols-theme into Custom-Activities
…ment type based on that selector changing.
The remaining question here is one of UI, What do you think of the UI of having a "Type of Comment" Select element below the Comment box? |
Making a note here so I don't forget, when this branch gets merged we need to add
to the Update A Comment section of the Wiki |
Actually the alignment issue isn't related to this |
I saw your new issue. Is the alignment issue related to something in this PR or was it there before? |
It is not related to this PR. I haven't investigated but it looks like it might be something from the translation PR since it breaks alignment after "translate with google". |
I may know what is causing it. |
I’ll fix it in a separate PR |
# Conflicts: # dt-assets/build/css/style.min.css # dt-assets/build/css/style.min.css.map
We'll need to also remove the Activity option from the edit modal. |
@micahmills please test :) |
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 not 100% certain that the change on dt-post-endpoints.php:493 won't break other places that use this function, but since the $check_permissions arg is defaulted to true, in dt-post.php 683 I assumed I could set it to true here as well.
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.
Looks great :)
Thank you @micahmills ! |
Creates custom comment types for each of the items in the Contact Communication Channels.
Adds a comment type selector to the create and update comments.
Adds "comment_type" to the update_comment API endpoint.