innoq / iqvoc

iQvoc - A SKOS(-XL) Vocabulary Management System for the Semantic Web
http://iqvoc.net/
Other
117 stars 44 forks source link

"Broader terms" tree on concept page is upside-down #229

Open mistydemeo opened 11 years ago

mistydemeo commented 11 years ago

The broader terms tree on the concept page is drawn upside-down from what would normally be expected. It starts with the narrowest term on the upper left and builds to broader as it goes lower and to the right. This is the opposite of how the narrower terms and hierarchical concepts trees are drawn.

For example:

Canadian Charter of Rights and Freedoms
├── Constitutional law

"Constitutional law" is actually the broadest term in this tree, and occurs one step above "Canadian Charter", but the visualization implies it's the other way around.

FND commented 11 years ago

I believe this was done on purpose - if mostly for technical reasons because the treeview widget doesn't allow expanding in reverse, i.e. upwards. (@mrreynolds and @tillsc might know better - this was before my time.)

I agree it's confusing to end-users, but I'm not sure how best to improve it.

youngbrioche commented 11 years ago

Yep, it's on purpose.

mistydemeo commented 11 years ago

I'm wondering if there might be a better way to represent it. I understand there's a technical reason for why it has to work like this using the treeview widget, but it's very unintuitive. One of our users here was concerned that the relationships he was entering were being stored incorrectly because of the visualization.

youngbrioche commented 11 years ago

Maybe an additional hint message will make it clearer? I'm with you on the point that the widget is a bit unintuitive for displaying broader elements.

FND commented 11 years ago

I suppose one could add some upwards button at the top which replaces the treeview with a new instances initialized at the next higher level (while retaining the necessary depth), thus maintaining the same UI. Might be a fun JavaScript hack for anyone interested...