Tests steps can be defined, updated, deleted and reordered in the modal window (TTM & Planning views).
- Re-order cannot be done with drag n'drop, it will be done with arrows to up & down
- REST backend route (POST/PUT /artifact/:id) need to handle the update of a field that is defined in a 3rd party plugin.
Technical details and limitations:
- It will be implemented in VueJS inside the AngularJS modal. This work won't be re-usable in the next VueJS app.
- The JS code for the steps must be in tracker plugin due to limitation in the way import works. Previous experience with Tracker Workflow has shown that we are unable to dynamically import a Vue component from another plugin AND have it be part of the same "Vue app".
- Image drag and drop in steps in the modal should leverage already existing work. We can already drag/drop images in the follow-up comment and in text fields.
- For the REST route, we will implement interface methods of Tracker_FormElement_Field such as "getFieldDataFromRESTValue" in StepDefinition.php, "getFullRESTValue" in StepDefinitionChangesetValue.php. By using those methods, the fields are processed just like any other from the Tracker plugin.