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
feat: Email signature API support #3874
Conversation
f0c495e
to
093032c
Compare
ad42669
to
e1ff9ea
Compare
e1ff9ea
to
644c961
Compare
@nithindavid Let's have a call when you are back, I have added basic API changes to save email_signature and email_signature_enabled. |
@tejaswinichile I noticed the |
db/schema.rb
Outdated
@@ -747,6 +747,8 @@ | |||
t.jsonb "ui_settings", default: {} | |||
t.jsonb "custom_attributes", default: {} | |||
t.string "type" | |||
t.boolean "email_signature_enabled", default: false, null: false |
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.
Can we use a generic name here? We can use the same signature across channels.
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.
@pranavrajs Just signature_enabled
will work?
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.
let us put it as message_signature and message_signature_enabled
Oh okay, that's because of the validation rule, let me change that. |
b120d1e
to
60d837a
Compare
@nithindavid It's working fine. Let me know if you are still facing the issue. |
cacd03a
to
1c052a3
Compare
Merging this to save the email signature at the profile endpoint. |
This pull request has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
Pull Request Template
Description
Please include a summary of the change and which issue is fixed. Please also include relevant motivation and context. List any dependencies that are required for this change.
Fixes #3799
Type of change
Please delete options that are not relevant.
How Has This Been Tested?
Added test cases to save and accept email signatures.
Checklist: