fix(web): use distinct icon for Codex session import

The Codex import button used the same circular-arrow SVG as the
session-list refresh button, making the two adjacent actions look
identical. Switch the import affordance to a download-into-tray icon
to match its 'import sessions' semantics.

Closes #1135
This commit is contained in:
weishu
2026-07-24 09:37:28 +08:00
parent 173f855b73
commit dd42263aaf
2 changed files with 8 additions and 6 deletions
@@ -19,9 +19,10 @@ function CodexImportIcon(props: { className?: string }) {
strokeLinejoin="round"
className={props.className}
>
{/* 中文注释:导入 Codex 历史依赖当前目录,放在 Browse 后面表达“选目录后导入”。 */}
<path d="M21 12a9 9 0 1 1-2.64-6.36" />
<path d="M21 3v6h-6" />
{/* 中文注释:导入 Codex 历史依赖当前目录,放在 Browse 后面表达“选目录后导入”;图标用“下载进托盘”样式,与刷新图标区分。 */}
<path d="M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4" />
<polyline points="7 10 12 15 17 10" />
<line x1="12" y1="15" x2="12" y2="3" />
</svg>
)
}
+4 -3
View File
@@ -115,9 +115,10 @@ function CodexImportIcon(props: { className?: string }) {
strokeLinejoin="round"
className={props.className}
>
{/* 中文注释:入口图标改成纯更新箭头,弱化“聊天”含义,避免用户误解成会话本身而不是导入动作。 */}
<path d="M21 12a9 9 0 1 1-2.64-6.36" />
<path d="M21 3v6h-6" />
{/* 中文注释:导入图标使用“下载进托盘”样式,与刷新按钮的循环箭头区分开,避免两个相邻按钮看起来一样。 */}
<path d="M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4" />
<polyline points="7 10 12 15 17 10" />
<line x1="12" y1="15" x2="12" y2="3" />
</svg>
)
}