[DevTools] feat: display subtree for Activity and dim in hidden mode#36094
Open
[DevTools] feat: display subtree for Activity and dim in hidden mode#36094
Conversation
e52b290 to
eb0b2d1
Compare
Collaborator
|
I fear that this will make the tree way too busy. Can we collapse hidden subtrees by default? |
Contributor
Author
The tree is already too big on larger modern applications. Yes, I think there is a way to auto-collapse these, will implement that, great idea. |
eb0b2d1 to
a765a61
Compare
Contributor
Author
|
@eps1lon Updated! Screen.Recording.2026-03-20.at.14.05.58.mov |
a765a61 to
52a4ae5
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
With this change, Components panel will display subtree of the Activity. When it is in hidden mode, the subtree will be dimmed.
Added Jest tests and a sandbox case to
react-devtools-shell.Demo:
Screen.Recording.2026-03-18.at.20.02.48.mov