Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

ListManager / ColumnManagementModal: forward BulkSelect i18n label props

Đang mở
#988 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

Chưa có ai nhận issue này.

Đánh giá

Độ khó
3/5
Thời gian dự kiến
1-2 ngày
Mức phù hợp với người mới
72/100
Loại issue
Lỗi
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
typescript

Hướng nghiên cứu

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.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

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

Ngôn ngữ chính
TypeScript
Star
10
Fork
40
Merge trung bình
23 giờ 23 phút
Pull request đã merge (30 ngày)
2

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của patternfly/react-component-groups

Tất cả issue của patternfly/react-component-groups

Issue tương tự

Thêm issue về TypeScript

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.