Separate Out stats.js - Too Much In There
Nobody has claimed this yet.
- Dominant language
- Kotlin
- Stars
- 129
- Forks
- 4
- PR merge metrics
- No merged PRs in 30d
Description
As more Stats are collected, the payload for stats.js can start getting pretty large. We can split each stat into their own .js file and then just pull them in as needed.
Along with this we'll need to compute some totals and keep that (like we did with the stat_totals.js).
This will make the page "snappier" and more responsive.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by locating stats.js and the existing stat_totals.js referenced in the issue, then trace how stats are loaded for the page. Done means individual stats can be pulled in as needed, totals are retained, and the page remains responsive as more Stats are collected.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- frontend, performance
- Issue type
- Refactor
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100