Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Resibling logic and more features; #93

Open
wants to merge 19 commits into
base: master
Choose a base branch
from

Conversation

AlexZodov
Copy link

@AlexZodov AlexZodov commented Mar 22, 2019

Added next new features:

  1. Moving nodes to left/right of;
  2. Expansion timer for opening nodes while dragOver them;
  3. MultiTree support - emits event when dropOn not native tree;
  4. Added to node model object moveTo and deleteNode methods;
  5. Props for turning on/off features mentioned above;

#92
#90
#53
#67

Alexander Zodov added 19 commits March 18, 2019 12:05
Added expand timer logic; now on dragOver collapsed node - it will open
in 1.5 sec.

BREAKING CHANGE: Expand timer
Add optional Boolean flag to control expansion from outside with a prop;

BREAKING CHANGE: Boolean flag for Expand Timer as a prop
update README.md - added description of expansion prop;

BREAKING CHANGE: description of expansion prop
Add prop to control duration timeout for expand timer

BREAKING CHANGE: Expand timer duration
Add possibility to move nodes around each other;
Now possible to place nodes left of/right of anchor node;
Add styling for dropPostition and tree sizing;

BREAKING CHANGE: Moving nodes
Add description of siblings movement feature props;

BREAKING CHANGE: update README.md
Remove order logic;
Remove bootstrap classes mb-3 and mt-3;
Remove replaceDataItem, getOrder and related methods;
Remove prop order;
Remove from main.less @media logic;
Remove lodash and underscore libs from packaje.json;
Update README.md;

BREAKING CHANGE: Remove not necessary features
Leave in .tree class only text-align attribute;
Add multiTree feature - drag-and-drop between two(and more) instances of
tree component;
Control by boolean prop multiTree;
Update README.md;

BREAKING CHANGE: multiTree
Add checkBox to enable/disable multiTree logic;

BREAKING CHANGE: Checkbox for multiTree
Add moveTo and deleteNode methods to node model;
Change
handleAsyncLoad;
Make moveTo dependent on execute-sibling-movement
prop;
Use watcher isHover instead of isDragEnter;

BREAKING CHANGE: moveTo, deleteNode
Add description of moveTo and deleteNode methods in node model;
Remove onItemToggle call in method handleItemToggle;

BREAKING CHANGE: Fixed double onItemToggle call
Add boolean prop showDropPosition to control whether to show tree-marker;
Add backgroundColor adding on dragOver state;
Add to size prop validator '' empty string option;

BREAKING CHANGE: showDropPosition prop
- Add boolean flag to act both behavior on multiTree and usual (emits 2 events if true on itemDrop);
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant