User tests: Successful: Unsuccessful:
Pull Request for Issue #27619.
This PR makes some improvements to Mail Templates to make it easier to use (I hope :D ). Below are the changes (base on suggestions from #27619)
Below are some screenshot to show the changes:
Download update package for this PR at https://ci.joomla.org/artifacts/joomla/joomla-cms/4.0-dev/33230/downloads/42268/Joomla_4.0.0-beta8-dev+pr.33230-Development-Update_Package.zip, go to System -> Update -> Joomla to update. Then try to use Mail Templates to see if it is working OK. Hopefully it is easier to use than the default implementation.
Status | New | ⇒ | Pending |
Category | ⇒ | Administration Language & Strings JavaScript Repository NPM Change |
Labels |
Added:
?
NPM Resource Changed
?
|
And there are now three language strings that can be removed as the fields they refer to are no longer present
First impressions are great - massive massive improvement
First impressions are great - massive massive improvement
Thanks for the feedback. Assume this PR is in right direction, I will work on further clean up and improvements.
Great - let me know when its ready for full testing
Category | Administration Language & Strings JavaScript Repository NPM Change | ⇒ | SQL Administration com_admin Postgresql Language & Strings JavaScript Repository NPM Change Installation |
My last commit added a new column extension column to #__mail_templates table. The only improvement from this commit is that it allows hiding mail templates from disabled extensions from Mail Templates management screen. Do you think this is useful/needed? If not, I will revert that commit.
My last commit added a new column extension column to #__mail_templates table. The only improvement from this commit is that it allows hiding mail templates from disabled extensions from Mail Templates management screen. Do you think this is useful/needed?
I think that could be useful, but I am not the expert. @Hackwar What do you think?
Applied the PR and then the database fix
Opened the component and it said No results
Verified that the database table still exists
Tried to use the search filter and selected my one language (english) and got the following 500 error
500 Column 'extension' in IN/ALL/ANY subquery is ambiguous Column 'extension' in IN/ALL/ANY subquery is ambiguous
@brianteeman Thanks for testing. It was too late for me last night and I did not test my last commit carefully enough. I planned to do final test myself today before pinging you for testing but you were too fast :).
Back to the issue:
UPDATE `#__mail_templates` SET `extension` = SUBSTRING(`template_id`, 1, POSITION('.' IN `template_id`) - 1);
It was late for me too or I would have spotted the problem as the query was not structural. ;)
The Reset buttons don't appear to do anything
Other than those small things this is much more usable - thank you very much - you're a superstar
@brianteeman Thanks for testing and giving feedback
Maybe you can get this zip file, unzip it media folder on your Joomla installation and try again? It contains the complied js files for this PR which I get from update package
Labels |
Added:
?
|
Sorry I forgot to run npm when i switched branches. The reset buttons work as intended
Sorry I forgot to run npm when i switched branches. The reset buttons work as intended
Great. Thanks for confirming.
I have tested this item
I have tested this item
Status | Pending | ⇒ | Ready to Commit |
RTC
Status | Ready to Commit | ⇒ | Fixed in Code Base |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2021-04-23 09:30:56 |
Closed_By | ⇒ | rdeutz | |
Labels |
Added:
?
?
Removed: ? |
Thanks everyone !
I think you're going to have to change the button names "reset to default" so that it is clearer what they refer to. eg body and message