Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

New finding dialog loses a severity only edit without an unsaved changes warning

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

メンテナーはふだん 2 日以内に返信

@ManoharPaturi がすでに取り組んでいます。

2026年10月27日 から。

評価

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

調査の方向性

FindingDialog.tsxから始めて、未保存の変更を防ぐエフェクト、その早期リターン、依存配列を調べます。これらのチェックを下書きフィールドと比較し、New finding ダイアログで Severity だけを変更して問題を再現します。Severity だけの変更でガードが有効になり、タブを閉じるか再読み込みすると未保存の変更について確認が表示されれば完了です。

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

説明

Description

The unsaved changes guard in FindingDialog watches title, description, severity_other, harm_type, harm_type_other, and the evidence attack id, but not severity. In the create dialog, changing only the Severity select leaves every watched field empty, so the beforeunload listener is never armed and closing or reloading the tab discards the choice with no warning.

The severity select is the first control in the dialog and defaults to Moderate, so a severity only edit is an easy state to reach.

Expected Behavior

Any draft that differs from its initial values, including a severity change, should arm the unsaved changes guard.

Reproduction Steps

  1. Open the New finding dialog.
  2. Change only Severity to Critical.
  3. Close or reload the tab.

Minimal Reproduction

The guard effect's early return and dependency list in FindingDialog.tsx enumerate six fields; draft.severity appears in neither.

Environment

PyRIT main.

主要言語
Python
スター
4.7k
フォーク
980
平均マージ
2日 9時間
マージ済み PR(30日)
433

環境構築

Codespaces で開く

このプロジェクトの開発コンテナを、あなたの GitHub アカウントでブラウザ上に起動します。

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

はじめの一歩

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

microsoft/PyRIT のほかの issue

microsoft/PyRIT の issue をすべて見る

似ている issue

Python の issue をもっと見る

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

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