Joey Perrott
9bdb4fe8cc
build: reenable firefox tests for devtools ( #63288 )
...
Reenable firefox tests for devtools as the spaces issues with path names is addressed post v7 of bazel
PR Close #63288
2025-08-20 16:08:22 +00:00
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
Joey Perrott
a6a2e38e5c
build: update to bazel 7.6.0 ( #63096 )
...
Update to later version of bazel
PR Close #63096
2025-08-14 13:01:32 +02:00
Andrew Scott
d9f0e6b27c
Revert "feat(platform-browser): Add IsolatedShadowDom encapsulation method ( #62723 )" ( #63142 )
...
This reverts commit d24d5742db . A
legitimate issue was raised in the original commit
(see https://github.com/angular/angular/commit/d24d5742db694604b09d57a3503e8c32751c4836#commitcomment-163853393 )
PR Close #63142
2025-08-13 11:12:59 -07:00
hawkgs
c0bfe23bc9
refactor(devtools): save theme preference ( #63050 )
...
Save the theme preference in the settings store.
PR Close #63050
2025-08-08 08:58:14 -07:00
Doug Parker
e524b333a3
docs(devtools): update pnpm install command ( #63040 )
...
The `install` subcommand is necessary for `--frozen-lockfile` to work.
PR Close #63040
2025-08-07 09:11:22 -07:00
Doug Parker
3a320bdec9
release: bump Angular DevTools version to 1.0.42 ( #63036 )
...
PR Close #63036
2025-08-06 14:56:26 -07:00
Ryan Bendel
d24d5742db
feat(platform-browser): Add IsolatedShadowDom encapsulation method ( #62723 )
...
IsolatedShadowDom encapsulation fixes style leakage in Shadowdom encapsulation by removing sharedstyleshost from dom-renderer IsolatedShadowdom class. Updates docs.
PR Close #62723
2025-08-06 16:48:37 +02:00
hawkgs
533f8e48fd
refactor(devtools): save transfer state tab state in the settings store ( #62429 )
...
Save the Transfer State tab state in the Settings store.
PR Close #62429
2025-08-06 15:12:00 +02:00
hawkgs
b66ad99020
refactor(devtools): implement a migration mechanism for the settings store ( #62429 )
...
Implement a simple mechanism that allows settings store data to be migrated, if needed.
PR Close #62429
2025-08-06 15:12:00 +02:00
hawkgs
cb8d30a293
refactor(devtools): save user settings in the settings store ( #62429 )
...
Save user settings in the `SettingsStore`.
NOTE: The theme is omitted since the change is not trivial and it will be handled in a separate PR.
PR Close #62429
2025-08-06 15:12:00 +02:00
hawkgs
1cdb54559d
refactor(devtools): implement settings store ( #62429 )
...
Introduces a set of services tasked with saving user settings.
PR Close #62429
2025-08-06 15:12:00 +02:00
Matthieu Riegler
9a76a6540d
refactor(devtools): add support for afterRenderEffect on the signal graph ( #63005 )
...
Prior to this change, the `afterRenderEffect` phases were not represented in the signal graph.
PR Close #63005
2025-08-06 15:08:33 +02:00
Matthieu Riegler
4b183c7708
refactor(devtools): add explicit error message when ng is not available ( #63008 )
...
This makes the error more explicit in the console.
PR Close #63008
2025-08-05 18:14:12 +02:00
Joey Perrott
2960722951
build: drop usage of pkg_web ( #62990 )
...
Drop usages of pkg_web as it comes from our previous toolchain
PR Close #62990
2025-08-05 10:08:47 +02:00
hawkgs
3d9fc3e09c
fix(devtools): injector tree root refocus on CD ( #62987 )
...
Fixes the unwanted root node refocus on change detection in the Injector Tree visualizations.
PR Close #62987
2025-08-05 10:07:29 +02:00
Doug Parker
9db1179e21
docs(devtools): fix pnpm install command ( #62956 )
...
`--immutable` only works for `yarn`, `pnpm` needs `--frozen-lockfile`.
PR Close #62956
2025-08-04 11:38:38 +02:00
Matthieu Riegler
65f587bc5d
fix(devtools): Display falsy signal values correctly ( #62919 )
...
falsy value would display their preview because of the logical or.
fixes #55727
PR Close #62919
2025-08-01 12:36:45 +02:00
Milo
b0f0b6d836
refactor(devtools): update graph effect colors, fix graph animations ( #62912 )
...
make effects purple instead of invisible, fix epoch animations for new nodes, and remove graph transitions when switching between two components in the component tree
PR Close #62912
2025-08-01 12:36:09 +02:00
Doug Parker
d05138a975
release: bump Angular DevTools version to 1.0.41 ( #62932 )
...
PR Close #62932
2025-07-31 15:52:37 -07:00
Joey Perrott
82cc576e6f
build: use pnpm as the package manager instead of yarn ( #62924 )
...
Use pnpm instead of yarn as the package manager and interaction tool for the repo
PR Close #62924
2025-07-31 22:06:27 +00:00
hawkgs
b5fc949840
fix(devtools): MessageBus.on return type ( #62898 )
...
It appears that the intent is to return an unlisten function when `on` is called. The message bus implementations indicate that. However, the `MessageBus` abstract class returns `void` instead.
Change to `on: () => void`.
PR Close #62898
2025-07-31 09:16:15 +00:00
Joey Perrott
cbc258eec8
build: remove ts_project_interop infrastructure ( #62908 )
...
Remove the interop macros and final usages
PR Close #62908
2025-07-31 09:12:58 +00:00
Joey Perrott
008ed216d3
build: remove usages of runtime_rnjs_interop ( #62908 )
...
Remove all usages of the runtime_rnjs_interop feature
PR Close #62908
2025-07-31 09:12:58 +00:00
Joey Perrott
49b7729e88
build: remove usages of rules_nodejs ( #62885 )
...
Remove rules_nodejs usages with direct migrations to rule_js alternatives
PR Close #62885
2025-07-30 08:51:27 +00:00
hawkgs
a1318af71a
fix(devtools): truncate text in the property tab header ( #62868 )
...
Handle very long component names when the "Show Signal Graph" button is visible.
PR Close #62868
2025-07-29 12:17:07 +00:00
Jessica Janiuk
e599fdd458
Revert "test(devtools): write some e2e tests for the transfer state tab ( #62843 )" ( #62867 )
...
This reverts commit 3a1a6cc20d .
PR Close #62867
2025-07-29 09:30:30 +00:00
AleksanderBodurri
3a1a6cc20d
test(devtools): write some e2e tests for the transfer state tab ( #62843 )
...
Tests validate the current behaviour of the transfer state feature:
- Tab can be made visible by enabling in the settings menu
- Transfer state component displays keys total and size
- Validates the existence of the mock content present in https://github.com/angular/angular/tree/main/devtools/src/app/transfer-state.ts
PR Close #62843
2025-07-29 06:44:28 +02:00
hawkgs
82d585f49b
fix(devtools): transfer state settings menu item text size ( #62851 )
...
Fix the text size of the transfer state settings menu item. Also, rename "Show" to "Enable" to match the rest of the non-default tabs text.
PR Close #62851
2025-07-28 14:15:46 +02:00
Joey Perrott
c19d0aef4f
build: use ts_config rule from rules_ts only and always load from common location ( #62808 )
...
Only use the ts_config rule from rules_ts, and always load the rule from tools/defaults2.bzl
PR Close #62808
2025-07-25 10:08:13 +02:00