-
Notifications
You must be signed in to change notification settings - Fork 5
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
credits #285
Comments
The credits are currently up-to-date, but @KatieWoe will need to finalize the QA credits when this sim is in the last round of rc testing. @DianaTavares you are currently credited as Diana López. Is this how you would like to be credited, or would you prefer Diana López Tavares? |
I prefer Diana López Tavares, thanks! |
Hmm... Diana's credits seem to be a little inconsistent across sims. In Equality Explorer, she is "Diana Berenice López Tavares". In Area Model suite and Interaction Dashboard, she is "Diana Lopez Tavares" (López incorrect). |
I suggest always use Diana López Tavares |
Thanks @DianaTavares @pixelzoom. I've updated the sim credits to always use Diana López Tavares. Assigning to @KatieWoe to finalize the QA credits when this sim is in rc testing. |
@arouinfar Other developers may disagree... But I typically avoid putting non-ASCII characters (like the 'ó' in "López") is source code files. Instead I use the Unicode escapes for non-ASCII characters (like "Diana L\u00f3pez Tavares" in EqualityExplorerConstants). Definitely get another developer opinion, but consider sticking to ASCII. |
Thanks @pixelzoom. I was unaware of such a convention. @samreid (I presume) used I have seen non-ASCII characters in sim credits before, including hookes-law-main.js, which has a If this is a convention, then I will make the dozen-or-so commits to change the |
Thanks @jonathanolson. @arouinfar can you convert credits to use ascii and escapes? UPDATE: Thanks @pixelzoom! |
I have replaced @pixelzoom @samreid @jonathanolson I would recommend adding something to the code review checklist to check for non-ASCII characters in .js files. @DianaTavares will be credited in several more sims, so we are likely to run into |
Here's a lint rule that would prevent that: // Copyright 2018, University of Colorado Boulder
/**
* Lint detector for invalid text based on regex search. Checks the entire file and does not correctly report line number.
*
* @author Sam Reid (PhET Interactive Simulations)
*/
module.exports = function( context ) {
'use strict';
var badRegexes = [
/[^\u0000-\u007F]+/
];
return {
Program: function( node ) {
var sourceCode = context.getSourceCode();
var text = sourceCode.text;
badRegexes.forEach( function( badRegex ) {
if ( badRegex.test( text ) ) {
context.report( {
node: node,
message: 'File contains bad regex: \'' + badRegex + '\''
} );
}
} );
}
};
};
module.exports.schema = [
// JSON Schema for rule options goes here
]; |
@pixelzoom I opened phetsims/chipper#732 and @arouinfar used escape codes in Wave Interference credits. Anything else you are aware of? If not, we'll leave assigned to @KatieWoe according to this comment from above:
|
Nothing else that I'm aware of. |
Kathryn Woessner, Liam Mulhal, Jacob Romero, Kelly Wurtz, Luara Rea, and Megan Lai |
Credits updated in the preceding commit. @KatieWoe can you please double check? If all is well, please close. |
Looks good |
Finalize the credits in wave-interference-main.js.
The text was updated successfully, but these errors were encountered: