Add Guided Tours auto start parameter in the user interface of tours #43690
+15
−0
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Summary of Changes
The autostart parameter has been introduced in Joomla 5.1 to facilitate the autostart feature and mainly the welcome tour.
This PR goes a step further and adds the ability to make a tour auto-start-able in the interface.
The purpose of the PR is to just add the ability to modify the parameter from the edit view.
The functionality for auto-starting tours will be presented in another PR (PR# to come soon).
Testing Instructions
Go to System -> Guided Tours.
Pick a tour.
Check that the option is present.
Set it on.
Duplicate the tour.
Make sure the duplicated tour replicates the original tour auto-start value.
Note. The welcome tour, at present (until the addition of the joint PR), if set to auto-start, will run once and be automatically set to auto-start: false after the run.
Tours set to auto start will not start automatically with this PR alone.
Actual result BEFORE applying this Pull Request
No auto start parameter.
Expected result AFTER applying this Pull Request
The auto start parameter can be changed from the tour edit view.
Link to documentations
Please select:
[x ] Documentation link for docs.joomla.org: Edit Tour
No documentation changes for docs.joomla.org needed
Pull Request link for manual.joomla.org:
No documentation changes for manual.joomla.org needed