acenturyandabit / acenturyandabit/workflowish

consider the distance between left and right nodes rather than just the deepest ...

Open
#87 0 comments 0 reactions 0 assignees View on GitHub
todo
Dominant language
TypeScript
Stars
0
Forks
1
PR merge metrics
No merged PRs in 30d

Description

https://api.github.com/acenturyandabit/workflowish/blob/230611b697e9f20cdc567e888f0676f74ead89a6/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.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.