•  
     
    story #13685 add steps in the modal window
Summary
Empty
add steps in the modal window
I can add a new step in a test directly in TTM

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.
Empty
Empty
Status
Empty
Ready (stalled)
Development
  • [ ] Does it involves User Interface? 
  • [ ] Are there any mockups?
  • [ ] Are permissions checked?
  • [ ] Does it need Javascript development?
  • [ ] Does it need a forge upgrade bucket?
  • [ ] Does it need to execute things in system events?
  • [ ] Does it impact project creation (templates)?
  • [ ] Is it exploratory?
Empty
Details
#13685
Sandra Echinard (sechinard)
2020-03-31 12:54
2019-07-26 11:00
14876

References

Follow-ups

User avatar
Joris MASSON (jmasson)2020-03-31 12:54
  • Acceptance criteria
    Something went wrong, the follow up content couldn't be loaded
    Only formatting have been changed, you should switch to markup to see the changes
  • Category set to
User avatar
  • Acceptance criteria
    Something went wrong, the follow up content couldn't be loaded
    Only formatting have been changed, you should switch to markup to see the changes
User avatar
  • I want to
    -add steps in the modale 
    +add steps in the modal window 
  • Acceptance criteria
    Something went wrong, the follow up content couldn't be loaded
    Only formatting have been changed, you should switch to markup to see the changes