angular/devtools/projects/ng-devtools-backend/src/lib
AleksanderBodurri 5be80d33a3 fix(devtools): DOM traversal bug (#62719)
Previously, Angular devtools would mistakenly traverse the same DOM elements multiple times while doing traversal for the component tree explorer. This error case would occur when more than 1 Angular application root component was present on the same page and in distinct DOM branches.

Some example cases that did work previously:

```html
<app-root>
...
</app-root>
```

```html
<app-root>
...
<app-root-2></app-root-2>
...
</app-root>
```

An example of where it would enter the irregular behaviour

```html
<app-root>
...
</app-root>
<app-root-2>
...
</app-root-2>
```

Now, we properly ignore duplicate DOM paths when looking for application and non-application root component to begin the Angular DevTools component discovery logic.

PR Close #62719
2025-08-18 15:43:09 +00:00
..
component-inspector build: remove ts_project_interop infrastructure (#62908) 2025-07-31 09:12:58 +00:00
component-tree fix(devtools): DOM traversal bug (#62719) 2025-08-18 15:43:09 +00:00
directive-forest fix(devtools): DOM traversal bug (#62719) 2025-08-18 15:43:09 +00:00
hooks build: remove ts_project_interop infrastructure (#62908) 2025-07-31 09:12:58 +00:00
ng-debug-api fix(devtools): DOM traversal bug (#62719) 2025-08-18 15:43:09 +00:00
state-serializer build: remove ts_project_interop infrastructure (#62908) 2025-07-31 09:12:58 +00:00
BUILD.bazel build: remove ts_project_interop infrastructure (#62908) 2025-07-31 09:12:58 +00:00
client-event-subscribers.spec.ts build: migrate to use web test runner rules (#62292) 2025-06-26 17:19:10 +00:00
client-event-subscribers.ts feat(devtools): add transfer state tab (#62465) 2025-07-22 08:41:10 -04:00
highlighter.spec.ts test(devtools): disable flaky highlighter test (#59561) 2025-01-16 12:19:39 +01:00
highlighter.ts build: migrate adev devtools package to use ts_project (#61210) 2025-05-08 09:38:30 -07:00
index.ts build: migrate adev devtools package to use ts_project (#61210) 2025-05-08 09:38:30 -07:00
interfaces.ts build: migrate adev devtools package to use ts_project (#61210) 2025-05-08 09:38:30 -07:00
property-mutation.spec.ts refactor(devtools): add support for mutating objects inside signals (#60381) 2025-03-18 10:22:46 +01:00
property-mutation.ts refactor(devtools): add support for mutating objects inside signals (#60381) 2025-03-18 10:22:46 +01:00
router-tree.spec.ts fix(devtools): do not emit a route object with functions (#62254) 2025-07-08 11:28:27 -07:00
router-tree.ts refactor(devtools): remove unused imports (#62530) 2025-07-08 12:12:22 -07:00
serialization-utils.spec.ts fix(devtools): sanitize route data. (#62339) 2025-06-30 09:31:18 +00:00
serialization-utils.ts fix(devtools): sanitize route data. (#62339) 2025-06-30 09:31:18 +00:00
set-console-reference.ts build: migrate adev devtools package to use ts_project (#61210) 2025-05-08 09:38:30 -07:00
utils.ts fix(devtools): implement signal read error handling in DevTools (#61911) 2025-06-19 10:15:39 +02:00
version.ts refactor: update license text to point to angular.dev (#57901) 2024-09-24 15:33:00 +02:00