mirror of
https://github.com/wu736139669/hapi.git
synced 2026-08-05 06:24:37 +00:00
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:
@@ -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
@@ -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>
|
||||
)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user