-
Notifications
You must be signed in to change notification settings - Fork 2
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
initializeAsSkelleton #9
Comments
Alternatively, maybe an |
Wait.. sorry - the default is false. I haven't been able to get alerts in #6 yet and I thought this was the reason but it is not. Reassigning to myself. |
You bring up a good point though. I think that this is still a good issue. I also don't like this option. Perhaps at the very least we can turn that into an options object so that the skeleton function isn't so "front and center." Here is an alternative. What if we create it always, but then in display just |
The reason it wasn't working is that I forgot to step axon.timer.
That sounds really nice. |
I noticed two things when I tried to do this
|
After looking at it with semi fresh eyes, I can't see an obvious way to improve it, and it doesn't feel terribly confusing to me currently.
I don't understand this sorry. I don't see any enabled/disable/initialize in Display. So far there has not been a need to enabled/disable the Display beyond when constructing it (options.interactive), so I don't see a reason why we would want to add anything, even for utteranceQueue. |
OK sounds good - I mostly wanted to see if it was an issue for PhET-iO.
I no longer understand this either. Im going to go ahead and close this issue since after review we are OK with the original point of the ticket, 'initializeAsSkelleton'. |
Noticed while reviewing #6 - There is an optional arg to UtteranceQueue called
implementAsSkeleton
, which creates the UtteranceQueue but with all alerts disabled. Currently default for this istrue
. Since this repo might stand on its own, I am wondering if the default should befalse
?Then a client can just do
const utteranceQueue = new phet.utteranceQueue.UtteranceQueue();
@zepumph @twant what do you think?
The text was updated successfully, but these errors were encountered: