dlr-gtlab / gtlab-core

GTlab Core Framework
https://www.gtlab.de
Other
7 stars 2 forks source link

💡 [REQUEST] - Move process elements up or down by context menu, without drag & drop #1258

Open OliverKunc opened 2 months ago

OliverKunc commented 2 months ago

Summary

The context menu of a process element should contain the options "Move 1 up" and "Move 1 down", which would re-arrange that process element within the current hierarchy level.

E.g. it is then possible to change the order of root tasks.

It should not be possible to move process elements to another parent or out of their hierarchy.

E.g. consider the following structure:

Then relative movements are possible only within each of the following groups:

Improvements

The currently available drag 'n drop is not user-friendly as it is very sensitive to the position of the mouse.

Drawbacks

Context menu is enlarged by 2 entries.

Current workarounds

Succeed with drag 'n drop, delete and re-create the elements, or get used to the order as it is.

Patrick-Wehrel commented 1 month ago

As discussed with @jensschmeink , I summarize a bug regarding Tasks here:

Currently, it is not possible to move a Tasks upwards. In the example below, I can't move "Task" between "Calculate Foot and Disk Mass" and "Calculate Disk Stress".

grafik

It is possible to move "Task" under another Task. When I press "Undo", the task is deleted and any empty task remains. ble