Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

sim fails stringTest

Open
#10 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
45/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Stale
Tech stack
javascript

Research direction

Run the sim with stringTest=double, stringTest=long, and stringTest=X to reproduce the checklist failures shown in the screenshots. Inspect AmpPhaseAccordionBox around line 166 and the affected layout components to identify strings and layout behavior that need attention. Done means the sim handles the listed string lengths and the omega symbol's translation status is resolved.

Written by the indexing model from the issue text.

Description

dev:code-review

Related to #2 (code review).

The sim currently fails these stringTest checklist items in the code review:

  • Does the sim layout gracefully handle internationalized strings that are twice as long as the English strings? (run with query parameter stringTest=double)

  • Does the sim layout gracefully handle internationalized strings that are exceptionally long? (run with query parameter stringTest=long)

E.g. with ?stringTest=long:

screenshot_106

This checklist item is also questionable:

  • Are there any strings that are not internationalized, and does the sim layout gracefully handle internationalized strings that are shorter than the English strings? (run with query parameter stringTest=X. You should see nothing but 'X' strings.)

The omega symbol ω is not translatable (see AmpPhaseAccordionBox line 166). Should it be? E.g. with ?stringTest=X:

screenshot_107
Dominant language
JavaScript
Stars
0
Forks
2
PR merge metrics
No merged PRs in 30d

Getting set up

This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from phetsims/normal-modes

All issues in phetsims/normal-modes

Similar issues

More JavaScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.