-
-
Notifications
You must be signed in to change notification settings - Fork 825
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
Add email link in case summary #16959
Conversation
(Standard links)
|
Seems simple & sensible - @demeritcowboy if you are happy with this I will merge |
Hi yes I was going to take a look. Using |
So I know this seems like the simplest PR, and conceptually it is and I think it's a fine idea, just there's a couple technical issues.
Otherwise looks good! |
Thank you @demeritcowboy for the detailed explanation, very helpful for me. I've revised the PR based on your suggestions. Since we don't use multi-client, I scrolled right past that section of code. I don't mind writing a separate PR for multi clients, but since that section is already formatted differently I would like to find (and this may be you) someone to run the overall formatting by. |
jenkins retest this please |
Thanks this looks good EXCEPT there's one thing I missed yesterday. Using a hardcoded "3" for the activity type will work almost all the time but it should be looked up. I don't see any variables in the template already that you could use, but what you can do is:
and then use it in the url as atype=`$email_type_id.value` instead of atype=3 Also are you set up with git now so you're able to squash/rebase commits? |
I'm not quite set up with git that I can squash/rebase commits. I'm am working on it (and learning the workflow better) but at the moment I am still working directly in the git hub interface when submitting PRs. After I get this last part correct, I can submit a fresh PR - not the easiest way to go about it but it'd be clean at least. |
Ok I can send you some git steps in chat, since I can see an ampersand went missing between "add" and "atype", so one more round! |
This looks good now. I think it's ok to merge. |
Good work! |
Overview
Currently, to email a case client it takes several clicks, I'm proposing a quicker (one-click) method to email the case client.
Before
The two options to email a client are:
After
Click the email icon next to the client's name at the top of the screen. Email pop up screen is prefilled with the primary email address.
Comments
I recognize that the action is the exact same as if you had opened the roles section and clicked the email icon. But in my opinion (and because we have open custom data on our cases) that is a bit lengthy of a process. If we are already providing the phone in the summary section if felt natural to include an email link as well.