Support ng-strict, call start after the config phase, allow for user dat...#6
Support ng-strict, call start after the config phase, allow for user dat...#6Varada wants to merge 1 commit intojohnhidey:masterfrom
Conversation
…data to be changed
|
Let me review this and provide some feedback. Just a quick glance and I'm wondering if getCookie and setCookie belong here in their current context. I say this cause they both access the |
|
I considered using ngCookies. I decided against it since I expect it to be temporary as the appinsights team will be fixing this bug. -----Original Message----- Let me review this and provide some feedback. Just a quick glance and I'm wondering if getCookie and setCookie belong here in their current context. I say this cause they both access the document object but I am in no way a angular expert. Thoughts? |
|
Did you get a chance to think more about this? |
|
I haven't had a chance, work lately has been getting in the way. I'll try to make an effort this weekend to really look things over and get back to you. Sorry for the delay. |
|
@Varada so I have been looking this over this weekend. Two things are bothering me and they are directly related. Changing the user context within a SPA application. I can't figure why this would ever been done within a single page app. Can you give me an example of why this would be done? The second issue that was bothering me was the cookie which would go away if we didn't need to support changing user context within the app. |
|
Consider the scenario where the user is unauthenticated. There is a default So, in the SPA context the service returns a userId as response to a login Does this make sense? On Sat, Feb 21, 2015 at 6:30 AM, John Hidey notifications@github.com
|
|
So I think maybe you're missing something here. App Insights tracks the behavior of the application, not the behavior of the application user. The user in app insights is just your account for gathering the data and associating it with your site. Does this make sense ? |
|
@Varada BTW, the restructuring of the code that you have done, I like. I think I'm pull down your pull request tweak it a bit and merge in sometime here soon after hearing back from you. |
|
Each appinsights payload is associated with the user. The unique user for On Sat, Feb 21, 2015 at 8:59 PM, John Hidey notifications@github.com
|
|
Any ETA on when this will be merged? |
Few different changes - I wish I had created smaller pull requests, sorry!