Skip to content

fix(themes): cap snow pile and streak effects to prevent tab crashes - #1977

Open
makors wants to merge 2 commits into
tjcsl:devfrom
makors:fix/snow-perf
Open

makors wants to merge 2 commits into
tjcsl:devfrom
makors:fix/snow-perf

Conversation

@makors

@makors makors commented Dec 2, 2026

Copy link
Copy Markdown
Contributor

Caps snow pile @ 300 flakes. Makes it so you can no longer crash a school chromebook @ snow streak ~20+.

Proposed changes

Brief description of rationale

Piled snowflakes were left in the DOM forever, so long-lived tabs grew
without bound. Cap the pile at 300 flakes and recycle after that. Also
stop scaling flake size/speed past a streak of 20.
@makors
makors requested a review from a team as a code owner December 2, 2026 03:06
@greptile-apps

greptile-apps Bot commented Dec 2, 2026 •

Copy link
Copy Markdown

Confidence Score: 5/5RetriggerView in Greptile

[Low impact] The PR appears safe to merge; no new actionable issues were found.

Reviews (2) · Last reviewed commit: "fix(themes): avoid new Codacy issues in ..." · Reviewed by Greptile

Melt the pile once it passes the cap instead of re-indenting the
existing pile code, and pass a radix to parseInt.
@coveralls

coveralls commented Dec 2, 2026 •

Copy link
Copy Markdown

Coverage Status

coverage: 79.854% (+0.05%) from 79.803% — makors:fix/snow-perf into tjcsl:dev

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants