By Private Profile 24342d0d on 2021-09-20 14:38 in Summer 2021 Guided Tour


Tasks Accomplished:

1.     Finished with Multi-page Functionality: Finally finished with this feature where I had to implement this (multi-page redirection in using Shepherd JS library) feature totally from scratch. This was the major problem for few days because there was difficulty getting the index of the ID on the current page. We needed an Index of the ID to store that ID into the session storage and start the Tour from that index on the new page. There were some issues getting the ID that solved this week were.

2.     Termination of Tour: After using the Step ID and Tour ID as a parameter for starting the Tour on the next page the next thing was to clear this session storage or else the Tour will start on its own without users' input. So implemented a function that will detect if a user is clicking the `Close` or `Clear` or `Complete` action buttons and if yes so it will clear the session storage.

          tour.on('cancel', () => {



      Used something this kind of function which will detect if the active Tour is active or not and will detect if the user clicks one of the functions mentioned above then it will clear the session storage.

  1. API documentation writing for new users/developers who are new to this feature, so they can know how to implement or build a new Tour using this functionality.
  2. Bugfixes and Cleanup:  I cleaned up some rough edges in the code style (the XMLs!!!!), unused files (layout templates), and fixed some correctness issues. At the time of writing, there's more review to be addressed that I'm holding off on until I can get the main development track going again.