2.1 KiB
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:
- Edit
manifest.json— update"name": "ShieldAI"to"Kordant", update host permissions from*.shieldai.comto*.kordant.ai - Edit
popup.html— update<title>and<span>ShieldAI</span> - Edit
options.html— update title, heading, API URL placeholder - Edit
options.ts— update device name - Edit
background/index.ts— update device name, log prefixes, storage keys, error messages - Edit
content/index.ts— update log prefixes - Edit
lib/settings.ts— update STORAGE_KEY and base URL - Edit
lib/phishing-detector.ts— update phishing domain examples from shieldai-* to kordant-* - 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/ShieldAIremains 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