kbss-cvut / react-maintenance-planner

React component to visualize and manage maintenance plans.
GNU Lesser General Public License v3.0
0 stars 1 forks source link

Reorder resources #40

Closed LaChope closed 2 years ago

LaChope commented 2 years ago

As @blcham suggested in https://github.com/kbss-cvut/react-maintenance-planner/issues/37#issuecomment-1160726816, we should be able to reorder resources that are on the same level. Also, if a resource that is reordered has children, children should still be linked to their parent (as in example below):

- A
  - B  
  - C
  - D
- E
  - F 

After reordering "E":

- E
  - F
- A
  - B  
  - C
  - D