プルリクエスト「変更されたファイル」ページでコードとコメントを並べて表示
本文の状態
日本語全文を表示中
詳細モードで約3分の本文を読めます。
同じ出来事の情報源
この情報源を基点に整理
GitHub Changelog
GitHubが、プルリクエストの「変更されたファイル」ページにドッキングパネルを導入した。この機能により、開発者はコードレビュー時に、概要、コメント、マージステータス、アラートなどの重要なコンテキストを並べて表示できる。
Source Article
元記事を日本語で読む
本文に関係しない購読案内、埋め込み通知、サイト内プロモーションは除いています。
改善版翻訳文:
プルリクエスト「Files changed」ページのドッキングパネルが順次展開されています。これにより、主要なプルリクエストのコンテキスト(概要、コメント、マージステータス、アラート)を並べて表示しながら、コードレビューを行うことができます。タブを切り替えたり、現在の場所を見失ったりすることなく、作業の流れを維持できます。
従来の「Files changed」ページをまだ使用している場合、このページでドッキングパネルを表示するには、新しい機能をオプトインする必要があります。詳細については、この新機能に関する変更ログをご確認ください。
コメントパネル
レビューコメントと概要レベルの議論を一箇所で確認できます。また、パネルから移動せずに新しいコメントを追加することもできます。開くには、Files changedツールバーの「Comments」ボタンをクリックしてください。詳細はコメントパネルの変更ログをご覧ください。
ℹ️ 概要パネル
レビュー画面を離れることなく、プルリクエストの説明を参照できます。これにより、目的、実装上の注意点、テスト手順などのコンテキストを確認しながら、差分(diff)内での位置を把握しやすくなります。開くには、Files changedツールバーの「Overview」ボタンをクリックしてください。詳細は概要パネルの変更ログをご覧ください。
✅ マージステータスパネル
プルリクエスト内のどこからでも、マージの準備状況を確認できます。マージステータスは現在、すべてのプルリクエストページの上部に表示されています。プルリクエストヘッダーの「Merge status」ボタンをクリックして詳細を開くと、ブロッカーや不足している承認を素早く特定し、プルリクエストをマージ可能な状態にできます。詳細はマージステータスの変更ログをご覧ください。
⚠️ アラートパネル
コードをレビューする場所と同じ画面で、セキュリティアラートを確認できます。アラートパネルは、プルリクエストの変更に関連するコードスキャンアラートを表示するため、差分(diff)と並行して検出結果をレビューし、画面を離れることなく対応できます。開くには、Files changedツールバーの「Alerts」ボタンをクリックしてください。
♥️ フィードバック
皆様からのフィードバックは、この機能改善に不可欠です。問題の報告、質問、既知の問題の確認には、フィードバック用のディスカッションをご利用ください。
この投稿「プルリクエストのFiles changedページでコードとコメントを並べて表示」は、The GitHub Blogで最初に公開されました。
原文を表示
Docked panels for the pull request “Files changed” page are rolling out now. They let you review code with key pull request context open side-by-side: overview, comments, merge status, and alerts. You can stay in flow without switching tabs or losing your place.
If you’re still using the classic “Files changed” page, you’ll need to opt into the new experience to view the docked panels from this page. Learn more by checking out our changelog about the new experience.
Comments panel
View review comments and high-level conversations in one place. You can also add new comments from the panel without navigating away. To open it, click the Comments button in the Files changed toolbar. Learn more in the Comments panel changelog.
ℹ️ Overview panel
Reference the pull request description without leaving your review. This makes it easier to stay oriented in the diff while checking context like goals, implementation notes, or testing instructions. To open it, click the Overview button in the Files changed toolbar. Learn more in the Overview panel changelog.
✅ Merge status panel
Check merge readiness from anywhere in the pull request. Merge status is now available at the top of every pull request page. Click the Merge status button in the pull request header to open the details so you can quickly identify blockers, missing approvals, and get your pull request ready to merge. Learn more in the merge status changelog.
⚠️ Alerts panel
Review security alerts in the same place you review code. The Alerts panel surfaces code scanning alerts related to changes in the pull request, so you can review findings alongside the diff and take action without leaving your review. To open it, click the Alerts button in the Files changed toolbar.
♥️ Feedback
Your feedback is essential to helping us improve this experience. Please use the feedback discussion to report problems, ask questions, and review known issues.
The post View code and comments side-by-side in pull request Files changed page appeared first on The GitHub Blog.
関連記事
今日のまとめ
AIデイリーブリーフで今日の重要ニュースをまとめ読み