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).
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.
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.
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.
The selection and the moves have several states and a lot of error handling. It will be done in Vue/Vuex.