Skip to content
This repository was archived by the owner on Feb 6, 2026. It is now read-only.

fix(web) - newhotness emitters cleanup#8318

Merged
wendybujalski merged 1 commit intomainfrom
wendy/fix-window-size-listeners
Jan 21, 2026
Merged

fix(web) - newhotness emitters cleanup#8318
wendybujalski merged 1 commit intomainfrom
wendy/fix-window-size-listeners

Conversation

@wendybujalski
Copy link
Contributor

@wendybujalski wendybujalski commented Jan 21, 2026

How does this PR change the system?

This PR cleans up all previous usage of addEventListener in newhotness that should be replaced with the more efficient pattern using the emitters.ts logic composable.

Going forward, we want to avoid adding any usage of addEventListener to individual Vue components, instead using the existing tools in emitters.ts or adding a new emitter to that file when necessary.

Out of Scope:

Cases of addEventListener outside of newhotness are not changed. We may eventually want to move the emitters.ts logic composable to be part of the vue-lib

How was it tested?

Manual testing confirms that all cases function the same after these changes.

Does it require a docs change?

No

In short: 🔗

@github-actions
Copy link

Dependency Review

✅ No vulnerabilities or OpenSSF Scorecard issues found.

Scanned Files

None

@wendybujalski wendybujalski requested a review from jkeiser January 21, 2026 15:33
@wendybujalski wendybujalski marked this pull request as ready for review January 21, 2026 15:59
@wendybujalski wendybujalski added this pull request to the merge queue Jan 21, 2026
Merged via the queue into main with commit cb7ca9b Jan 21, 2026
11 checks passed
@wendybujalski wendybujalski deleted the wendy/fix-window-size-listeners branch January 21, 2026 16:30
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants