google / codeworld

Educational computer programming environment using Haskell
http://code.world
Apache License 2.0
1.25k stars 193 forks source link

Inspect: tree control on the inspection dialog doesn't work in normal ways #557

Open cdsmith opened 7 years ago

cdsmith commented 7 years ago

The inspection dialog's tree control looks off in a lot of ways: specifically, the way it uses a yellow background for a fake selection, and applies the selection highlight to all parents. Because it's only a fake selection, it's unlikely to be usable except by the mouse. Should look for an alternative JavaScript tree control to fit in that slot.

cdsmith commented 5 years ago

@sjakobi This is a bug for using a real tree control for the inspect dialog. I mentioned in our conversation to me that @nixorn has already started to use jqTree (https://mbraak.github.io/jqTree/) for the project browser, so it may be not too hard to also use it in the inspect interface. You may have to check that @nixorn's CSS styles only apply in the project browser, though. You wouldn't want them to take effect here, too.