danielabar / globi-proto

InfoVis 2015 IVMOOC Globi Explorer
http://danielabar.github.io/globi-proto
MIT License
2 stars 1 forks source link

Network enforce max levels #15

Closed danielabar closed 9 years ago

danielabar commented 9 years ago

The column network graph is laid our horizontally given the width of the graph vis area and a max number of levels. However, the max is not actually enforced so user could keep clicking and generating nodes that go off the visible area.

Add some logic, in the network controller that receives the node click events to check the level of the node that was just clicked, if it exceeds max level, display some explanatory message.

psmacmur commented 9 years ago

Or, drop the first level... ?

danielabar commented 9 years ago

My brain might explode...

psmacmur commented 9 years ago

In that case, how about one of those toasts with that Gandalf quote about the dwarves of Moria who dug too deep?

danielabar commented 9 years ago

Works for me, just reply with the text and consider it done ;-)

danielabar commented 9 years ago

So thinking more seriously about this, the easiest thing from a technical perspective is to use the toaster library we already have a pop a message. However, that's a bad user experience for several reasons:

So I have a better idea, which is I've already got work in progress: If user clicks on a max level node, present a modal with an explanatory message AND a button they can click to start a new search for their selected taxon and interaction type.

Using UI Bootstrap Modal, its pretty easy to pass scope data to construct a dynamic message like "search for tuna eats".

I hope this will be a better experience for the user, who wishes to explore the graph deeper.

psmacmur commented 9 years ago

Oh yeah, if that's quick to implement, it'd be much less frustrating