patternfly / patternfly/patternfly-react

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

Offen
#11,276 7 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen

Dieses Issue hat noch niemand übernommen.

Stale
Vorherrschende Sprache
TypeScript
Sterne
862
Forks
392
Ø Merge
4 T. 8 Std.
Gemergte PRs (30 T.)
9

Beschreibung

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?

Beitragsleitfaden

Beitragsleitfaden öffnen

Erste Schritte

  1. Lies das ganze Issue und danach den Beitragsleitfaden des Projekts.
  2. Schreib ins Issue, dass du es übernimmst — das erspart doppelte Arbeit.
  3. Forke das Repository und arbeite in einem Branch.
  4. Öffne einen Pull Request, der die Issue-Nummer nennt.

Rechercherichtung

Beginne mit der Multiple File Upload-Komponente und verfolge, wie ihre progressVariant-Prop die Farbe des Fortschrittsbalkens steuert. Vergleiche das Verhalten der Komponente mit den verlinkten Designrichtlinien und prüfe, ob ein zusätzlicher blue-Wert oder ein Standardwert für null oder undefined angemessen ist. Als abgeschlossen gilt die Aufgabe, wenn laufende Uploads blau dargestellt werden, während die vorhandenen success-, warning- und danger-Varianten weiterhin funktionieren.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Bewertung

Tech-Stack
react, typescript
Bereich
frontend
Issue-Typ
Bug
Schwierigkeit
2/5
Geschätzter Aufwand
1-3 Stunden
Aktivitätsstatus
Veraltet
Klarheit
Größtenteils klar
Anfängerfreundlichkeit
45/100

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.