Task page Changes view: polish after #1003
メンテナーはふだん 1 日以内に返信
関連するプルリクエストがすでにマージされています。
- #1060 @usine-phildl による — マージ済み
評価
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 初心者へのやさしさ
- 35/100
- issue の種類
- 機能追加
- 明瞭さ
- おおむね明確
- 活発さ
- 活発
- 技術スタック
- github, react, typescript
調査の方向性
Start with the named entry points: changes.tsx, apps/server/src/http.ts, packages/github/src/files/files.ts, task.ts, harvestedAttemptChanges, and the two READMEs; inspect the review and tests for #1003 as well. The issue asks for a batch of UI, API, cache, model, and documentation follow-ups, with tests for GitHub 404, 422, and rate-limit responses. Done means every listed behavior is addressed and the related tests and copy are updated.
索引モデルが issue の本文から書いたものです。
説明
Follow-ups from the review of #1003 (task page Changes view, #932), all P3; batch them in one PR.
- "Checks: passed" and "Review: approved" stay visible when Compare is set to an attempt; they describe the PR head, not that attempt's commits. Hide or label them per selection.
- With no recorded attempts, Compare is a dropdown with one option and is narrower than with attempts, so the layout shifts. Show plain text in that case.
- The "Changes" disclosure uses the browser's default triangle while the file rows use chevron icons.
- At phone width file paths are cut at the end ("src/transcript/reader/rea…"), hiding the file name. Truncate from the start or wrap.
apps/server/src/http.tspullRequestFiles: GitHub 404 and 422 surface as 502 "GitHub returned HTTP status 404" (unknown commit, a force-pushed commit GitHub garbage-collected, an item that isn't a PR). Map them to a 404 envelope with a specific message; add tests for 404, 422 and rate limit.packages/github/src/files/files.ts: a stale whole-PR selection returns 502InvalidGitHubResponseError; a 409 describes the state.- Attempts that pushed nothing (base equals head) show in Compare with "No files changed"; filter them in
harvestedAttemptChanges. files.ts: exactly 300 compare files is flagged truncated; GitHub gives no total, so document it.- PRs polled before #1003 have no
baseRefOidand show "Changes are available after…" until the PR changes; that copy isn't fact-first, andtask.tslogs a warning on every task read for them (use debug, or refetch the payload once). changes.tsximports runtime values from@usine/github/files, which also defines the service and layer; a model-only subpath keeps server code out of the bundle.- The server files cache (128 entries, each up to 3,000 files with patches) has no byte bound.
- The OpenAPI query parameter is named
_tag, which leaks the discriminator into the public API. apps/server/README.mdandpackages/orchestrator/README.mdstill say the range starts at the "first commit"; it starts at the recorded checkout base, and the whole-PR query needsbase.
- 主要言語
- TypeScript
- スター
- 1
- フォーク
- 0
- 平均マージ
- 3時間 23分
- マージ済み PR(30日)
- 400
環境構築
このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
basaltbytes/usine のほかの issue
-
enhancement
難易度 2/5 1〜3時間 初心者へのやさしさ 64/100
basaltbytes/usine#1068 ·
メンテナーはふだん 1 日以内に返信
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 83/100
basaltbytes/usine#1032 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
難易度 5/5 1週間以上 初心者へのやさしさ 25/100
basaltbytes/usine#1080 ·
メンテナーはふだん 1 日以内に返信
-
難易度 4/5 3〜5日 初心者へのやさしさ 25/100
basaltbytes/usine#1079 ·
メンテナーはふだん 1 日以内に返信
-
難易度 5/5 1週間以上 初心者へのやさしさ 25/100
basaltbytes/usine#1078 ·
メンテナーはふだん 1 日以内に返信
basaltbytes/usine の issue をすべて見る
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 73/100
メンテナーはふだん 1 日以内に返信
-
area/admin/user area/internationalization automated-triage issue/auto-triaged type/bug
難易度 1/5 1時間未満 初心者へのやさしさ 76/100
grafana/grafana#137281 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
accessibility bug
難易度 2/5 1〜3時間 初心者へのやさしさ 79/100
Luen/crag-stats#429 ·
メンテナーはふだん 1 日以内に返信
-
難易度 1/5 1時間未満 初心者へのやさしさ 88/100
メンテナーはふだん 1 日以内に返信
-
Missing assertions to legacy Cafe Menu block tests対応中かも @mariamanbar が今日担当しました。 オープン
難易度 1/5 1時間未満 初心者へのやさしさ 90/100
freeCodeCamp/freeCodeCamp#71624 ·
メンテナーはふだん 1 日以内に返信