[Bug] 切换标的后加载新标的已有的研究报告

オープン
#67 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
3/5
見積もり時間
1〜2日
初心者へのやさしさ
62/100
issue の種類
バグ
明瞭さ
おおむね明確
活発さ
活発
技術スタック
electron, react, typescript
領域
frontend

調査の方向性

Start with the report-loading effect in packages/ui/src/components/research/ResearchPanel.tsx around lines 95-110, where the symbol change fetches the report list but not the detail. Then check the report view and history entry at lines 351-385. Run bun test packages/ui/src/components/research/ResearchPanel.test.tsx and add the two synthetic-report cases from the acceptance criteria. Done when switching symbols shows the new symbol's latest report or its empty state, and a late response from the previous symbol is ignored.

索引モデルが issue の本文から書いたものです。

説明

area:desktop bug help wanted

最小复现

为 AAPL.US 和 MSFT.US 各提供一个已完成的研究运行及一份报告。打开 AAPL.US 的报告后切到 MSFT.US。隔离组件测试中,页面取到了 MSFT.US 的报告列表,但没有请求它的报告详情。选中的报告仍是 AAPL.US,页面随后隐藏了报告。

验证环境为 Windows、Bun 1.4.2,基于 main 的 579395e。

验收标准

  • 切换到已有报告的标的时,显示该标的的最新报告。切换到没有报告的标的时,显示对应的空状态。
  • 用两份合成报告补组件回归,覆盖顺序切换和旧标的请求晚到的情况。

源码起点

验证入口 bun test packages/ui/src/components/research/ResearchPanel.test.tsx。

可以先在本条说明准备完成的范围,再评论 /claim。贡献入口见 #7。

主要言語
TypeScript
スター
206
フォーク
37
平均マージ
7時間 8分
マージ済み PR(30日)
8

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

ydflow/Trail のほかの issue

ydflow/Trail の issue をすべて見る

似ている issue

TypeScript の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。