Open shamansir opened 9 years ago
I decided to separate search issue (#295) from this one, describing behaviour.
Node types list yet could be opened with some key combination, arrows to navigate, enter to confirm.
So this one becomes child of #295 and #321.
Currently (in docs
branch) it focuses with Ctrl+Space, then user could choose type with arrows and press enter to add new node. It has a bug #343 though. And do not disappears.
If this node will be removed, there's no way to show it again. (#349)
So we may remove top bar of this node, hide it by default, show it by double click or double space or something, and then hide when node was selected. Also, add some button to pin it.
Code to detect double-click or double-whatever with streams:
var multiClickStream = clickStream
.map(function() { return 1; })
.merge(
clickStream
.throttle(200)
.map(function() { return 0; })
)
.scan(function(acc, current) {
if (current === 0) return 0;
else return acc+current;
});
(http://jsfiddle.net/staltz/4gGgs/27/ -> http://jsfiddle.net/staltz/U2j4D/8/)
duplicates #295