Files
Kordant/tasks/rebrand-to-kordant/08-update-browser-extension-branding.md
2026-05-25 21:53:01 -04:00

2.1 KiB

08. Update Browser Extension Branding

meta: id: rebrand-to-kordant-08 feature: rebrand-to-kordant priority: P1 depends_on: [rebrand-to-kordant-01, rebrand-to-kordant-03] tags: [browser-ext, frontend]

objective:

  • Update all ShieldAI branding in the browser extension: manifest, HTML pages, storage keys, log messages, and domain references.

deliverables:

  • browser-ext/public/manifest.json — name and host permissions updated
  • browser-ext/src/popup/popup.html — title and brand text updated
  • browser-ext/src/options/options.html — title, heading, API URL placeholder updated
  • browser-ext/src/options/options.ts — device name updated
  • browser-ext/src/background/index.ts — device name, log prefixes, storage keys, error messages updated
  • browser-ext/src/content/index.ts — log prefixes updated
  • browser-ext/src/lib/settings.ts — STORAGE_KEY and API URL updated
  • browser-ext/src/lib/phishing-detector.ts — phishing domain reference data updated
  • browser-ext/tests/ — all test assertions updated

steps:

  1. Edit manifest.json — update "name": "ShieldAI" to "Kordant", update host permissions from *.shieldai.com to *.kordant.ai
  2. Edit popup.html — update <title> and <span>ShieldAI</span>
  3. Edit options.html — update title, heading, API URL placeholder
  4. Edit options.ts — update device name
  5. Edit background/index.ts — update device name, log prefixes, storage keys, error messages
  6. Edit content/index.ts — update log prefixes
  7. Edit lib/settings.ts — update STORAGE_KEY and base URL
  8. Edit lib/phishing-detector.ts — update phishing domain examples from shieldai-* to kordant-*
  9. Edit all test files — update assertions

tests:

  • Unit: Extension tests pass
  • Manual: Load unpacked extension in Chrome — verify "Kordant" displays correctly

acceptance_criteria:

  • Extension manifest name shows "Kordant"
  • All storage keys use kordant: prefix
  • No shieldai / ShieldAI remains in extension source
  • API domain uses kordant.ai

validation:

  • Run grep -rn "shieldai\|ShieldAI" browser-ext/ — expect zero
  • Load extension in Chrome, verify name in toolbar