Flow Runs: the run list hides runs below its edge with no scroll bar; a project with six runs looks like it has four
まだ誰も着手していません。
評価
- 難易度
- 2/5
- 見積もり時間
- 1〜3時間
- 初心者へのやさしさ
- 78/100
調査の方向性
lib/features/flow/widgets/flow_keyboard_table.dart から始めてください。ここでは build が行を単純な ListView.builder に配置しています。詳細ペインにある #55 の常時表示スクロールバーの修正と比較してください。テーブルに ScrollController を与え、リストを Scrollbar(controller: ..., thumbVisibility: true) で囲みます。共有されている Steps/Metrics/Worst のパステーブルが引き続き動作するようにしてください。次に、1600x140 のサイズで、lib/services/flow/flow_run_index.dart の 6 件のフィクスチャ実行を使ったウィジェットテストを追加します。テストでは、スクロールバーのつまみが描画されること、および 6 番目の行がスクロールまたは Down キーで到達可能であることを検証してください。
索引モデルが issue の本文から書いたものです。
説明
What happens
A project with one LibreLane flow: entry and six complete runs under librelane/runs/ (four made by simcrux flow from the command line, two by Tools > Run Flow Entry). View > Flow Runs shows four rows, newest at the top. The two oldest runs are not visible and nothing in the panel says there are more. On macOS the idle scroll bar is hidden, so the list reads as "SimCrux found four runs".
The guide (flow-runs, "every run of the project's flow entries, newest first") is right about the data: the index holds all six. Only the list's viewport hides them.
Why
buildFlowRunIndex(lib/services/flow/flow_run_index.dart) returns all six runs, newest first; no dedup, limit or filter drops any (checked headlessly against a copy of the six runs).FlowKeyboardTable(lib/features/flow/widgets/flow_keyboard_table.dart) puts the rows in a plainListView.builderwith noScrollbar, so on macOS there is no sign of rows below the edge.- The run list is short in two layouts of
_FlowRunsBody(lib/features/flow/widgets/flow_runs_panel.dart):- narrow (panel under 640 px wide: right dock, or a split bottom dock): the list is capped at
min(168, 0.4 * height), header included, so it never shows more than five rows however tall the dock is, and four or fewer when the dock is under about 420 px tall; - wide: the list takes the dock's height, so a bottom dock about 170 px tall shows four.
- narrow (panel under 640 px wide: right dock, or a split bottom dock): the list is capped at
Widget probe with the six real runs (rows fully visible): 1600x140 wide, 4; 600x380 narrow, 4 (fifth cut); 600x800 narrow, 5; 1600x200 wide, 6.
This is the run-list counterpart of #55 (the detail pane's content under the edge), which was fixed with an always-visible scroll bar.
Smallest fix
In FlowKeyboardTable.build, wrap the body ListView in Scrollbar(controller: _scroll, thumbVisibility: true, ...), as #55 did for the detail. It covers the run list and the Steps, Metrics, Worst paths and path-segment tables that share the widget. A widget test: six runs at 1600x140 show the thumb (find.byType(Scrollbar) / RawScrollbar painting) and the sixth row is reachable by scrolling or by the Down key.
Optional, larger: let the narrow layout's list grow past 168 px when the dock is tall, or show the run count in the list header ("6 runs").
- 主要言語
- Dart
- スター
- 0
- フォーク
- 0
- 平均マージ
- 2日 10時間
- マージ済み PR(30日)
- 3
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートなし
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
Ferrite-Engineering/simcrux のほかの issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
-
難易度 1/5 1時間未満 初心者へのやさしさ 85/100
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
-
Check flow tools reports LibreLane and the PDK missing under the Nix launcher, though runs workオープン
難易度 3/5 1〜2日 初心者へのやさしさ 45/100
-
難易度 3/5 半日 初心者へのやさしさ 74/100
Ferrite-Engineering/simcrux の issue をすべて見る
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
AppFlowy-IO/AppFlowy#9147 ·
メンテナーはふだん 1 日以内に返信
-
難易度 1/5 1時間未満 初心者へのやさしさ 62/100
ccch1mneyyy/dsh-Go#1682 ·
メンテナーはふだん 1 日以内に返信
-
help wanted
難易度 1/5 1時間未満 初心者へのやさしさ 76/100
pesaclarity/ujumbe-parsers#64 ·
メンテナーはふだん 1 日以内に返信
-
enhancement
難易度 2/5 1〜3時間 初心者へのやさしさ 64/100
patarapolw/lingua_srs#278 ·
メンテナーはふだん 1 日以内に返信
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 65/100
dreautall/waterfly-iii#890 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信