Repository navigation
Commit 08f0ade
fix(components): stop repeated node ids from looping the tree ancestry (#447)
A component report with repeated node ids could make the panel's
parent map loop, so ownerOf and reveal walked it forever and froze the
panel. The report guard now drops a node whose id the tree already
used, along with its subtree. The panel keeps only the first row with
an id in its index, and both ancestry walks stop at a repeated id.
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>1 parent e4ff5c8 commit 08f0ade
7 files changed
Lines changed: 149 additions & 76 deletions
File tree
- app/src
- __tests__
- pages
- extension/ui
- assets
- packages/devtools/src
- __tests__
- rpc
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
178 | 178 | | |
179 | 179 | | |
180 | 180 | | |
| 181 | + | |
| 182 | + | |
| 183 | + | |
| 184 | + | |
| 185 | + | |
| 186 | + | |
| 187 | + | |
| 188 | + | |
| 189 | + | |
| 190 | + | |
| 191 | + | |
181 | 192 | | |
182 | 193 | | |
183 | 194 | | |
| |||
1822 | 1833 | | |
1823 | 1834 | | |
1824 | 1835 | | |
| 1836 | + | |
| 1837 | + | |
1825 | 1838 | | |
1826 | 1839 | | |
1827 | 1840 | | |
| |||
2401 | 2414 | | |
2402 | 2415 | | |
2403 | 2416 | | |
2404 | | - | |
| 2417 | + | |
2405 | 2418 | | |
2406 | 2419 | | |
2407 | 2420 | | |
| |||
2447 | 2460 | | |
2448 | 2461 | | |
2449 | 2462 | | |
2450 | | - | |
| 2463 | + | |
2451 | 2464 | | |
2452 | 2465 | | |
2453 | 2466 | | |
| |||
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
117 | 117 | | |
118 | 118 | | |
119 | 119 | | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
| 134 | + | |
| 135 | + | |
| 136 | + | |
| 137 | + | |
| 138 | + | |
| 139 | + | |
| 140 | + | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
| 144 | + | |
| 145 | + | |
| 146 | + | |
| 147 | + | |
| 148 | + | |
| 149 | + | |
| 150 | + | |
| 151 | + | |
| 152 | + | |
120 | 153 | | |
121 | 154 | | |
122 | 155 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
40 | 40 | | |
41 | 41 | | |
42 | 42 | | |
| 43 | + | |
| 44 | + | |
43 | 45 | | |
44 | 46 | | |
45 | 47 | | |
| 48 | + | |
| 49 | + | |
46 | 50 | | |
47 | 51 | | |
48 | 52 | | |
| |||
0 commit comments