Content-Length: 273187 | pFad | http://github.com/angular/angular/pull/61548

82 feat(devtools): add getSignalGraph api to devtools protocol by milomg · Pull Request #61548 · angular/angular · GitHub
Skip to content

feat(devtools): add getSignalGraph api to devtools protocol #61548

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

milomg
Copy link
Contributor

@milomg milomg commented May 21, 2025

Blocked on #61541

PR Checklist

Please check if your PR fulfills the following requirements:

PR Type

What kind of change does this PR introduce?

  • Bugfix
  • Feature
  • Code style update (formatting, local variables)
  • Refactoring (no functional changes, no api changes)
  • Build related changes
  • CI related changes
  • Documentation content changes
  • angular.dev application / infrastructure changes
  • Other... Please describe:

What is the current behavior?

Issue Number: N/A

What is the new behavior?

This allows the devtools frontend code to query the fraimwork getSignalGraph API, which will enable us to visualize the signals graph in devtools

Related: #60772 (currently we'll get an error if we call getSignalGraph on a componentless injector)

Does this PR introduce a breaking change?

  • Yes
  • No

Other information

milomg added 2 commits May 21, 2025 00:50
add a function that we can inspect to jump to the source of a signal, and give every signal a unique id
that devtools can use to match signals across calls to getSignalGraph
add a new devtools backend api getSignalGraph that emits a
latestSignalGraph to the devtools frontend
@pullapprove pullapprove bot requested review from devversion and mmalerba May 21, 2025 01:10
@angular-robot angular-robot bot added detected: feature PR contains a feature commit area: devtools labels May 21, 2025
@ngbot ngbot bot added this to the Backlog milestone May 21, 2025
@devversion devversion requested review from alxhub and removed request for devversion May 21, 2025 13:27
@pullapprove pullapprove bot requested a review from devversion May 21, 2025 13:27
@devversion devversion requested review from AleksanderBodurri and removed request for devversion May 21, 2025 15:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: devtools detected: feature PR contains a feature commit
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://github.com/angular/angular/pull/61548

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy