Skip to content
This repository has been archived by the owner on Jun 26, 2020. It is now read-only.

[Feature request] An ability to filter out decorations in the tree #379

Closed
lexfrl opened this issue May 26, 2016 · 7 comments
Closed

[Feature request] An ability to filter out decorations in the tree #379

lexfrl opened this issue May 26, 2016 · 7 comments

Comments

@lexfrl
Copy link

lexfrl commented May 26, 2016

First I'll just define a problem which me (and, not only me) faced..

It turns out that it's common today to have a deeply nested components thee. In many ways, it becomes as it is due to a heavy usage of decorators of any kind or/and other 'compositions'.
As an example (not a weirdest case):
screen shot 2016-05-26 at 3 41 37 pm

I think, it would be nice to have an ability to filter out decorators-like
components from the three based on some criteria (could be user-defined, I guess).

@sophiebits
Copy link
Contributor

Is the tree frustrating to you or only the list at the bottom?

@sophiebits
Copy link
Contributor

If the latter, perhaps we could do this like Chrome:

image

@iamdustan
Copy link
Contributor

I would be a big fan of the second image, @spicyj. Happy to PR it next week.

@lexfrl
Copy link
Author

lexfrl commented May 27, 2016

@spicyj both are frustrating for my taste. Bottom list is weird but it's usable at least. I've seen more deep trees in practice, and at some point it's not usable (I'm about the tree itself). Worse that as you can see, stacked containers add more than 50% of deepness (look at the first lines in the list at the bottom). I think, it would be nice if we'll find a way how to flatten them out of the tree.

For example, we could have a button to stack components w/o DOM elements in between.

@kassens
Copy link
Member

kassens commented May 27, 2016

What I like about the current tree is that it gives a very clear image of what components are nested and direct access to all of them. I'm curious to see mocks/sketches of how this could be more compact without suffering by hiding too much information.

@lexfrl lexfrl changed the title [Feature request] An ability to filter out decorations [Feature request] An ability to filter out decorations in the tree May 27, 2016
@gaearon
Copy link
Contributor

gaearon commented Feb 15, 2017

Some discussion happening in #503.

@gaearon
Copy link
Contributor

gaearon commented Apr 21, 2017

Closing in favor of #604 (it's a bit more fresh).

@gaearon gaearon closed this as completed Apr 21, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants