Skip to content

BE: Work Items - Ability to reorder work items in the Child Items widget

Problem to solve

The order in which records appear in the child widget is important because it can represents the sequence in which they should be worked on.

Proposal

Allow users to re-order (drag and drop) child records in the child items widget. Noting that users should be able to reparent child items through drag and drop similar to the epic child feature.

Acceptance Criteria

Tasks within work items

  • Move an existing task to the top of the list
  • Move an existing task to the bottom of the list
  • Move an existing task to the middle of the list
  • Move an existing task to another work item and set a manual position
  • Every newly created task is added to the bottom of the hierarchy

Hierarchy Widget for any work item type

  • Move an existing child to the top of the Hierarchy
  • Move an existing child to the bottom of the Hierarchy
  • Move an existing child to the middle of the Hierarchy
  • Move an existing child to another Hierarchy and set a manual position
  • Every newly created work item is added to the bottom of the hierarchy

Please prepare Work Item Hierarchy Widget backend to mimic the current experience found in Epics when dragging and dropping records.

drag_and_drop_behavior

Tech design

Information to note

Per this comment for manual reordering these children need to support relative positioning.

We have the DB column relative_position needed for this feature but it doesn't include RelativePositioning yet.




This page may contain information related to upcoming products, features and functionality. It is important to note that the information presented is for informational purposes only, so please do not rely on the information for purchasing or planning purposes. Just like with all projects, the items mentioned on the page are subject to change or delay, and the development, release, and timing of any products, features, or functionality remain at the sole discretion of GitLab Inc.

Edited by Petro Koriakin