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.
Description
Configurable tours
Following implemented:
Property "tours" in "options" in config.js for linking json files for tours saved in packages/web-runtime/tours
Example:
"options": {"tours": ["https://localhost:9200/tours/tour1.json", "https://localhost:9200/tours/tour2.json"],..}
Each json file in packages/web-runtime/tours is considered as a tour and has the following properties:
translations
: object with language codes as keys and translatable tour options (tourName
,tooltip
,steps
) as valuesautostart
option including location (route name) and timeout in ms to trigger. Only triggering once (when triggered, saved to localStorage)allowLocations
option: array with locations in which the tour will be available. If set, the tour will not be available in other locationsdenyLocations
option: array with locations in which the tour will not be available. If set is not set, the tour will be available in all locations except of these locations. Is not considered ifallowLocations
is setBy one tour the button in the topbar will be the button to start this tour, by several the component will be shown
Buttons inside each step have hard-coded options
"back"
, `"next"Related Issue
How Has This Been Tested?
Screenshots:
Types of changes
Checklist:
Open tasks: