Skip to content

[Good first issue] 修复市场脉搏中两处占比的悬浮提示 #124

Backlog

Description

@ydflow

Market Pulse shows literal translation expressions as the tooltips of its two exposure metrics.

复现

给 MarketPulse 一条同时包含 watchlistExposurePercent 和 portfolioExposurePercent 的合成快照。分别用 zh-CN 和 en-US 渲染。两处 title 在两种界面语言里都显示为 {t('today.watchlistWeightShare')} 和 {t('today.portfolioExposure')}。

验收标准

  • 悬浮提示使用现有词条。中文版显示“自选权重占比”和“组合敞口”,英文版显示各自的英文文案。
  • 用两个占比均有值的 fixture 按语言断言 title,同时核对这两个占比的可见数值。

源码与测试入口

  • 在 ImpactRow 中,翻译表达式被写成了属性字符串。 个人影响区
  • bun test --isolate packages/ui/src/components/pulse/MarketPulse.test.tsx。 市场脉搏测试

想处理这项任务,可以评论 /claim。提交 PR 时请关联本 Issue,并附上实际运行的测试命令和结果。 贡献指南

Activity

  1. added
    bug
    help wanted
    good first issue
    area:desktop
    on Nov 27, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    area:desktopbuggood first issuehelp wanted

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions