-
Notifications
You must be signed in to change notification settings - Fork 7
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
Uninstrument Text and RichText #339
Comments
Yes agreed. |
In the above commits, I uninstrumented Text (there are no RichText) and updated the API file. The next step will be to add migration rules. Before I do that, I'd like @arouinfar to review in Studio. Please assign back to me after review. |
All of these Text elements were apparently instrumented since the most recent (1.4) release, so they were never part of a published API. Therefore no migration rules are needed, as confirmed via the Migration wrapper. Great call on uninstrumenting these @arouinfar. Feel free to close this issue if everything looks good in Studio. |
Thanks @pixelzoom. I searched for "text" and found a few remaining instances:
Back to you @pixelzoom. |
@arouinfar Both of the "text" elements that you've identified above are in common code. I recommend that we leave this "as is" for Natural Selection. And optionally open issue(s) to uninstrument Text/RichText in common code. @arouinfar thoughts? |
|
Agreed @pixelzoom. Thanks for opening https://github.com/phetsims/phet-io/issues/1952! Closing. |
Reopening. Over in https://github.com/phetsims/phet-io/issues/1952, we decided to address the common-code elements that appear in for Natural Selection 1.5:
|
In the above commits, I uninstrumented RichText in OopsDialog. This was relatively easy because natural-selection-phet-api.json is the only API that contained this element, and it was added since the 1.4 release, so could be removed without a migration rule. |
NumberDisplay quickly turned into a big effort. So for this sim, I simply uninstrumented ... and now it looks like this: This seems OK to me for now. There's really no reason to make the @arouinfar Please review. To summarize:
|
Thanks @pixelzoom. The updates and tree structure look great. I noticed that toggling I don't remember seeing this before, but I might of missed it. Not sure if this is related to the changes made to |
Unrelated to this issue (I reverted the above changes to confirm) and |
For #323
Issues identified in https://github.com/phetsims/studio/issues/303 lead to a new way to autoselect strings in Studio. As a result, the recommendation in https://github.com/phetsims/phet-io/issues/1941 is that most instances of text do not need to be instrumented.
@pixelzoom subsequently uninstrumented text in other sims like phetsims/molecule-polarity#160 and phetsims/graphing-quadratics#187. Seems like we should do the same in Natural Selection. Do you agree @pixelzoom?
The text was updated successfully, but these errors were encountered: