Cannot see state/properties
Augury version (required): 1.2.12 Angular version (required): 2.4.9 Date: 2017-03-03 OS: Ubuntu 14.04
Description of issue: I cannot see the State section for a component, I can see the properties on load, but then they disappear.
@cdarken Can you describe a particular component configuration where this occurs? Or point me towards a public repo where it happens?
I will try to create a simple project and see if the problem manifests itself in that project too. I will be back with details, I hope tomorrow.
Augury version: 1.2.12 Windows 7
I am facing same issue: not able to see the state/properties for my components. But I am able to see the material UI component's state. All my components are inside material UI components.
Sample below...
mycustom-side-nav have an array property of routes called mainNav.
But that is not showing up under states.
<md-sidenav-container>
<md-sidenav #sidenav mode="side" opened="true">
<md-nav-list>
<mycustom-side-nav></mycustom-side-nav>
</md-nav-list>
</md-sidenav>
<main class="main-content">
<router-outlet></router-outlet>
</main>
</md-sidenav-container>
@Component({
selector: 'mycustom-side-nav',
templateUrl: 'side-nav.component.html',
styleUrls: ['./side-nav.component.css']
})
export class MyCustomSideNavComponent implements OnInit {
public mainNav: Routes = [];
constructor(private _router: Router) {
}
public ngOnInit() {
// initializations happens here
}
}
Yes, I noticed that the properties for some elements from @angular/material that I'm using are visible, but those for my own components are not. Are there certain conditions needed? I tried to set some of them public, but still no luck. The thing is that they flash momentarily then they disappear.
+1 I cannot see it in the properties/state panel but I am able to see the object in the chrome console, see below the groups property:

In the regular console, same groups property that was printed using console.log():

@sballarati This looks like a separate issue. Do you mind opening a new issue with these details?
@jacobjojan Can you provide a more concrete form of that example? I don't think I can replicate just from this code.
@stevenkampen I created a new issue for that: https://github.com/rangle/augury/issues/1029
Thanks and have a great weekend!
@cdarken @jacobjojan I'm pretty sure this is fixed now in 1.5.0 (just released). If you could test it and let me know that would be great.
@stevenkampen Thanks, it's working now. I see all my component's properties. There is a strange issue though. In my app I have embedded google maps and I have a property that sets the zoom. If I change that value from Augury to any other value than the one set in my app, it detects the change. If I set it back to exactly the first value it doesn't detect the change. The same with any other property like labels or array values.
@cdarken Ahh yes that issue still exists I see. For a while I thought it was gone but apparently not. I'll log it now.
Edit: Logged here - #1050
Will test and let you know.
Sent from my iPhone
On Mar 29, 2017, at 1:05 PM, Steven Kampen [email protected] wrote:
@jacobjojan I'm pretty sure this is fixed now in 1.5.0 (just released). If you could test it and let me know that would be great.
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub, or mute the thread.