Coder Social home page Coder Social logo

anton-lunev / angular-state-inspector Goto Github PK

View Code? Open in Web Editor NEW
98.0 4.0 4.0 3.97 MB

A Chrome extension that lets you inspect the state of components.

Home Page: https://chrome.google.com/webstore/detail/angular-state-inspector/nelkodgfpddgpdbcjinaaalphkfffbem

License: MIT License

HTML 0.80% JavaScript 99.20%
angular chrome-extension angularjs debug devtools firefox-addon ivy chrome

angular-state-inspector's Introduction

angular-state-inspector's People

Contributors

anton-lunev avatar behroozbc avatar dependabot[bot] avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

angular-state-inspector's Issues

Chrome Canary

this extension incorrect work in Chrome Canary, but in basic Chrome, it works correctly

Causes "Uncaught TypeError: ng.probe is not a function"

Uncaught TypeError: ng.probe is not a function
    isDebugMode ng-validate.js:1
    l ng-validate.js:1
    e ng-validate.js:1
    invoke zone.js:400
    runGuarded zone.js:171
    wrap zone.js:154
    className zone.js:940
    n ng-validate.js:1
    306 ng-validate.js:1
    r ng-validate.js:1
    305 ng-validate.js:1
    r ng-validate.js:1
    <anonymous> ng-validate.js:1
    <anonymous> ng-validate.js:1

...which you clearly use.

Should be easily fixable: https://stackoverflow.com/questions/56373044/error-in-console-ng-probe-is-not-a-function
In Ivy you can use getComponent instead.

Versions

add-on v1.5.0
An Angular v13.3.2 app
Firefox 101.0.1
Windows 10

Angular State Inspector no longer works in Microsoft Edge (Chome) v92

Hi,

Firstly, thanks so much for your awesome extension.

Your extension no longer seems to work in Microsoft Edge and displays blank -

image

The same page in Chrome -

image

In previous versions of Edge or your extension we were able view the state of a component using your extenson.

Regards,
Tarek

Hybrid application: broken angular 2+ context

Hello! Very nice and usefull extension!
Last version 1.3 stop working as before for hybrid AngularJs|Angular2+ application with downgrade module.
As seen on screenshot check for window.angular go first - and in my hybrid application there is always window.angular... But before the first check was if (ng && ng.probe($0)). May be just change to - 1) angular 2+ ; 2) angular Ivy ; 3) angularJs ?
2019-06-25_11-05-12

plugin recently stopped activating in console

Great plugin - I use it all the time. It recently stopped working - not showing up in the console or showing an activated icon when I develop locally

Angular State Inspector v 1.4.5
Google Chrome 88.0.4324.192

Is there a way to force it into action on a given page? Thanks!

Hybrid application: no data for AngularJS 1

And again... ) Now it's not working when you try to look at angularJS data. For now I just take previous version of extension. May be later I will try create PR. Or I will become happy man without hybrid angular))

State tab blank in Chrome

Hi, similar to #16, I'm experiencing this issue as well.

on Chrome Version 92.0.4515.107 (Official Build) (x86_64)

However the state still accessible via $state in console.

support firefox

Hi,

is it hard to support firefox as well? I would like a lighter alternative to Augury.

Cannot redefine property: __debugInfo

Appears error

{
  message: "Cannot redefine property: __debugInfo",
  stack: "TypeError: Cannot redefine property: __debugInfo↵    at Function.defineProperty (<anonymous>)↵    at getPanelContents (<anonymous>:12:14)↵    at <anonymous>:18:3",
}

on some components.

Error: Cannot redefine property: $ctrl

Like #7, I receive the above error. Whatever component has focus when the page (re)loads will correctly display the information. Clicking any other element in inspector breaks it. The $state console shortcut appears to work fine. $ctrl returns null.

Some info: this is a large web app running Angular and React instances. Let me know if there's any other info I could quickly get you that would help. I'm not very familiar with Angular so I'm not sure where or what would help.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.