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
We need a way of setting the actions that are expected to happen, so that when someone clicks the "Laravel" template, the progress modal will know, "okay this'll create an app, clone, composer install, enable the project and reload nginx" all before the process has started.
We could hack the data into templates.json, but then we'd have to keep it in sync with the backend. A better solution would be setting an actions var/method on the template classes, e.g. on a Laravel project...
The problem there is when the project is created, the backend has no idea what app or redirect will be attached. We'd need to return the actions list with the created app or redirect, but that still beats adding in sequence.
The text was updated successfully, but these errors were encountered:
This adds a new handler to the app and redirect saving events that
dispatches the 'pending' `ProjectProgress` events for all the relevant
steps so the progress modal can be populated once the project is saved.
Related: #385
This adds a new handler to the app and redirect saving events that
dispatches the 'pending' `ProjectProgress` events for all the relevant
steps so the progress modal can be populated once the project is saved.
Related: #385
We need a way of setting the actions that are expected to happen, so that when someone clicks the "Laravel" template, the progress modal will know, "okay this'll create an app, clone, composer install, enable the project and reload nginx" all before the process has started.
We could hack the data into templates.json, but then we'd have to keep it in sync with the backend. A better solution would be setting an
actions
var/method on the template classes, e.g. on a Laravel project...The problem there is when the project is created, the backend has no idea what app or redirect will be attached. We'd need to return the actions list with the created app or redirect, but that still beats adding in sequence.
The text was updated successfully, but these errors were encountered: