Skip to content

feat(extension): implement Manifest V3 browser extension with in-page GitHub profile studio and telemetry - #10

Merged
Interittus13 merged 2 commits into
mainfrom
feat/browser-extension-core
Oct 19, 2026
Merged

Interittus13 merged 2 commits into
mainfrom
feat/browser-extension-core

Conversation

@Interittus13

Copy link
Copy Markdown
Owner

📋 Summary

Upgrades the ContraGit browser extension to Manifest V3 with a standalone, zero-backend Git Data API engine, a compact dark-glass popup studio, and in-page GitHub profile integration featuring live contribution gap detection and streak telemetry.

🔍 Type of Change

  • feat: A new feature (non-breaking change adding functionality)
  • refactor: Code overhaul without behavioral or interface changes
  • style: Formatting, CSS polish, or visual alignment without logic changes
  • fix: A bug fix
  • chore: Maintenance, dependencies, or configuration changes

🛠️ Key Changes & Technical Design Decisions

  • Manifest V3 Core & Extension Icons (manifest.json, icons/):

    • Upgraded to MV3 with background service worker (background.js) and storage / tabs permissions.
    • Added dedicated extension icons (16px, 32px, 48px, 128px) generated from brand assets.
  • Standalone Serverless Popup Studio (index.html, styles.css, script.js):

    • Re-architected with modular OOP domain classes: GitHubExtensionClient, StorageService, LanguageMasqueradeHelper, and ExtensionApp.
    • Supports 100% serverless commit authoring via GitHub Personal Access Token (PAT) or optional local/cloud Web Studio bridge.
    • Features date span presets, weekday commit steppers, Linguist Masquerade code generation, and inline progress with Pause / Resume / Stop & Keep controls.
  • In-Page GitHub Profile Integration (content.js, content.css):

    • Injects a native-styled [ ⚡ ContraGit Studio ] button directly beside GitHub's "Contribution settings" on profile pages.
    • Automatically scans live .ContributionCalendar-day cells to compute active days, current streak, and trailing 30-day gaps.
    • Displays a glassmorphic flyout dock with 1-click deep linking into the full 52-week Visual Studio.
    • Resilient to GitHub client-side SPA navigation via turbo:load, pjax:end, and debounced MutationObserver.

🧪 Testing Performed

  • Unit Tests: npm test passed (vitest) — 28 / 28 tests passing
  • TypeScript Check: npm run typecheck passed (0 errors)
  • Production Build: npm run build completed successfully (19/19 routes compiled)
  • Full Pre-Flight: npm run check completed cleanly
  • Browser Verified: Unpacked extension and in-page injection verified in Brave / Chromium.

✅ Contributor Checklist

  • My code strictly adheres to the project's coding standards and OOPS/DRY principles.
  • I have performed a comprehensive self-review of my own changes.
  • I have kept comments focused, explanatory, and maintained documentation integrity.
  • My code does not introduce any new lint, TypeScript, or console warnings.
  • I have verified that no secrets, credentials, or sensitive tokens are committed.

@vercel

vercel Bot commented Oct 19, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
contragit Ready Ready Preview Oct 19, 2026 10:58am UTC

@Interittus13
Interittus13 merged commit 4b2240b into main Oct 19, 2026
6 checks passed

This branch was successfully deployed

1 active deployment
Preview — 00aa0b13 Deployed Oct 19, 2026 by vercel[bot]
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.

1 participant