Compare commits
No commits in common. "b35bb30631e1d8be4efd03ba336516b0017ed7f9" and "26fc15b65cd0d1430e694265fb2a6ea4ea31c64b" have entirely different histories.
b35bb30631
...
26fc15b65c
13
TODO
13
TODO
@ -1,14 +1,3 @@
|
||||
* Fix dynamic tree updates when adding a new node
|
||||
* Expand tree to show selected node when going throw goToNode()
|
||||
* Create new admin user when no user exists
|
||||
* File deletion
|
||||
- per file
|
||||
- when deleting node and child nodes
|
||||
* Move node
|
||||
* Tree titles should be user-select none
|
||||
|
||||
|
||||
Long term
|
||||
=========
|
||||
* Load tree iteratively when needed
|
||||
* Notification of timestamps
|
||||
* Journal with quick insert of date and time
|
||||
|
@ -253,7 +253,6 @@ class Tree extends Component {
|
||||
this.selectedTreeNode = this.treeNodeComponents[node.ID].current
|
||||
this.selectedTreeNode.selected.value = true
|
||||
this.selectedTreeNode.expanded.value = true
|
||||
this.expandToTrunk(node.ID)
|
||||
}//}}}
|
||||
crumbsUpdateNodes(node) {//{{{
|
||||
this.props.app.startNode.Crumbs.forEach(crumb=>{
|
||||
@ -273,17 +272,6 @@ class Tree extends Component {
|
||||
if(node !== undefined)
|
||||
this.setSelected(node)
|
||||
}//}}}
|
||||
expandToTrunk(nodeID) {//{{{
|
||||
let node = this.treeNodes[nodeID]
|
||||
if(node === undefined)
|
||||
return
|
||||
|
||||
node = this.treeNodes[node.ParentID]
|
||||
while(node !== undefined) {
|
||||
this.treeNodeComponents[node.ID].current.expanded.value = true
|
||||
node = this.treeNodes[node.ParentID]
|
||||
}
|
||||
}//}}}
|
||||
}
|
||||
|
||||
class TreeNode extends Component {
|
||||
|
Loading…
Reference in New Issue
Block a user