Skip to content

[4.1] Private Messages Emails#37133

Merged
HLeithner merged 2 commits intojoomla:4.1-devfrom
brianteeman:messages
Mar 11, 2022
Merged

[4.1] Private Messages Emails#37133
HLeithner merged 2 commits intojoomla:4.1-devfrom
brianteeman:messages

Conversation

@brianteeman
Copy link
Copy Markdown
Contributor

@brianteeman brianteeman commented Feb 24, 2022

PR for #29533 (and more)

Since the component was changed to include the actual message in the email it is no longer a notification so I updated the description show in the mail templates component

image

Before this PR the subject of the email that was generated was

New Message from <user> at <sitename>

The actual subject of the message was included in the body of the email.
"New Message from " is not needed. We know who the email is from in the usual way and our inbox will show if it is new or not ;)

This also meant that you would have an inbox with multiple messages that all had the exact same title :(

image

With this PR the subject of the email that is generated is

[<sitename>] - Subject
and the body of the email only contains the body of the message not subject and body.

image

The messages can of course still be managed and updated with the mail templates component. This is just setting a better default.

PR for joomla#29533 (and more)

Since the component was changed to include the actual message in the email it is no longer a notification so I updated the description show in the mail templates component

Before this PR the subject of the email that was generated was
New Message from <user> at <sitename>

The actual subject of the message was included in the body of the email.
"New Message from <user>" is not needed. We know who the email is from in the usual way and our inbox will show if it is new or not ;)

This also meant that you would have an inbox with multiple messages that all had the exact same title :(

With this PR the subject of the email that is generated is
[<sitename>] - Subject
and the body of the email only contains the body of the message not subject and body.

The messages can of course still be managed and updated with the mail templates component. This is just setting a better default.
@tecpromotion
Copy link
Copy Markdown
Contributor

If the name of the website (sitename) is long, there is a risk that the subject will get lost in the background.
The idea is great but maybe you should turn it around? What do you think @brianteeman ?

@brianteeman
Copy link
Copy Markdown
Contributor Author

I definitely want the sitename to be first for the exact scenario you suggest. If sitea is more important to me than siteb then I want to be sure that I can see which site it is in the message.

But as its configurable now then a user could change it as they see fit.

Copy link
Copy Markdown
Contributor

@tecpromotion tecpromotion left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thanks @brianteeman

@tecpromotion
Copy link
Copy Markdown
Contributor

I have tested this item ✅ successfully on 7be569e


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/37133.

@Quy
Copy link
Copy Markdown
Contributor

Quy commented Mar 7, 2022

I have tested this item ✅ successfully on 7be569e


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/37133.

@Quy Quy removed the Language Change This is for Translators label Mar 7, 2022
@Quy
Copy link
Copy Markdown
Contributor

Quy commented Mar 7, 2022

RTC


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/37133.

@joomla-cms-bot joomla-cms-bot added the RTC This Pull Request is Ready To Commit label Mar 7, 2022
@joomla-cms-bot joomla-cms-bot added the Language Change This is for Translators label Mar 11, 2022
@HLeithner
Copy link
Copy Markdown
Member

Thanks

@HLeithner HLeithner merged commit c75ce6b into joomla:4.1-dev Mar 11, 2022
@joomla-cms-bot joomla-cms-bot removed the RTC This Pull Request is Ready To Commit label Mar 11, 2022
@brianteeman
Copy link
Copy Markdown
Contributor Author

thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Language Change This is for Translators

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants