mirror of
https://git.openapi.site/https://github.com/desirecore/market.git
synced 2026-07-23 03:43:43 +08:00
fix: 修复配置算力技能图标 (#48)
## 修改内容 - 将“配置算力”技能的芯片图标调整为对称的 9/15 引脚布局 - 为图标边缘保留安全距离,避免缩放时出现贴边或裁切 - 将技能版本更新至 1.0.2,并补充变更记录 ## 根因 原图标左右引脚使用了不对称的坐标,并延伸至 viewBox 的 1/23 边缘;在市场卡片缩放渲染时容易产生视觉偏移或裁切。 ## 验证 - `python scripts/i18n/validate-i18n.py` - YAML frontmatter 与内联 SVG XML 解析 - `git diff --check`
This commit is contained in:
@@ -1,5 +1,13 @@
|
|||||||
# Changelog
|
# Changelog
|
||||||
|
|
||||||
|
## [1.0.2] - 2026-07-11
|
||||||
|
|
||||||
|
- 修复“配置算力”市场图标引脚不对称且贴近 viewBox 边缘导致的显示异常
|
||||||
|
|
||||||
|
## [1.0.1] - 2026-07-07
|
||||||
|
|
||||||
|
- 补充英文本地化 `source_hash`,支持市场 i18n 一致性校验
|
||||||
|
|
||||||
## [1.0.0] - 2026-07-07
|
## [1.0.0] - 2026-07-07
|
||||||
|
|
||||||
- 首个版本:通过 Agent Service HTTP API 配置算力供应商与 API Key
|
- 首个版本:通过 Agent Service HTTP API 配置算力供应商与 API Key
|
||||||
|
|||||||
@@ -6,7 +6,7 @@ description: >-
|
|||||||
(write-only), verify them, and reload the configuration. Use when the user
|
(write-only), verify them, and reload the configuration. Use when the user
|
||||||
asks to add or configure a model provider, set an API key, or fix compute
|
asks to add or configure a model provider, set an API key, or fix compute
|
||||||
configuration. 用户要求配置算力、添加模型供应商或设置 API Key 时使用。
|
configuration. 用户要求配置算力、添加模型供应商或设置 API Key 时使用。
|
||||||
version: 1.0.1
|
version: 1.0.2
|
||||||
type: meta
|
type: meta
|
||||||
risk_level: medium
|
risk_level: medium
|
||||||
status: enabled
|
status: enabled
|
||||||
@@ -18,7 +18,7 @@ tags:
|
|||||||
- meta
|
- meta
|
||||||
metadata:
|
metadata:
|
||||||
author: desirecore
|
author: desirecore
|
||||||
updated_at: '2026-07-07'
|
updated_at: '2026-07-11'
|
||||||
i18n:
|
i18n:
|
||||||
default_locale: en-US
|
default_locale: en-US
|
||||||
source_locale: zh-CN
|
source_locale: zh-CN
|
||||||
@@ -47,7 +47,7 @@ metadata:
|
|||||||
source_hash: sha256:15e9247a2c27edf7
|
source_hash: sha256:15e9247a2c27edf7
|
||||||
market:
|
market:
|
||||||
icon: >-
|
icon: >-
|
||||||
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="#007AFF" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"><rect x="4" y="4" width="16" height="16" rx="2"/><rect x="9" y="9" width="6" height="6"/><line x1="9" y1="1" x2="9" y2="4"/><line x1="15" y1="1" x2="15" y2="4"/><line x1="9" y1="20" x2="9" y2="23"/><line x1="15" y1="20" x2="15" y2="23"/><line x1="20" y1="9" x2="23" y2="9"/><line x1="20" y1="14" x2="23" y2="14"/><line x1="1" y1="9" x2="4" y2="9"/><line x1="1" y1="14" x2="4" y2="14"/></svg>
|
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="#007AFF" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"><rect x="4" y="4" width="16" height="16" rx="2"/><rect x="9" y="9" width="6" height="6" rx="1"/><path d="M9 2v2M15 2v2M9 20v2M15 20v2M2 9h2M2 15h2M20 9h2M20 15h2"/></svg>
|
||||||
category: productivity
|
category: productivity
|
||||||
channel: latest
|
channel: latest
|
||||||
maintainer:
|
maintainer:
|
||||||
|
|||||||
Reference in New Issue
Block a user