•  
     
    story #11347 have a UI to access Move artifact
Summary
Empty
have a UI to access Move artifact
Empty

Functional overview

Access to the action

Mockup: 1-tracker-artifact-header.png shows the select box proposed to move artifacts on right hand side

  • The "Copy" link in the toolbar is removed and a new action menu is proposed on the top right with copy, move and disable notification.
  • same for "Display original mail"
  • same for graph dependencies (=> as we move graph dependencies button, we also remove the artifact links references block)

Move is displayed if user is admin of the tracker however the link is grayed if preconditions are not met (if there are artifact links or if the artifact is associated to a FRS release).

Tracker Selector

Mockup: 2-1-tracker-artifact-move-modal.png intermediate modal window to select target

The first select box list only projects where there are at least one tracker the user is admin of

The second select box list trackers the user is admin of.

The REST routes to list projects and users (already used in cross tracker search) must be updated with those new filters.

Confirmation modal

The confirmation modal shows 3 lists:

  • Fields that can be moved
  • Fields that can be moved but with loose of information (content of selectboxes that doesn't match for instance)
  • Fields that will be lost

Upon confirmation, the move is done, the user is redirected on the artifact page in new tracker/projects with information about the move.

Moved artifact

The moved artifact is updated with a new changeset that inform that artifact was moved and used to be in a "XXX" tracker of "YYY" project. This changeset is owned by the user who does the action at the time of the action.

Technical overview

The selection and the moves have several states and a lot of error handling. It will be done in Vue/Vuex.

Patricia Carrasco (pcar), Stephan Bill (stephanbill)
Status
Done
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
#11347
Manuel Vacelet (vaceletm)
2018-08-20 08:50
2018-04-04 10:13
3975

References
Referencing story #11347

Git commit

tuleap/tuleap/stable

Follow-ups