It would be great to add comment of any types not only ‘Comment’ from the JS. The add comment function exposed in the python API doesn’t seem to accept ‘comment_type’ as an argument.
I found a way to overcome this by creating a new comment through frappe.desk.form.save.savedocs but I am not sure whether that is efficient. Should I post an issue or am I missing anything here?