feat(miner-extension): add a standard icon set to the manifest#5614
feat(miner-extension): add a standard icon set to the manifest#5614joaovictor91123 wants to merge 1 commit into
Conversation
The miner extension's manifest had no icons defined at all. Adds the standard MV3 sizes (16/32/48/128), generated via generate-icons.mjs by resizing the repo's own favicon-512.png brand asset through sharp (already a devDependency) rather than drawing a separate/synthetic icon, so the extension's icon always matches the main site's mark. Wires the sizes into manifest.json's top-level icons and action.default_icon, and into build-miner-extension.mjs's PACKAGE_FILES so the packaged zip actually ships them. Closes JSONbored#4862
|
Superagent didn't find any vulnerabilities or security issues in this PR. |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #5614 +/- ##
=======================================
Coverage 95.01% 95.01%
=======================================
Files 574 574
Lines 45684 45684
Branches 14661 14661
=======================================
Hits 43405 43405
Misses 1528 1528
Partials 751 751
Flags with carried forward coverage won't be shown. Click here to find out more. 🚀 New features to boost your workflow:
|
|
Caution 🟥🟥🟥🟥🟥🟥🟥🟥🟥🟥🟥🟥 🛑 LoopOver review result - reject/close recommendedReview updated: 2026-07-13 10:06:52 UTC
🛑 Suggested Action - Reject/Close Review summary Nits — 5 non-blocking
Why this is blocked
📋 Copy for AI agents — paste into your coding agent
Review context
Contributor next steps
Signal definitions
[BETA] Chat with GittensoryAsk Gittensory a question about this PR directly in a comment — grounded only in the same cached, public-safe facts shown above, never a new claim.
Full command reference: https://gittensory.aethereal.dev/docs/gittensory-commands Visual preview
Click any thumbnail to open the full-size screenshot. Before = production · After = this PR's preview deploy. 🟩 Safe / merged · 🟦 Advisory · 🟨 Held for review · 🟥 Blocked / closed 💰 Earn for open-source contributions like this. Gittensor lets GitHub contributors earn for the work they already do — register to start earning →. Checked by LoopOver, a quiet PR intelligence layer for OSS maintainers.
|
|
Gittensory is closing this pull request on the maintainer's behalf (Linked issue overlaps another open PR; duplicate of another open PR). This is an automated maintenance action — to pursue this change, please open a new pull request with the issues resolved. Closed PRs may be analyzed later to improve review accuracy, but they are not automatically reopened or re-reviewed. |

Summary
apps/gittensory-miner-extension's manifest had no icons defined at all — noicons, noaction.default_icon.icons/icon-<size>.png, generated byicons/generate-icons.mjs, which resizes the repo's ownapps/gittensory-ui/public/favicon-512.pngbrand asset throughsharp(already a root devDependency, no new dependency added) — so the extension's icon is always the same mark as the main site's favicon, not a separately drawn/synthesized asset.manifest.json's top-leveliconsandaction.default_icon.scripts/build-miner-extension.mjs'sPACKAGE_FILESlist (and creates theicons/output subdirectory) so the packaged zip actually ships them — verified locally vianpm --workspace @jsonbored/gittensory-miner-extension run build.Test plan
test/unit/miner-extension-icons.test.ts: asserts every size is wired into bothmanifest.jsonlocations; asserts eachicons/icon-<size>.pngis a real PNG at the declared size (viasharp's own metadata read, not just a byte-length check); asserts every size is present inbuild-miner-extension.mjs'sPACKAGE_FILES; asserts the generator sources fromfavicon-512.pngviasharprather than hand-drawn geometry.npm --workspace @jsonbored/gittensory-miner-extension run build— confirmed the builtdist/package/icons/contains all four files.npm --workspace @jsonbored/gittensory-miner-extension run lintpasses.npm run typecheckpasses.npm run docs:drift-checkpasses.test/unit/miner-extension-content.test.tsandtest/unit/ci-extension-packages.test.tsstill pass unchanged.Closes #4862