acenturyandabit / acenturyandabit/workflowish
consider the distance between left and right nodes rather than just the deepest ...
Open
todo
- Dominant language
- TypeScript
- Stars
- 0
- Forks
- 1
- PR merge metrics
- No merged PRs in 30d
Description
https://api.github.com/acenturyandabit/workflowish/blob/e1ef0097ca3b3f5298e840e5cba4bfdb124d0905/src/Workflowish/mvc/DFSFocus.tsx#L185
```javascript
}
const leftDeepest = deepestCommonLevel(left.treePath, treePath);
const rightDeepest = deepestCommonLevel(right.treePath, treePath);
// TODO: consider the distance between left and right nodes rather than just the deepest common node
return (leftDeepest > rightDeepest) ? left : right;
}
```
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.