Feature Language Change PR-6.0-dev Pending

User tests: Successful: Unsuccessful:

avatar obuisard
obuisard
23 Jun 2025

Summary of Changes

Empty states often go unnoticed once a Joomla site is fully built, but when introducing new functionality, they offer a prime opportunity to guide users. Embedding a guided tour directly within these blank areas can greatly enhance user onboarding. There’s no more relevant place to learn about the functionality than in that page.

Testing Instructions

Step 1 - Check that tours are available for the News Feeds component (if it works for this component, it will work for all other empty states modified by this PR).

Make sure there are no feeds in the list of feeds and that you can see the empty state.

1 - Go to System -> Manage -> Guided Tours
2 - Disable the tour for feeds
3 - Go to Components -> Newsfeeds -> Feeds

You should NOT see a button to run the tour.

4 - Go to System -> Manage -> Guided Tours
5 - Enable the tour for feeds
6 - Set the Feeds tour Access to Super Users
7 - Create a user with Administrator access
8 - Log with that user
9 - Go to Components -> Newsfeeds -> Feeds

You should NOT see a button to run the tour.

10 - Log back in as Super User
11 - Go to System -> Manage -> Guided Tours
12 - Set the access of the tour back to Public
13 - Rename the tour identifier to 'joomla-newsfeeds-2'
14 - Go to Components -> Newsfeeds -> Feeds

You should NOT see a button to run the tour.

15 - Go to System -> Manage -> Guided Tours
16 - Set the tour identifier back to 'joomla-newsfeeds'
17 - Go to Components -> Newsfeeds -> Feeds

You should see a button to run the tour.

Step 2 - Check that the default Joomla tours are available and run from the following pages (no items must be present in the lists, you will need to trash then delete items on a test site if necessary to see the empty state):

administrator/index.php?option=com_content&view=articles
administrator/index.php?option=com_banners&view=banners
administrator/index.php?option=com_contact&view=contacts
administrator/index.php?option=com_newsfeeds&view=newsfeeds
administrator/index.php?option=com_finder&view=filters
administrator/index.php?option=com_tags&view=tags
administrator/index.php?option=com_guidedtours&view=steps&tour_id=XXX
where XXX is the id of a newly created tour.

Actual result BEFORE applying this Pull Request

image

Expected result AFTER applying this Pull Request

image

Link to documentations

Please select:

  • Documentation link for docs.joomla.org:

  • No documentation changes for docs.joomla.org needed

  • [?] Pull Request link for manual.joomla.org:

  • No documentation changes for manual.joomla.org needed

avatar obuisard obuisard - open - 23 Jun 2025
avatar obuisard obuisard - change - 23 Jun 2025
Status New Pending
avatar joomla-cms-bot joomla-cms-bot - change - 23 Jun 2025
Category Administration com_banners com_categories com_contact com_content com_finder com_newsfeeds com_tags Language & Strings Layout
avatar obuisard obuisard - change - 23 Jun 2025
The description was changed
avatar obuisard obuisard - edited - 23 Jun 2025
avatar obuisard obuisard - change - 26 Jun 2025
Labels Added: Language Change PR-6.0-dev
avatar brianteeman brianteeman - test_item - 26 Jun 2025 - Tested successfully
avatar brianteeman
brianteeman - comment - 26 Jun 2025

I have tested this item ✅ successfully on b7a2931


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

avatar brianteeman brianteeman - alter_testresult - 26 Jun 2025 - brianteeman: Not tested
avatar brianteeman
brianteeman - comment - 26 Jun 2025

I would have made a successful test but the tour for categories is not correct. It assumes that you are creating a tour for categories for com_content but it is displayed for all category instances. So if you have no banner categories and run through the tour you end up creating a content category and not a banner category.

Either remove the category tour from empty state (it will rarely be displayed anyway)
or
The category tour will need to be context aware to ensure that after the tour a category is created for the correct component

I would go for the first option


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

avatar obuisard
obuisard - comment - 26 Jun 2025

Either remove the category tour from empty state (it will rarely be displayed anyway) or The category tour will need to be context aware to ensure that after the tour a category is created for the correct component

I would go for the first option

I agree, I have removed the tour link for categories.

