? ? Pending

User tests: Successful: Unsuccessful:

avatar brianteeman
brianteeman
3 Jun 2021

Pull Request for Issue #34370

Before

image

After

image

avatar brianteeman brianteeman - open - 3 Jun 2021
avatar brianteeman brianteeman - change - 3 Jun 2021
Status New Pending
avatar joomla-cms-bot joomla-cms-bot - change - 3 Jun 2021
Category Modules Administration
avatar infograf768
infograf768 - comment - 3 Jun 2021

Same issue for popular articles

avatar sandramay0905 sandramay0905 - test_item - 3 Jun 2021 - Tested successfully
avatar sandramay0905
sandramay0905 - comment - 3 Jun 2021

I have tested this item successfully on ac3652c


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

avatar brianteeman brianteeman - change - 3 Jun 2021
Labels Added: ?
avatar brianteeman brianteeman - change - 3 Jun 2021
Title
[4.0] empty state mod_latest
[4.0] empty state mod_latest and mod_popular
avatar brianteeman brianteeman - edited - 3 Jun 2021
avatar brianteeman
brianteeman - comment - 3 Jun 2021

Updated to include mod_popular

avatar sandramay0905 sandramay0905 - test_item - 3 Jun 2021 - Tested successfully
avatar sandramay0905
sandramay0905 - comment - 3 Jun 2021

I have tested this item successfully on 9305f36

Test on mod_latest and mod_popular.


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

avatar Abernyte-Git Abernyte-Git - test_item - 3 Jun 2021 - Tested successfully
avatar Abernyte-Git
Abernyte-Git - comment - 3 Jun 2021

I have tested this item successfully on 9305f36


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

avatar richard67 richard67 - change - 3 Jun 2021
Status Pending Ready to Commit
avatar richard67
richard67 - comment - 3 Jun 2021

RTC


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

avatar PhilETaylor
PhilETaylor - comment - 3 Jun 2021

NO! DONT MERGE THIS! ITS WRONG...

avatar richard67 richard67 - change - 3 Jun 2021
Status Ready to Commit Pending
avatar richard67
richard67 - comment - 3 Jun 2021

Back to pending.


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

avatar richard67
richard67 - comment - 3 Jun 2021

@PhilETaylor Could you provide details about what's wrong?

avatar PhilETaylor
PhilETaylor - comment - 3 Jun 2021

I screwed up in #34319 and despite three people testing - no one realised.

avatar PhilETaylor
PhilETaylor - comment - 3 Jun 2021

Actually never mind, Im going to leave my screw up there, and this one can be merged. We dont have many modules with empty state at the moment, and the textSuffix provided is not actually being used (we lost those language strings along the way somehow...)

What should happen - by design - was that the mod_popular empty state should say something like "There are no popular articles at the moment" and the mod_latest should say "There are no latest articles at the moment" - whereas this PR will make them both say "No articles have been created yet" which is technically true, but the idea was to make the empty state module layout generic and that it can be reused, with textPrefix and textSuffix to provide different language strings based on the module purpose.

No idea where the two custom language strings went, but now that they have done, removing the textSuffix from the two modules will do, and my screw up is actually good as it will allow textSuffix to be used correctly in the future if any other modules want to use it.

Please set back to RTC.

avatar richard67 richard67 - change - 3 Jun 2021
Status Pending Ready to Commit
avatar richard67
richard67 - comment - 3 Jun 2021

RTC


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

avatar PhilETaylor
PhilETaylor - comment - 3 Jun 2021

#33472 (comment)

I have removed the module override language strings for the empty state to allow them to inherit from the components empty state language tites.

Screenshot 2021-06-03 at 10 26 08

avatar brianteeman
brianteeman - comment - 3 Jun 2021

The layout is still generic and the prefix and suffix can still be used. This PR doesnt effect that

avatar chmst chmst - close - 3 Jun 2021
avatar chmst chmst - merge - 3 Jun 2021
avatar chmst chmst - change - 3 Jun 2021
Status Ready to Commit Fixed in Code Base
Closed_Date 0000-00-00 00:00:00 2021-06-03 11:46:28
Closed_By chmst
Labels Added: ?
avatar chmst
chmst - comment - 3 Jun 2021

Thanks

avatar brianteeman
brianteeman - comment - 3 Jun 2021

thanks

Add a Comment

Login with GitHub to post a comment