Skip to content

[DevTools] feat: display subtree for Activity and dim in hidden mode#36094

Open
hoxyq wants to merge 1 commit intomainfrom
devtools/activity-hidden
Open

[DevTools] feat: display subtree for Activity and dim in hidden mode#36094
hoxyq wants to merge 1 commit intomainfrom
devtools/activity-hidden

Conversation

@hoxyq
Copy link
Contributor

@hoxyq hoxyq commented Mar 18, 2026

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

@hoxyq hoxyq requested a review from eps1lon March 18, 2026 20:18
@meta-cla meta-cla bot added the CLA Signed label Mar 18, 2026
@hoxyq hoxyq force-pushed the devtools/activity-hidden branch from e52b290 to eb0b2d1 Compare March 18, 2026 20:35
@eps1lon
Copy link
Collaborator

eps1lon commented Mar 20, 2026

I fear that this will make the tree way too busy. Can we collapse hidden subtrees by default?

@hoxyq
Copy link
Contributor Author

hoxyq commented Mar 20, 2026

I fear that this will make the tree way too busy. Can we collapse hidden subtrees by default?

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.

@hoxyq hoxyq force-pushed the devtools/activity-hidden branch from eb0b2d1 to a765a61 Compare March 20, 2026 14:07
@hoxyq
Copy link
Contributor Author

hoxyq commented Mar 20, 2026

@eps1lon Updated!

Screen.Recording.2026-03-20.at.14.05.58.mov

@hoxyq hoxyq force-pushed the devtools/activity-hidden branch from a765a61 to 52a4ae5 Compare March 20, 2026 14:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants