Skip to content
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

Add support for dynamic locale #178

Closed
pixelzoom opened this issue Aug 30, 2022 · 4 comments
Closed

Add support for dynamic locale #178

pixelzoom opened this issue Aug 30, 2022 · 4 comments

Comments

@pixelzoom
Copy link
Contributor

pixelzoom commented Aug 30, 2022

... similar to what was done in phetsims/natural-selection#319.

@kathy-phet said:

And this isn't a current priority, so let's visit that one after you have these others converted

Note that since graphing-lines is a dependency of this sim, this will also involve touching graphing-lines.

@pixelzoom pixelzoom self-assigned this Aug 30, 2022
@pixelzoom pixelzoom changed the title Add support to dynamic locale Add support for dynamic locale Aug 30, 2022
@pixelzoom
Copy link
Contributor Author

Unassigning until this becomes a priority.

@pixelzoom pixelzoom removed their assignment Sep 13, 2022
@pixelzoom pixelzoom self-assigned this Jun 1, 2023
pixelzoom added a commit that referenced this issue Jun 6, 2023
pixelzoom added a commit to phetsims/graphing-lines that referenced this issue Jun 6, 2023
pixelzoom added a commit to phetsims/graphing-lines that referenced this issue Jun 6, 2023
pixelzoom added a commit to phetsims/graphing-lines that referenced this issue Jun 6, 2023
pixelzoom added a commit to phetsims/graphing-lines that referenced this issue Jun 6, 2023
pixelzoom added a commit that referenced this issue Jun 6, 2023
…cause it's used in 2 sims with different string Properties, #178
pixelzoom added a commit to phetsims/graphing-lines that referenced this issue Jun 6, 2023
pixelzoom added a commit to phetsims/graphing-lines that referenced this issue Jun 7, 2023
pixelzoom added a commit to phetsims/graphing-lines that referenced this issue Jun 8, 2023
@pixelzoom
Copy link
Contributor Author

pixelzoom commented Jun 8, 2023

This is done. Supporting dynamic strings is a lot of work when those strings appear in equations, and it required major layout changes in this sims.

These changes did not require additional migration rules, which I find a bit surprising.

Ready for review when this sim gets scheduled for re-publishing.

@pixelzoom
Copy link
Contributor Author

pixelzoom commented Jun 9, 2023

Getting this sim ready for dev testing is a task for June 9-29 iteration, so relabeling and assigning this issue accordingly.

@arouinfar
Copy link

@pixelzoom I reviewed Graphing Quadratics on master with stringTest=dynamic and the layout reflows really nicely. I didn't notice any issues with maxWidth or layout changes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants