[Bug]: Desktop: Title page download summary shows zero counts and a trailing separator

オープン 初心者向け
#132 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

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

評価

難易度
2/5
見積もり時間
1〜3時間
初心者へのやさしさ
82/100
issue の種類
バグ
明瞭さ
明確に書かれている
活発さ
活発
技術スタック
rust
領域
desktop

調査の方向性

概要行は desktop/app/src/browsing/view/title.rs:445 で組み立てられます。その関数と周辺のビューコードを読み、各カウンターとプロフィール名がどのように追加されるかを確認してください。Web の SeriesPanel コンポーネントと比較し、ゼロ件数の非表示、色付け、区切り文字による連結のルールを踏襲してください。desktop/ から cargo run --locked -- --scene title --snapshot /tmp/t.png を実行して再現し、再度実行して末尾の「 · 」がなくなり、ゼロ以外の部分だけが残ることを確認してください。

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

説明

bug

[!NOTE]
This issue was written by Claude (Claude Opus 5.5) from a review session of the desktop app (#80) with @PhrolovaMoe. It was found in headless renders of the debug build's fixture scenes (--snapshot), not on a live server.

Version

0.40.0 (feat/desktop, 017a837b)

Area

Other (desktop app)

What happened?

The managed show summary on the title page (desktop/app/src/browsing/view/title.rs:445) prints every counter, even zeros ("0 downloading · 0 missing · 0 skipped"), then the profile name. When the profile name is empty the line ends with a stray " · ". The web's SeriesPanel only shows non-zero counts, colours downloading/to find/missing, and adds the next schedule time.

Steps to reproduce

From desktop/, with a debug build: cargo run --locked -- --scene title --snapshot /tmp/t.png: the line ends in "0 skipped ·".

Expected behavior

The same summary as the web.

Suggested fix

Build the line from only the non-zero parts (with the web's colours), join them with " · ", and skip empty values.

主要言語
TypeScript
スター
4
フォーク
1
平均マージ
4時間 49分
マージ済み PR(30日)
5

環境構築

  • Dockerfile または Docker Compose ファイルあり
  • プルリクエストのテンプレートなし
  • コントリビューションガイドなし

はじめの一歩

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

tinystream-dev/tinystream のほかの issue

tinystream-dev/tinystream の issue をすべて見る

似ている issue

TypeScript の issue をもっと見る

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

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