phetsims / joist

Joist is the main framework for PhET Interactive Simulations. Joist creates and displays the simulation content, home screen, navigation bar, About dialog, enables switching between tabs, and other framework-related features.
http://scenerystack.org/
MIT License
9 stars 6 forks source link

Copyright in About dialog is inaccurate. #962

Open pixelzoom opened 7 months ago

pixelzoom commented 7 months ago

The Copyright in the About dialog seems to have a problem. For example, see the screenshot below from the published version of Make A Ten. The version was published on 2024-04-03, but the copyright says 2004-2016.

screenshot_3208

Relevant code is probably in AboutDialog.ts:

// Show the brand copyright statement, if it exists
if ( Brand.copyright ) {
  const year = phet.chipper.buildTimestamp ? // defined for built versions
               phet.chipper.buildTimestamp.split( '-' )[ 0 ] : // e.g. "2017-04-20 19:04:59 UTC" -> "2017"
               new Date().getFullYear(); // in unbuilt mode
zepumph commented 7 months ago

I believe this is a bug for all sims that do not have this commit in it (circa 4/2017).

https://github.com/phetsims/joist/commit/713d722b16ef673d05a788904ee3e723c9490751 https://github.com/phetsims/brand/commit/f4b72cac70c41f724ab29eb7510d8bf9a8192901

Let's ask @kathy-phet if she wants an MR for this, but perhaps we should first get the list of published sims without this commit.

zepumph commented 7 months ago

I ran these two lines in the maintenance REPL to discover what really old release branches we have without that 2017 commit. Here is that list.

  m.createPatch( 'joist', 'temp test for fun and glory' );
  m.addNeededPatchesBefore( 'joist', '713d722b16ef673d05a788904ee3e723c9490751' );

So to be clear, the above sim releases have a copyright date that is pinned to the year in which it was originally published. Taking a random one from above, and loading it on the website shows the same thing as the original issue comment here. Though the most recent MR was a week ago, the copyright date says 2016.

image

Over to @kathy-phet and planning people to see what the priority of the fix is. I believe at a previous dev meeting we decided that this discussion can take place via the Monday MR board, so I'll add that label as the next step.

zepumph commented 7 months ago

This was discussed during Dev meeting today. It was not deemed a desirable improvement from the developer perspective, and so we deferred it and removed it from the dev priorities project board.