ListManager / ColumnManagementModal: forward BulkSelect i18n label props
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
- Lĩnh vực
- frontend, internationalization
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
- Không có Dockerfile hay tệp Docker Compose
- Không có mẫu pull request
- Đọc hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- 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.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của patternfly/react-component-groups
-
SkeletonTable: add option to hide header skeleton rowsCó thể đã có người làm Có pull request liên kết đang mở hoặc đã được merge. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
patternfly/react-component-groups#968 · 1 bình luận ·
-
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 68/100
patternfly/react-component-groups#989 · 2 bình luận ·
-
Tearsheet layout updates: Masthead coverage and inset token alignmentCó thể đã có người làm @GAUNSD đã nhận 6 ngày trước. Đang mởPF Team
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 48/100
patternfly/react-component-groups#985 · 1 bình luận · 1 người được giao ·
-
Pull in Modal animation support for TearsheetsCó thể đã có người làm @thatblindgeye đã nhận 21 ngày trước. Đang mởPF Team
patternfly/react-component-groups#979 · 1 người được giao ·
-
MissingPage: support multiple action buttonsCó thể đã có người làm @platex-rehor-bot đã nhận 42 ngày trước. Đang mở
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 68/100
Tất cả issue của patternfly/react-component-groups
Issue tương tự
-
enhancement
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 74/100
Maintainer thường phản hồi trong vòng 1 ngày
-
[Bug] remember() with special characters in namespace hangs until timeout instead of returning 400Đang mởbug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
MystenLabs/MemWal#1133 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
bug user-priority/P2
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 92/100
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 Dưới một giờ Mức phù hợp với người mới 88/100
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 88/100
Effect-TS/effect#8881 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày