Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

ListManager / ColumnManagementModal: forward BulkSelect i18n label props

Aperta
#988 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
3/5
Tempo stimato
1-2 giorni
Idoneità per principianti
72/100
Tipo di issue
Bug
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
typescript

Direzione di ricerca

Start at the ListManager and ColumnManagementModal entry points, then compare their prop types and rendering with BulkSelect's existing i18n label props. Done means consumers can pass the label values through these components and the bulk-select UI uses the localized strings.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

Problem

BulkSelect already exposes i18n-friendly label props (selectNoneLabel, selectAllLabel, selectedLabel, selectPageLabel) as of v6.5.0 (#896), but ListManager renders BulkSelect without passing them through. The only related customization on ListManager today is dataListAriaLabel.

As a result, bulk-select UI stays in English ("Select all (N)", "N selected", "Select none (0)") even when the surrounding modal title, description, and actions are translated.

Current behavior

In @patternfly/react-component-groups v6.5.0, ListManager renders:

<BulkSelect
  canSelectAll
  isDataPaginated={false}
  selectedCount={...}
  totalCount={...}
  onSelect={...}
  pageSelected={...}
  pagePartiallySelected={...}
/>

No selectNoneLabel, selectAllLabel, or selectedLabel props are accepted or forwarded.

ColumnManagementModal also does not expose these props when it wraps ListManager.

Expected behavior

Consumers should be able to localize bulk-select strings without reimplementing ListManager.

Environment
  • @patternfly/react-component-groups: ~6.5.0

  • Use case: table column management modal on list pages

Related
  • BulkSelect i18n: #895 / #896 (already merged in v6.5.0)

  • Components: ListManager, ColumnManagementModal, BulkSelect


Jira Issue: PF-4700

Lingua principale
TypeScript
Stelle
10
Fork
40
Merge medio
23h 23m
PR unite (30g)
2

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di patternfly/react-component-groups

Tutte le issue di patternfly/react-component-groups

Issue simili

Altre issue su TypeScript

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.