hex-engine icon indicating copy to clipboard operation
hex-engine copied to clipboard

Inspector improvements

Open arya-s opened this issue 5 years ago • 2 comments

Here are a couple of things I noticed while working on the inspector that I think could use improvements:

  • [ ] I want to see a tooltip with entity id, name, position and dimension over a hovered entity in select mode
  • [x] I want a button to collapse all expanded entries in the inspector
  • [x] I want selected entities in the inspector tree to be scrolled into view if they are far down the tree
  • [x] I want the inspector controls to be fixed to the top so that I don't have to scroll a long tree back up to get to the controls
  • [ ] I want to select entities and have hover outlines even when the run loop is paused
  • [x] I want the inspector tree entries to expand by clicking on a single element instead of being able to "fall through" holes in between (e.g. there is a gap between ▶ and the label of the entry)

arya-s avatar Feb 09 '20 19:02 arya-s

I agree with all of these :+1:

Though, for "I want a button to collapse all expanded entries in the inspector", since in your PR you're changing collapsing to work like pycharm, that can be performed by collapsing the root node, right?

Also, re "I want to select entities even when the run loop is paused", I want hover outlines to work when the run loop is paused, too.

suchipi avatar Feb 10 '20 16:02 suchipi

Though, for "I want a button to collapse all expanded entries in the inspector", since in your PR you're changing collapsing to work like pycharm, that can be performed by collapsing the root node, right?

Yep, it's very easy to add this if my PR goes through.

Also, re "I want to select entities even when the run loop is paused", I want hover outlines to work when the run loop is paused, too.

Ah yeah, good point. I edit-added it.

arya-s avatar Feb 10 '20 17:02 arya-s