Implement Default Launchpad Assets for Guided Templates by sanjacornelius · Pull Request #16 · ProcessMaker/wizard-templates
This PR introduces default launchpad assets for Guided Templates. It involves updates to the file structure, including the addition of a new directory named launchpad within the assets directory. This directory contains a subdirectory named slides, which stores assets associated with the launchpad carousel. Additionally, the generate_index.php script file has been refactored to accommodate the new subdirectory file structure for launchpad assets.
How to Test
- Ensure your environment is configured with the correct wizard-template branch by adding
GUIDED_TEMPLATE_BRANCH=task/FOUR-14171to your .env file. - Run the commands
php artisan optimizeandphp artisan processmaker:sync-guided-templates. - Navigate to Processes -> Guided Templates.
- Run a guided template.
- Upon completion and redirection to the newly created process, verify that the carousel images are loaded correctly.
- Run another guided template to ensure there are no image errors on subsequent process imports.