Skip to content

feat(store): show catalog health & evaluation on item detail#517

Merged
linkai0924 merged 1 commit into
devfrom
feat/catalog-health-eval-panels
May 26, 2026
Merged

feat(store): show catalog health & evaluation on item detail#517
linkai0924 merged 1 commit into
devfrom
feat/catalog-health-eval-panels

Conversation

@papysans
Copy link
Copy Markdown
Contributor

改动内容

在 store 详情页(左侧主内容列)新增健康度雷达图评估详情面板,仅当 item 携带上游评分数据时渲染。

具体变更

  • health-radar.tsx:纯 SVG 三轴雷达图(popularity / freshness / source_trust),跟随主题、使用项目设计 token,无图表库依赖
  • item-detail-content.tsx:两块条件渲染面板(hasHealthSignals / hasEvaluation)
  • api.ts:CapabilityItem 新增可选 health / evaluation 字段
  • i18n:store.detail.health.* / store.detail.eval.*(中英)

说明

Add a Health radar chart (popularity/freshness/source_trust signals) and
an Evaluation panel (6 rubric dimensions + final score + evaluator) to the
store item-detail page, rendered in the left main column. Both panels are
conditionally shown only when the item carries the data, so user-authored
items without upstream scoring render unchanged.

- health-radar.tsx: pure-SVG 3-axis radar, theme-aware, native design tokens
- item-detail-content.tsx: two conditional panels (hasHealthSignals/hasEvaluation)
- api.ts: optional health/evaluation fields on CapabilityItem
- i18n: health.* / eval.* panel strings (zh/en)
@linkai0924 linkai0924 merged commit 656f451 into dev May 26, 2026
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants