Projects on EcosystemTree can be moved using drag and drop to change their parent. Valid parent projects are highlighted
when the project is dragged over them.
A project can be moved to another in the cases the moveProject mutation allows:
Both projects belong to the same ecosystem
The new parent is not already the project's parent.
The new parent is not a child of the project.
A project can't be moved to itself.
If the projects are not root projects, they need to have the same root.
Before the move is performed, the user is prompted to confirm the action with a dialog. When the move is successful, the projects on the app sidebar are reloaded, and if the current view is project, it reloads the project's information.
Projects on
EcosystemTree
can be moved using drag and drop to change their parent. Valid parent projects are highlighted when the project is dragged over them.A project can be moved to another in the cases the
moveProject
mutation allows:Before the move is performed, the user is prompted to confirm the action with a dialog. When the move is successful, the projects on the app sidebar are reloaded, and if the current view is
project
, it reloads the project's information.Closes #65.