patternfly / patternfly/patternfly-react

Bug - [Wizard] - Get current step examples breaks

オープン
#11,665 コメント 4 件 リアクション 0 件 担当者 0 名 GitHub で見る

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

Stale
主要言語
TypeScript
スター
862
フォーク
392
平均マージ
4日 8時間
マージ済み PR(30日)
9

説明

Describe the problem
When clicking on Step 4 the get current step example breaks and throws the following error on the website
TypeError: Cannot read properties of undefined (reading 'status')

How do you reproduce the problem?
Go to https://www.patternfly.org/components/wizard/#get-current-step, click on Step 4 in the example

Screenshots

https://github.com/user-attachments/assets/29913289-6612-4f6c-84a6-89fa79c98d0d

コントリビューションガイド

コントリビューションガイドを開く

はじめの一歩

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

調査の方向性

https://www.patternfly.org/components/wizard/#get-current-step の Wizard ドキュメントを開き、例で Step 4 をクリックして問題を再現します。get-current-step の例と current-step の処理を追跡し、status の読み取り時に例がスローする理由を確認します。Step 4 が TypeError なしでレンダリングされ、例に現在のステップが引き続き正しく表示されれば完了です。

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

評価

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

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

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