That the item is draggable (shown here by the drag icon)
That the item is being dragged and where it's coming from (shown above by the "ghosted" or semi-transparent view of where the checklist item previously displayed)
What else is affected and how once the item has been dropped (shown here by an animation of movement and the placement shift of the two items)
The "received" version of the view should mimic drag and drop functionality in boards in that there is a ghosted version of the item that appears where the user hovers while holding the element to show how the other related items will move and where the item will be dropped (see video below)
Issue descriptions are used to capture a lot of different types of information such as checklists, outlines, and implementation details. You can now easily reorganize a description's list items by dragging and dropping them without having to edit and save the full description.
@demisxbar That's totally valid but probably not completely related to this issue. If you open a new issue and ping me on it I'll make sure it gets the gitlab-ce~2677490 label.
@jschatz1 I will do that shortly. :) Ahaha the gold has to be awarded to jQuery for doing this in 1 line.
@connorshea How soon until you'll find a way to ditch most of jQuery UI? If its soon I'd much rather push this through with a light-weight sortable lib.
I think ordering in the "task widget" is different from ordering a markdown list, that could contain both links to tasks, other issues, or simply a shopping list. Drag ordering of regular lists is still quite useful, particularly if you don't want the overhead of "Tasks"
Ok this makes sense. Then my next question would be how we handle dragging/reordering in these cases:
Case 1 - Mixed list type:
- [ ] Task- Unordered list item- [ ] Task
Case 2 - Non-task list types:
1. Ordered list 1. Second item in ordered list1. Third item- Unordered list- Second item- Third item
@gweaver I don't think it makes any difference what "type" the list item is - it doesn't matter if it has a checkbox, or is a "task", or just a plain list item. Each one would show a drag handle when hovering over it, and the drag handle allows you to move the item up and down that specific list - you can't drag an item from one list to another, at least not initially.
@gweaver I think we can accomplish this completely on the frontend. I would like to get input from the team though. Did you want this weighed for %14.6 or we okay with adding Next Up and having it weighed in the next cycle?
@donaldcook I'd like to get it weighed for this cycle if possible. If it's frontend only, how do we store the order of the tasks? Just update the description?
@gweaver Just to note it here as well, based on this conversation we've decided to hold off on pursuing this at this time in light of the impact it could have on the work groupproduct planning is doing.
@hollyreynolds I do not think it would impact any of the work they are doing given the order in the description is not at all connected to anything else -- anywhere in the product. I really wish we had this right now -- especially for managing my own weekly priorities issue (https://gitlab.com/gitlab-org/plan/-/issues/512), where I have to edit + copy/paste everything it shifts from one week to the next.