angular/devtools/projects/ng-devtools/src/lib
Doug Parker d639a8d1f9 refactor(devtools): display directive metadata from Wiz and ACX (#60475)
This updates the DevTools protocol to send Wiz/ACX metadata in addition to Angular metadata. Fortunately we don't need to worry about backwards compatibility here (`framework` is required for example), but the design roughly mirrors `DirectiveDebugMetadata` in `@angular/core`.

Beyond that, this is mostly plumbing through an extra data slice in the form of `props` provided by Wiz. An earlier version implemented `events` as their own slice as well, but was removed as there is currently no generic way to disambiguate events from any other form of callback passed in as a prop. Instead, event callbacks are visualized as functions under the "Props" category.

Working with `DirectiveMetadata` as a union is unfortunately a bit annoying since it requires casting to more specific `{Angular,Acx,Wiz}DirectiveMetadata` types for TS to allow property access, even when the properties are optional anyways.

This commit is mostly for adding Wiz, but does add a bit of ACX functionality which is not fully tested.

PR Close #60475
2025-03-27 20:26:12 +00:00
..
application-environment refactor: update license text to point to angular.dev (#57901) 2024-09-24 15:33:00 +02:00
application-operations refactor: update license text to point to angular.dev (#57901) 2024-09-24 15:33:00 +02:00
application-providers refactor(devtools): styles management (#59589) 2025-02-12 10:47:02 -08:00
application-services refactor(devtools): extract and organize colors into themes (#60374) 2025-03-27 18:10:28 +00:00
devtools-tabs refactor(devtools): display directive metadata from Wiz and ACX (#60475) 2025-03-27 20:26:12 +00:00
vendor refactor(devtools): extract and organize colors into themes (#60374) 2025-03-27 18:10:28 +00:00
BUILD.bazel refactor(devtools): extract and organize colors into themes (#60374) 2025-03-27 18:10:28 +00:00
devtools.component.html refactor(devtools): use reactive APIs for queries and linkedSignal (#58464) 2024-11-11 19:01:18 +00:00
devtools.component.scss refactor(devtools): extract and organize colors into themes (#60374) 2025-03-27 18:10:28 +00:00
devtools.component.ts refactor(devtools): styles management (#59589) 2025-02-12 10:47:02 -08:00
devtools_spec.ts refactor(devtools): styles management (#59589) 2025-02-12 10:47:02 -08:00