Skip to content

Adding graphQL parameters for move to start and end

Deepika Guliani requested to merge 367473-move-to-start-and-end-boards into master

What does this MR do and why?

_Iteration of #367473 (closed). Provide ability to move to start or end of list for all cards on issue/epic boards , when all items are loaded or not. Backend introduced GraphQL parameters for listPosition : 0 for start and listPosition : -1 for end of list.

Screenshots or screen recordings

Before After
Screenshot_2022-09-01_at_3.34.05_PM Screenshot_2022-09-01_at_3.33.04_PM

How to set up and validate locally

Numbered steps to set up and validate the change are strongly suggested.

  1. Visit any board list , issue boards/epic boards Eg : http://127.0.0.1:3000/gitlab-org/gitlab-test/-/boards
  2. Go to any list with items < 10
  3. See that you can move items to start and end of list like on production.
  4. Go to any list with items > 10
  5. Try to Move to end for card 0
  6. See that is removed and added to the list at the last when you paginate/scroll more till last

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

Related to #367473 (closed)

Edited by Deepika Guliani

Merge request reports