Commit 6b83d6d
authored
testing: use overflow ellipsis in test tree (microsoft#186806)
* tree: add fast path for children updates in compressedObjectTreeModel
I noticed in testing that more things were getting rerendered than they
should have been. This adds a fast path so that, if the elements in
a compressed node don't change when its children are updated, we only
update the children instead of replacing the entire node from the parent
collection.
* testing: use overflow ellipsis in test tree
Fixes microsoft#186320
Had to abandon flexbox for this, so do manual tweaks to make codicons show nicely:
1 parent 01d4949 commit 6b83d6d
1 file changed
+9
-12
lines changedLines changed: 9 additions & 12 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
43 | 43 | | |
44 | 44 | | |
45 | 45 | | |
46 | | - | |
47 | | - | |
48 | 46 | | |
49 | | - | |
50 | 47 | | |
51 | 48 | | |
52 | 49 | | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
53 | 59 | | |
54 | 60 | | |
55 | 61 | | |
| |||
108 | 114 | | |
109 | 115 | | |
110 | 116 | | |
111 | | - | |
112 | | - | |
113 | | - | |
114 | | - | |
115 | | - | |
116 | | - | |
117 | | - | |
118 | | - | |
119 | | - | |
120 | 117 | | |
121 | 118 | | |
122 | 119 | | |
| |||
0 commit comments