Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Inspector improvements #28

Open
4 of 6 tasks
arya-s opened this issue Feb 9, 2020 · 2 comments
Open
4 of 6 tasks

Inspector improvements #28

arya-s opened this issue Feb 9, 2020 · 2 comments
Labels
2d Related to @hex-engine/2d inspector Related to @hex-engine/inspector

Comments

@arya-s
Copy link
Contributor

arya-s commented Feb 9, 2020

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
  • I want a button to collapse all expanded entries in the inspector
  • I want selected entities in the inspector tree to be scrolled into view if they are far down the tree
  • 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
  • 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)
@suchipi
Copy link
Owner

suchipi commented Feb 10, 2020

I agree with all of these 👍

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 suchipi added 2d Related to @hex-engine/2d inspector Related to @hex-engine/inspector labels Feb 10, 2020
@arya-s
Copy link
Contributor Author

arya-s commented Feb 10, 2020

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 arya-s mentioned this issue Mar 6, 2020
4 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
2d Related to @hex-engine/2d inspector Related to @hex-engine/inspector
Projects
None yet
Development

No branches or pull requests

2 participants