インタビューAIアバターをロゴアイコンに差し替え - #104
Open
yujiym wants to merge 1 commit into
Open
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
|
This pull request has been ignored for the connected project Preview Branches by Supabase. |
Collaborator
Author
Add the logo-based avatar asset and set NEXT_PUBLIC_BRAND_CHAT_AVATAR_SRC to it in .env.example, using the override mechanism introduced in #105. With the variable unset the default /icons/ai-chat.svg is shown. Claude-Session: https://claude.ai/code/session_01ErFKYKTv9AhBoj1bG61hHL
yujiym
force-pushed
the
feat/chat-avatar
branch
from
September 2, 2026 05:17
79b9d2d to
1633897
Compare
yujiym
marked this pull request as ready for review
September 2, 2026 05:18
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
概要
#105 で導入したブランドアセット差し替えの仕組みを使い、インタビューチャットのAIアバターをサービスロゴのマーク(にっこりマーク)に差し替えます。
変更内容(2ファイルのみ)
web/public/img/chat-avatar.svg— ロゴマークのアバターアセットを追加(script等を含まない静的SVG).env.example—NEXT_PUBLIC_BRAND_CHAT_AVATAR_SRC=/img/chat-avatar.svgを設定コード変更はありません。env が未設定の環境では従来どおり
/icons/ai-chat.svg(デフォルト)が表示されます。NEXT_PUBLIC_*はビルド時にインライン化されるため、本番・previewでロゴを表示するには Vercel(saga-kocho-web)の環境変数にNEXT_PUBLIC_BRAND_CHAT_AVATAR_SRC=/img/chat-avatar.svgを設定してからデプロイしてください。ローカルは.envに同じ行を追加します。実行テスト
pnpm lint✅ /pnpm typecheck✅ /pnpm build✅pnpm test✅(web 922 / admin 478 ほか全ワークスペース)