? ? Pending

User tests: Successful: Unsuccessful:

avatar PhilETaylor
PhilETaylor
1 May 2021

Summary of Changes

Introducing empty state design for modules. A lot less complex than the component versions.

This first PoC on the 3 modules shown by default on the home page of the Joomla 4 admin after first login. Those are

mod_latest
mod_popular
mod_privacy_dashboard

The sentence displayed can reuse existing empty state title from the component, or a new one can be overloaded for modules in the language strings

Can handle more than one module type per component with the use of textSuffix

Testing Instructions

Load Joomla 4 admin console.

Actual result BEFORE applying this Pull Request

Screenshot 2021-05-01 at 20 09 40

Expected result AFTER applying this Pull Request

Screenshot 2021-05-01 at 20 09 22

Documentation Changes Required

none

avatar PhilETaylor PhilETaylor - open - 1 May 2021
avatar PhilETaylor PhilETaylor - change - 1 May 2021
Status New Pending
avatar joomla-cms-bot joomla-cms-bot - change - 1 May 2021
Category Administration Language & Strings Modules Layout
avatar PhilETaylor PhilETaylor - change - 1 May 2021
The description was changed
avatar PhilETaylor PhilETaylor - edited - 1 May 2021
avatar PhilETaylor PhilETaylor - change - 1 May 2021
The description was changed
avatar PhilETaylor PhilETaylor - edited - 1 May 2021
avatar PhilETaylor PhilETaylor - change - 1 May 2021
Labels Added: ? ?
avatar brianteeman
brianteeman - comment - 1 May 2021

The strings are not correct.
No current privacy requests
There are no articles

avatar PhilETaylor
PhilETaylor - comment - 1 May 2021

"No Information Requests have been submitted yet." is the current language value from the component. So if you dont like it here, you are going to hate it there too.

Screenshot 2021-05-01 at 21 11 58

And the two articles strings are NOT trying to say that there are no articles in the database, they are trying to say that the purpose of the module is a empty state, and as the data for these modules is about Popular and Recently added articles, the language has to reflect that underlying dataset - there are no popular articles and there are no recent articles. You could well have 1000 articles, but without 1 visitors the popular module could still be empty of data.

While that may actually be true - Silly Joomla goes and puts articles with Zero hits in the module.. /facepalm

Screenshot 2021-05-01 at 21 14 35

avatar joomla-cms-bot joomla-cms-bot - change - 1 May 2021
Category Administration Language & Strings Modules Layout Modules Administration Layout
avatar PhilETaylor
PhilETaylor - comment - 1 May 2021

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-05-01 at 21 17 06

avatar PhilETaylor PhilETaylor - change - 1 May 2021
Labels Removed: ?
avatar RickR2H RickR2H - test_item - 3 May 2021 - Tested successfully
avatar RickR2H
RickR2H - comment - 3 May 2021

I have tested this item successfully on fb12689


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

avatar sandramay0905 sandramay0905 - test_item - 4 May 2021 - Tested successfully
avatar sandramay0905
sandramay0905 - comment - 4 May 2021

I have tested this item successfully on fb12689


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

avatar Quy Quy - change - 4 May 2021
Status Pending Ready to Commit
avatar Quy
Quy - comment - 4 May 2021

RTC


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

avatar Quy Quy - change - 4 May 2021
Labels Added: ?
52d51ac 4 May 2021 avatar Quy cs
avatar Quy Quy - alter_testresult - 4 May 2021 - RickR2H: Tested successfully
avatar Quy Quy - alter_testresult - 4 May 2021 - sandramay0905: Tested successfully
avatar Quy Quy - change - 4 May 2021
Status Ready to Commit Fixed in Code Base
Closed_Date 0000-00-00 00:00:00 2021-05-04 18:46:40
Closed_By Quy
Labels Added: ?
Removed: ?
avatar Quy Quy - close - 4 May 2021
avatar Quy Quy - merge - 4 May 2021
avatar Quy
Quy - comment - 4 May 2021

Thank you!

Add a Comment

Login with GitHub to post a comment