phetsims / phetsims/rosetta

Save translation report information in a local file with a timestamp

Open
#439 1 comment 0 reactions 1 assignee View on GitHub

Nobody has claimed this yet.

priority:5-deferred
Dominant language
TypeScript
Stars
3
Forks
3
PR merge metrics
No merged PRs in 30d

Description

Our translation report page shows the percentage of strings translated for each sim. The information needed to construct this page is gathered by the server through GitHub requests and analysis of the sim HTML files. This information is cached in local memory for the process, and has to be re-compiled anytime the server is restarted. When doing a lot of debugging, this can lead to a situation where GitHub decides to throttle access, see https://github.com/phetsims/rosetta/issues/410. This affects not only the version being locally tested, but also the live version, which is bad. Not to mention that it's annoyingly slow to have to rebuild these reports after every restart.

I think I should investigate caching the information in a locally stored file instead. This would lead way fewer GitHub requests when doing a bunch of restarts and save time during debugging since the reports wouldn't need to be rebuilt after every restart.

Contributor guide

No contributing guide indexed for this repository

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.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.