You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This PR introduces a temporary solution for generating Guided Template Launchpad carousel images. Due to limitations in the current system where launchpad images are not exported alongside process configurations, this temporary solution utilizes the wizard-templates GitHub repo to store images related to the guided template. Upon importing the process created from the guided template, the images are synced to the newly imported process.
The changes include updates to the SyncGuidedTemplates job to handle storing the launchpad images and modifications to the import method for importing a process from a process template to add the guided template images to the processimage_carousel media collection.
How to Test
Ensure your environment is configured with the correct wizard-template branch by adding GUIDED_TEMPLATE_BRANCH=task/FOUR-14171 to your .env file.
Run the commands php artisan optimize and php 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.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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.
This PR introduces a temporary solution for generating Guided Template Launchpad carousel images. Due to limitations in the current system where launchpad images are not exported alongside process configurations, this temporary solution utilizes the wizard-templates GitHub repo to store images related to the guided template. Upon importing the process created from the guided template, the images are synced to the newly imported process.
The changes include updates to the
SyncGuidedTemplatesjob to handle storing the launchpad images and modifications to the import method for importing a process from a process template to add the guided template images to the processimage_carouselmedia collection.How to Test
GUIDED_TEMPLATE_BRANCH=task/FOUR-14171to your .env file.php artisan optimizeandphp artisan processmaker:sync-guided-templates.Related Tickets & Packages
ci:next
Code Review Checklist
ci:deploy
ci:next
ci:wizard-templates:task/FOUR-14171
ci:GUIDED_TEMPLATE_BRANCH="task/FOUR-14171"