patternfly / patternfly/patternfly-react

Bug - Multiple File Upload - `progressVariant` is limited to "success|warning|danger" bar colors and the BLUE color is not possible

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

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

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

説明

Describe the problem
The component https://v5-archive.patternfly.org/components/file-upload/multiple-file-upload does not allow to have BLUE bar colors as mentioned in the Design Guidelines https://v5-archive.patternfly.org/components/file-upload/multiple-file-upload/design-guidelines/

The guidelines indicate that the BLUE color can be used for "In Progress" statuses. However, the current progressVariant does not allow you to set a value so the progress bar becomes BLUE

How do you reproduce the problem?
Provide steps to reproduce. A codesandbox demonstrating the problem is appreciated.

Expected behavior

  • progressVariant should allow a value for BLUE or
  • If progressVariant=null|undefined then BLUE should be applied automatically

Is this issue blocking you?
List the workaround if there is one.

Screenshots
If applicable, add screenshots to help explain the issue.

What is your environment?

  • OS: Fedora 41
  • Browser Chrome

What is your product and what release date are you targeting?

Any other information?

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

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

はじめの一歩

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

調査の方向性

Multiple File Upload コンポーネントから始め、progressVariant prop がプログレスバーの色をどのように制御しているかを追跡します。コンポーネントの動作をリンクされたデザインガイドラインと比較し、追加の blue 値、または null や undefined に対するデフォルト値が適切かどうかを確認します。完了の条件は、進行中のアップロードが青で表示され、既存の success、warning、danger バリアントが引き続き機能することです。

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

評価

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

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

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