Skip to content

Positioning cycle analytics stages

Adam Hegyi requested to merge positioning-ca-stages into master

What does this MR do?

Allow ordering of Cycle Analytics stages

  • Add RelativePositioning module to the stage classes.
  • Allow the positioning parameters to be passed in the controller to the update service.
  • Update the order of stages within the update service.

For the API, there are two optional parameters for the PUT /stages/:id endpoint (stage update):

  • move_after_id - When moving down, pass the id of the stage above of the dragged stage.
  • move_before_id - When moving up, pass the id of the stage below of the dragged stage.

Screenshots

Drag and Drop

Does this MR meet the acceptance criteria?

Conformity

Availability and Testing

Edited by Adam Hegyi

Merge request reports