-
Notifications
You must be signed in to change notification settings - Fork 17
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
Add ability to get status #82
Comments
Hey @amcdnl thanks for the feedback! We've been discussing adding some kind of lifecycle event concept to the recording process. would something like
Work for you? |
The event hook is nice. I would make it a bit more generic like:
and use something like: https://www.npmjs.com/package/event-emitter under the hood. Though I would NOT prefer that in this case since hook is used on every API request thus the handlers would be annoying - here i would prefer a simple flag. |
With or would you poll status until |
I would be skipping - sometimes it would never be ready if they block FS or things need to happen way before the app is init'd |
This is kind of tied to this issue too: #76 |
Hey @amcdnl There is a way to get the check you want, but it isn't explicit in the API. If FullStory isn't ready, then Can you use this logic as a proxy for |
Last time I tried this it threw an error. |
In the non-npm FullStory library (i.e. the snippet tag), When you got the error, were you using the |
@patrick-fs I tried the way you described.
And got the following error.
|
I hadn't looked through the full backlog of issues here, but I just filed #138 which should cover this use case.
Thanks for the feedback! We actually have in-progress work on a redesigned API to the capture script, and one piece of that work is similar to what you've described. In the near future I'm going to add contribution guidelines to this repository to help clarify what types of changes we can make here. Changes to the FullStory web capture API itself are not in scope, but we can communicate them to the team responsible. You can also raise issues like this with FullStory's Customer Support team, which is helpful because customer feedback informs our engineering teams' prioritization. |
It would be ideal if a user could determine the status of the FS system. For example, I want to attach the fullstory url to my headers but I have no idea if FS is init'ed before I can do so.
As a result I have to wrap it in a try catch. A simple flag like:
Would be awesome. I would make a string rather than boolean so you could add things like not consented/etc.
The text was updated successfully, but these errors were encountered: