Repository navigation
Task 020: Extract shared favicon badge helper - #17
Merged
Merged
Conversation
4 tasks
Collaborator
Author
/ponytail-reviewLean already. Ship.
|
Igloczek
force-pushed
the
task/020-shared-favicon-helper
branch
from
June 30, 2026 12:03
5ae1f88 to
12e67f1
Compare
Consolidate duplicate Favico initialization from the socket mixin and StatusPage into src/util/favicon-badge.ts with shared init/update helpers. Keeps animation: "none" and existing badge count behavior.
Igloczek
force-pushed
the
task/020-shared-favicon-helper
branch
from
June 30, 2026 12:23
12e67f1 to
52bc0b3
Compare
Igloczek
added a commit
that referenced
this pull request
Aug 8, 2026
Task 020: Extract shared favicon badge helper
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Implements tasks/020-shared-favicon-helper.md from the ponytail audit backlog.
Goal
One
favico.jswrapper used by the socket mixin and StatusPage instead of duplicate init code.Scope
src/util/favicon-badge.ts(or similar) exporting init/update helpers.src/mixins/socket.tsandsrc/pages/StatusPage.vueto use it.animation: "none"and existing badge count behavior.Acceptance criteria
new Favico({ animation: "none" })blocks in mixin and StatusPage.bun run lintpasses.bun run build:frontendsucceeds.Depends on
Nothing.
Verification
bun run lint bun run build:frontend rg "new Favico" srcAudit reference
Finding #27 — duplicate favicon logic.