avatar joomla-cms-bot joomla-cms-bot - change - 26 Jun 2025
Category Administration com_banners com_categories com_contact com_content com_finder com_newsfeeds com_tags Language & Strings Layout Administration com_banners com_contact com_content com_finder com_newsfeeds com_tags Language & Strings Layout
avatar brianteeman
brianteeman - comment - 26 Jun 2025

you're going to need to remove the emptystate on guided tours and steps as well

if there are no tours or steps then the tour you link to in the emptystate cant run can it ;)

avatar obuisard
obuisard - comment - 29 Jun 2025

you're going to need to remove the emptystate on guided tours and steps as well

if there are no tours or steps then the tour you link to in the emptystate cant run can it ;)

Hmmm... where was my brain? Yes, if there are no tours, there is no tour to run to learn about tours...
However, I need to leave the empty state changes for the 'steps' tour as an empty state is visible every time a tour is created.

avatar brianteeman
brianteeman - comment - 11 Jul 2025

There should be a check that a tour exists before the button is displayed

avatar muhme muhme - test_item - 18 Jul 2025 - Tested successfully
avatar muhme
muhme - comment - 18 Jul 2025

I have tested this item ✅ successfully on 2e593b3

Tested with JBT + patchtester 7 of the 9 given links (not com_catgeories as we have always Uncategorised and not com_guidedtours&view=tours) before the patch and after the patch. Run all seven guided tours.


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

avatar brianteeman
brianteeman - comment - 18 Jul 2025

@muhme you can delete uncategorised so that there are no categories and therefore can test the empty state

avatar muhme
muhme - comment - 18 Jul 2025

@muhme you can delete uncategorised so that there are no categories and therefore can test the empty state

I can not imagine that an end user is deleting uncategorised to take the tour

avatar brianteeman
brianteeman - comment - 18 Jul 2025

Then delete the entire empty state for categories - which of course is a stupid thing to do. So why not test it for categories. Your logic fails me

avatar muhme
muhme - comment - 19 Jul 2025

Then delete the entire empty state for categories - which of course is a stupid thing to do. So why not test it for categories. Your logic fails me

@brianteeman It is not working – I would have to consider the test as failed. If I remove all categories, the 'Take a Tour' option is not offered. I assume this is related to your earlier discussion with @obuisard, which concluded with:

I have removed the tour link for categories.

@obuisard Could you please update the test instructions accordingly?

avatar obuisard
obuisard - comment - 19 Jul 2025

@obuisard Could you please update the test instructions accordingly?

I will try and update the PR as soon as possible with a test if the tour exists and update the test instructions.
Indeed, there are no longer tours for categories as categories are context-based and the tour available is only for com_content.

avatar obuisard obuisard - change - 19 Jul 2025
The description was changed
avatar obuisard obuisard - edited - 19 Jul 2025
avatar obuisard obuisard - change - 19 Jul 2025
Labels Added: Feature
avatar obuisard obuisard - change - 19 Jul 2025
The description was changed
avatar obuisard obuisard - edited - 19 Jul 2025
avatar obuisard obuisard - change - 19 Jul 2025
The description was changed
avatar obuisard obuisard - edited - 19 Jul 2025
avatar obuisard obuisard - change - 19 Jul 2025
The description was changed
avatar obuisard obuisard - edited - 19 Jul 2025
avatar obuisard obuisard - change - 19 Jul 2025
The description was changed
avatar obuisard obuisard - edited - 19 Jul 2025
avatar obuisard obuisard - change - 19 Jul 2025
The description was changed
avatar obuisard obuisard - edited - 19 Jul 2025
avatar brianteeman
brianteeman - comment - 20 Jul 2025

is this latest change correct? It seems as if it should all be in the layout instead of copy pasted across all the components

avatar obuisard
obuisard - comment - 20 Jul 2025

is this latest change correct? It seems as if it should all be in the layout instead of copy pasted across all the components

We need confirmation from maintainers but I believe logic should be kept out of the layout files. That is why I structured it like that.

avatar brianteeman
brianteeman - comment - 20 Jul 2025

The argument against logic not being in a layout is the same reason it shouldn't be in a template file as it is here

Add a Comment

Login with GitHub to post a comment