OpenSlides/client/src/app/site
GabrielMeyer 76d760bd41 Replaces the old angular2tree with a custom drag&drop tree
Calculates the direction of the moving.

Finishes the moving of nodes in same level

Adds some style

Sets the padding dynamically

Adds placeholder depends on the horizontal movement

Set the placeholder at the correct place, so the user can see, where he will drop the moved node

Finishes moving of nodes

- Old parents change their option to expand.
- New parents change their option to expand.
- If the user moves a node between nodes with a higher level, the node will be moved to the next index with same or lower level.

Fixes the visibility of moved node

- If the new parent is not visible, the moved node will not be seen.

If the user moves an expanded node, the new parent should expanded, too, if it's not already.

Sending successfully data to the server

- Sorting the items

Handles moving nodes between parent and children

- If the user moves a node between a parent and its children, the children will be relinked to the moved node as their new parent.

Replaces the old `sorting-tree` to a new one

- The new `sorted-tree` replaces the old `sorting-tree`.
- The old package `angular-tree-component` was removed.
- The user will only see the buttons to save or cancel his changes, if he made changes.
- The buttons, that do not work currently, were removed.

Adds a guard to check if the user made changes.

- If the user made changes but he has not saved them, then there is a dialog that will prompt to ask for confirmation.

Before cancelling the changes the user has to confirm this.
2019-03-19 13:19:35 +01:00
..
agenda Replaces the old angular2tree with a custom drag&drop tree 2019-03-19 13:19:35 +01:00
assignments Cleanup Repos 2019-03-14 10:46:33 +01:00
base sorting from inside base repositories 2019-03-15 08:12:50 +01:00
common Cleanup Repos 2019-03-14 10:46:33 +01:00
config Cleanup Repos 2019-03-14 10:46:33 +01:00
history Cleanup Repos 2019-03-14 10:46:33 +01:00
login Fix certain permission checks 2019-03-14 17:50:33 +01:00
mediafiles Cleanup Repos 2019-03-14 10:46:33 +01:00
motions Replaces the old angular2tree with a custom drag&drop tree 2019-03-19 13:19:35 +01:00
projector sorting from inside base repositories 2019-03-15 08:12:50 +01:00
tags Cleanup Repos 2019-03-14 10:46:33 +01:00
users sorting from inside base repositories 2019-03-15 08:12:50 +01:00
site-routing.module.ts Fix path matching 2019-03-11 12:33:55 +01:00
site.component.html Cleanup optionalparameter from BaseComponent 2019-03-11 10:49:57 +01:00
site.component.scss Add small fixes 2019-02-25 14:19:57 +01:00
site.component.scss-theme.scss OpenSlides theming (Fixes #4205) 2019-01-31 12:04:35 +01:00
site.component.spec.ts Initial tests for OpenSlides3. Parallel execution of server and client 2018-10-08 14:10:18 +02:00
site.component.ts Cleanup optionalparameter from BaseComponent 2019-03-11 10:49:57 +01:00
site.module.spec.ts Add modules and lazy loading 2018-08-15 10:19:46 +02:00
site.module.ts App initialization 2018-09-28 15:03:04 +02:00