-
Notifications
You must be signed in to change notification settings - Fork 14
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
Code review for Locale updates (MR and main) #1441
Comments
We have a calendar entry to look at this today with me @jonathanolson and @zepumph, self-unassigning until then. |
We had another conversation. This time it centered around having better processes for realizing code reviews in MRs when needed. Here are some steps we'd like to take moving forward: Improvements to Maintenance releases (big goal to make it easier to get an MR reviewed!)
We also co-reviewed the changes on main on Friday. From here. @jonathanolson has a large list of automated tests the we came up with from our last two meetings. He will work on those to increase our confidence. I will look through and spot check a couple of older change sets and report back |
Signed-off-by: Michael Kauzmann <[email protected]>
I looked through hookes law 1.0, masses and springs 1.0, and main. I commented in some commits in individual branches, I made review comments inline in main, and I have a few items here: Review: On main:
GENERAL thoughts:
|
|
Yes, might as well toss that in, I think it will be cheap.
Not redundant, I can't commit that to main until the MR is complete. |
If we have no |
Signed-off-by: Michael Kauzmann <[email protected]>
That is a helpful explanation. I confirmed the behavior with console logs locally, but can you explain why this is desirable? Is this complexity exclusively because we can't (or don't want to) hold up execution of initialize-globals before we have loaded unbuilt strings? I don't think that is appropriate. Happy to discuss more. |
Yes, it is basically waiting for the unbuilt strings to load. If we delay most of the initialize-globals logic until AFTER strings have loaded, it would work to simplify the locale handling and DIRECTLY compute the final locale. Presumably just how sim dev HTMLs have a global We'd need to analyze what other preloads rely on initialize-globals running. If NONE rely on it, we could rewrite initialize-globals to create the Thoughts? |
I don't think so. We just try to use the data when available. |
Not ideal, we might be able to get rid of localeOrderProperty soon, it doesn't have much use. |
Over in https://github.com/phetsims/phet-io/issues/1881#issuecomment-2155615116 @samreid and I found a couple more oddities in main to check in about:
|
|
Signed-off-by: Michael Kauzmann <[email protected]>
Signed-off-by: Michael Kauzmann <[email protected]>
Handled all of the above items! Closing. |
@samreid perhaps sometime it would be good to discuss how to review work done (with the goal of finding potential bugs without wasting your time).
Here is a fairly representative sampling of "major places where at least one different commit was made, likely contains something with large differences". It isn't comprehensive (a2dc4c1, phetsims/number-suite-common@0c92ece, 64846d9, 848e596 are examples - note the last one, as I fixed a BAD earlier "fix things for lint" commit).
UPDATE FROM MK: linking phetsims/joist#963 and phetsims/qa#1089
2024-05-02 balancing-act-1.3
2023-12-04 energy-skate-park-1.3
2023-04-13 number-compare-1.0
2022-12-24 ph-scale-1.6
2022-05-26 function-builder-basics-1.2
2021-07-22 john-travoltage-1.6
2020-01-28 gravity-force-lab-2.2
2019-10-23 vector-addition-equations-1.0
2019-06-05 fraction-matcher-1.2
2019-02-01 masses-and-springs-basics-1.0
2018-07-13 equality-explorer-two-variables-1.0
2018-01-24 capacitor-lab-basics-1.6
2017-11-14 gene-expression-essentials-1.0
2017-08-28 pendulum-lab-1.0
2017-01-25 make-a-ten-1.0
2016-11-22 concentration-1.5-phetio
2016-09-14 neuron-1.1
2016-04-14 energy-skate-park-basics-1.1
2015-10-01 hookes-law-1.0
Perhaps we could find a way to get my local commits up on the server somehow, since the below list is the finite list of cherry-picked things (SHAs are detached HEADs on my local working copies):
The text was updated successfully, but these errors were encountered: