phetsims / forces-and-motion-basics

"Forces and Motion: Basics" is an educational simulation in HTML5, by PhET Interactive Simulations.
http://phet.colorado.edu/en/simulation/forces-and-motion-basics
GNU General Public License v3.0
7 stars 10 forks source link

User suggestion: "newtons" #291

Closed oliver-phet closed 2 years ago

oliver-phet commented 2 years ago

I noticed that "Forces and Motion: Basics" spells the unit of force as "Newtons". The correct spelling is the lowercase "newtons". This is explained in section 5.3 of the SI brochure published by BIPM and available here: https://www.bipm.org/en/publications/si-brochure

If you could update this sim (and any other affected sims) to use the correct capitalization I would appreciate it.

arouinfar commented 2 years ago

The user is correct, the SI unit for force is lowercase "newton". The only place "Newton" appears in the sim is in the Applied Force NumberControl. Elsewhere, it is just the abbreviated "N". Screen Shot 2022-05-16 at 4 02 13 PM (2)

I do not think this is something that needs to be fixed in a maintenance release, but we can address it the next time this sim gets republished.

jessegreenberg commented 2 years ago

As maintenance releases go, this one is potentially very fast since it is just a string update. I don't see "Newtons" in any other strings file in the project (though there is one case in phet-io API documentation that should likely be changed).

Over slack @arouinfar said it was OK to proceed with one.

jessegreenberg commented 2 years ago

Change made above and to the release branch, but I am not sure if there are impacts from deploying phet-io brand to production...Once I hear it is OK from the PhET-iO team Ill go ahead with the deploy command.

jessegreenberg commented 2 years ago

I assumed this would be easy but the build tools are giving me trouble:

1) I could not use chipper 2.0 build process because the version of chipper for FAMB was so old, so I had to use https://github.com/phetsims/phet-info/blob/master/deployment-info/chipper-1.0.md instead. 2) I tried to patch the 2.3-phetio branch as well but could not build the phet-io version because phet-io-wrapper-sonification repo does not exist. I think that means the 2.3-phetio branch is no longer being maintained. 3) Attempting to deploy 2.3.19 to production and I got

Fatal error: Directory spot.colorado.edu:/htdocs/physics/phet/dev/html/forces-and-motion-basics/2.3.19 already exists. If you intend to replace the content then remove the directory manually from spot.colorado.edu.

2.3.19 does not exist, but 2.3.19-rc.1 does. I reported the problem on slack, will have to come back to this after I learn more.

arouinfar commented 2 years ago

Sounds like a headache @jessegreenberg. Based on this experience, would you recommend avoiding publishing maintenance releases for similarly old sims in the future?

jessegreenberg commented 2 years ago

I would not have recommended it if I had known 😆

But I think this identified a problem with our maintenance tooling and that seems important to get to the bottom of. If this can be fixed, single sim maintenance releases like this should still take little to no time in the future.

arouinfar commented 2 years ago

Good to know! Hopefully, the unexpected work will make things smoother in the future.

jessegreenberg commented 2 years ago

OK https://github.com/phetsims/chipper/issues/1248 is the resultant issue. But I redeployed this sim and the units change can be seen on the website.

@oliver-phet can you please let the user know?

oliver-phet commented 2 years ago

Email to user sent.