Repository navigation
fix(ui): Trinity favicon + browser-tab title (abilityai/trinity#1416) - #1417
Conversation
…efaults index.html still shipped the Vite scaffold's `/vite.svg` favicon (missing from public/, so browsers showed a generic globe) and a stale "Claude Agent Manager" title. Point the favicon at the existing Trinity SVG with a PNG fallback, add an apple-touch-icon for home-screen/bookmark saves, and set a Trinity product title. Assets already live in public/icons/ and copy to dist/ root on build (prod-safe, no CSP change). Verified via `vite build`: dist/index.html references all three /icons/ paths, all present in dist/, zero vite.svg remaining. Fixes #1416 Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]>
Review — Trinity favicon + tab title (automated review, Claude)LGTM. Correct and minimal. Verified all three referenced assets already exist in One orientation note (not a change request): this static Ship it. |
Summary
/vite.svg— missing frompublic/, so browsers rendered a generic globe) with the existing Trinity SVG icon, plus a PNGalternate iconfallback for browsers without SVG-favicon support.apple-touch-icon(/icons/apple-touch-icon-mobile.png) so the icon is correct when saved to a home screen / bookmarked.<title>fromClaude Agent Manager→Trinity — Agent Orchestration.Changes
src/frontend/index.html— favicon<link>s +<title>only (2 lines → 4). No new assets: all icons already live insrc/frontend/public/icons/and are consumed bypublic/mobile-manifest.json.Test Plan
vite buildsucceeds;dist/index.htmlreferences/icons/trinity-mobile.svg,/icons/trinity-mobile-192.png,/icons/apple-touch-icon-mobile.png.dist/icons/(what prod nginx serves fromdist/) — nodist/vite.svg, zerovite.svgreferences remain.public/→dist/root; no CSP change needed.Fixes #1416
🤖 Generated with Claude Code