-
-
Notifications
You must be signed in to change notification settings - Fork 6
Base Structure for Guided tour #1
base: dev
Are you sure you want to change the base?
Conversation
Thank you for the hard work you have put into the guided tour, I just tried to run the first tour. to http://localhost/gsoc22_guided-tour/administrator/index.php?option=com_guidedtours&view=tours This is happening on my localhost. It could be you have been testing on a localhost but in the root folder and I have a different structure which has been ignored. It would be great if you could fix this so I can test further. |
Thank you @softforge for testing the PR and for your valuable feedback. May you please test the latest #4 PR as the relative URL problem has been solved in this. |
…d-tour into infra-guided-tour
…s/gsoc22_guided-tour into fix/code-cleanup
Other Features
Fix/Code Cleanup
Hi well done on getting it to load and go through the tour. It would be great to catch the errors and see if you can deal with them gracefully. |
When I start the tour from here (cklick on the take the tour drop-down, then on my workflow tour) which results ina 404 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please convert everything to PSR12 standard. (https://www.php-fig.org/psr/psr-12/ you can set it up in your IDE)
administrator/components/com_guidedtours/src/Model/StepsModel.php
Outdated
Show resolved
Hide resolved
administrator/components/com_guidedtours/src/Model/TourModel.php
Outdated
Show resolved
Hide resolved
administrator/components/com_guidedtours/src/Model/TourModel.php
Outdated
Show resolved
Hide resolved
administrator/components/com_guidedtours/src/Model/ToursModel.php
Outdated
Show resolved
Hide resolved
…s/gsoc22_guided-tour into infra-guided-tour
deploy since
…s/gsoc22_guided-tour into infra-guided-tour
Fix display of tabs
DB Table name
* Help Buttons This PR - adds a "Learn More" button to the emptystate view for tours and steps - adds a "Help" button to the toolbar for tours, tour, steps and step - adds the 4 views to the Joomla help page NOTES: 1. The pages will need to be created on the docs.joomla.org site 2. the help_tsoc script needs to be run to rebuild the help page in the joomla admin. This should be part of the release build prcoess and not needed here * Update HtmlView.php
Can be verified by trying to duplicate a tour. Before this PR you get an error about the missing step_no field in the database. It is correct that the field has been removed from the database and this PR just completes its removal
The wrong language key was being used for the tourss list table caption
Prevents double translation and makes sure we are translating the correct thing
* When tour_id is missing, return error * getTourTitle test correction * getTourTitle return type correction * Improved database queries formatting * Data in ordering tables Fix URL step for guided tours * Fixed formatting Typo preventing proper ordering * Ordering fixes * Language filter should include * * Update 4.3.0-2022-07-30.sql extra ; * Removed now unnecessary getTourLanguage * Update 4.3.0-2022-07-30.sql Extra ; * cancel should call parent to get proper functionality * Fixed step ordering when a tour is run * Test on keys Re-ordering of fields * Re-assignment of filter.language * Use tour title in asset table * Added phpcs:ignore * Cleanup
Updates the tour view to remove the card and to set the widths the same as other components Updates the step view to set the widths the same as other components
edit view consistency
* Option to limit the number of tours in the dropdown * Wrong class * Make modal links accessible * Cleaned code Added progress indicator * Assign id to steps for easier handling * Cleanup
first pass at reviewing the language strings Summary - removed unused strings - follow style guide - use global strings
Language Strings
This PR adds the inline help button(toggle) to the tour and step forms this means that by default the field descriptions are not displayed and only displayed on toggle
* Removed step section * Removed permissions tab * Fixed endTabSet not properly set * Removed reference to asset table * Removed reference to rules * Removed rules and asset_id fields * Fixed duplication of tours * New guided tours plugin - thank you bembelimen * Fixed filter.access * Improved code - thank you bembelimen * plg_system_tour replaced with plg_system_guidedtours * Added key * Added asset for plg_system_guidedtours - thank you bembelimen * Renamed css asset * Renamed language key * Renamed language files * Updated script with fixes - thank you bembelimen * Added interactive type 'form submit' * Removed filename tag
* Replaced tour with guidedtours in plugin test * Renamed onAjax function * Error assigning step id * Steps never get to complete button Error progress indicator current step * Added aria-label on step buttons * attachTo unnecessary for start tour step
Fixes copy paste errors in the renamed plugin
Fix new plugin
* Plugin and assets fixes as everything is named in the plural eg plg_system_guidedtours this pr updates the media assets to use the plural for its names * currentUrl not currentURL
* Added label for cancel button * Modified settings startTabSet * REmove storage key on tabs if it exists * Show/hide back button * Show/hide back button * Add the tour start step as part of steps to make it easier to manage in the javascript * Regular redirect fix Back button for redirect step Index/Step id match to make it easier to understand the code
* Corrected date for update sql scripts
* Remove of StepHelper, all in GuidedtoursHelper * Use of mappings for step types and interactive types * Added constants for step types and interactive types * Use of constants for step types and interactive types * Update to Shepherdjs 11.0.1 * Better format of type arrays * Improved language keys * Improved language keys * Use of component constant for step types * Spacing * Spacing
As joomla/joomla-cms#39726 has been merged upstream this changes the usage of `onchange="this.form.submit();"` to `class="js-select-submit-on-change` not to be merged until final steps
* Prevent Exception If $parts is `null` this will throw an exception. ```count(): Argument #1 ($value) must be of type Countable|array, null given``` This can happen if the context is e.g. the default context `text` from the `Joomla\CMS\HTML\Helpers\Content::prepare()` function. * Update fields.php
Summary of Changes
Testing Instructions
Guided Tours
plugin.Guided Tours
under the Manage section.Take the Tour
button.Take the Tour
button and select the Guided Tour which you want.Actual result BEFORE applying this Pull Request
Expected result AFTER applying this Pull Request
Summary
StepID
problem.extensions.sql
.https://
from the URL to make the tour work.Back Button
Functional for Multi-Page.extensions.sql
.extensions.sql
file.default-tours
branch.cleanup
withinfra-guided-tour
and rebased thedefault-tours
branch frominfra-guided-tour
.type
andvalidation
field.4.3-dev
.extensions.sql
.+New Button
Working.Button
field then the user will be able to click the+New button
in spite of clicking on theNext Button
in the pop-up.Button
field the Next Button won't be visible.Text field
then it will disable the Next Button until someone enters any value in the field.Click
on the target of the step for the Button field in Interactive Tour.input
on the target of the step for Form Field.extensions.sql
for changing the value according to Interactive tour.Interactive step
for default values.Interactive step
.extensions.sql
to make it compatible with interactive tours.Next Button
enable/disable in theinteractive step
work.guidedtour
Table : language column, note column, index state, index language.guidedtour-steps
Table : language column, note column, index state, index language, modified columnsetp-no
tostep_no
, modified columninteractivetour
tointeractive_type
.Step Name
toStep
.Interactive Tour
toInteractive Step
in Steps.select
in steps.mod_guidedtour
s to services.Take a Tour
button visible before logging in.tour_id
.tour_id
from the active filters so that the search tools open in a closed state.hide
.bleeding
over popup.Added default Tours that need to be created, to be packaged with Joomla Basic tours required for this project.