Expand trees together - including fragments, not including litho components

Summary: When expanding one tree, the other tree also expands. This expanding jumps over fragments (which are not in the accessibility tree) so that the trees can stay in sync even when there are extra wrappers in the main tree. Need to figure out functionality for litho components (these simply don't expand together right now since the relationship between the trees at these nodes are less obvious).

Differential Revision: D8943229

fbshipit-source-id: 289c3511a6495508b45a62da13ae4c50209e6118
This commit is contained in:
Sara Valderrama
2018-07-25 10:11:59 -07:00
committed by Facebook Github Bot
parent 2155c7799f
commit c57e6e4396
9 changed files with 64 additions and 28 deletions

View File

@@ -103,6 +103,7 @@ public class InspectorSonarPluginTest {
.put("children", new SonarArray.Builder().put("test"))
.put("attributes", new SonarArray.Builder())
.put("decoration", (String) null)
.put("extraInfo", new SonarObject.Builder())
.build()));
}
@@ -138,7 +139,8 @@ public class InspectorSonarPluginTest {
.put("data", new SonarObject.Builder())
.put("children", new SonarArray.Builder())
.put("attributes", new SonarArray.Builder())
.put("decoration", (String) null)))
.put("decoration", (String) null)
.put("extraInfo", new SonarObject.Builder())))
.build()));
}