DataView: sticky columns (Name,Actions) stop working after migrating column title to cell
Chưa có ai nhận issue này.
- #645 của @johnsonm325 — đã đóng, không merge
Đá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
- 35/100
- Loại issue
- Lỗi
- Độ rõ ràng
- Khá rõ ràng
- Mức độ hoạt động
- Đình trệ
- Công nghệ
- react, typescript
- Lĩnh vực
- frontend
Hướng nghiên cứu
Bắt đầu với việc xử lý sticky column xung quanh column.props, nameCellProps và actionsCellProps trong ConsoleDataView.tsx, sau đó xem lại pull request #645 được liên kết để kiểm tra bản sửa lỗi đã được thử nghiệm. Tái hiện hành vi của bảng DataView có thể thay đổi kích thước được mô tả cho danh sách Nodes và xác minh rằng Name và Actions vẫn được ghim trong khi cuộn ngang.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Description
After moving column definitions from the legacy title header text to the cell-based header shape (aligned with PatternFly DataViewTh / ConsoleDataViewColumn), horizontally sticky columns no longer stick (e.g. first column “Name” and last “Actions”), even though nameCellProps / actionsCellProps still set isStickyColumn, borders, and related Th/Td props.
Expected
When the table scrolls horizontally, Name (and Actions where configured) remain pinned like other PatternFly scrollable tables with sticky cells.
Actual
Those columns scroll away with the rest of the table; sticky behavior appears broken.
Environment
OpenShift Console (e.g. Nodes list using ConsoleDataView with isResizable).
Reproducible on views that combine resizable DataView tables + sticky column props.
Root cause (for maintainers)
The regression is not caused by dropping title in favor of cell per se. Header thProps (including isStickyColumn) are still applied via column.props.
Jira Issue: PF-3938
- Ngôn ngữ chính
- TypeScript
- Star
- 4
- Fork
- 21
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
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-data-view
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
patternfly/react-data-view#692 ·
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
patternfly/react-data-view#680 · 1 bình luận ·
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
patternfly/react-data-view#671 ·
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
patternfly/react-data-view#662 ·
-
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 55/100
patternfly/react-data-view#676 · 2 bình luận ·
Tất cả issue của patternfly/react-data-view
Issue tương tự
-
blocklist removal
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 65/100
MetaMask/eth-phishing-detect#296544 ·
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 70/100
pastelsky/bundlephobia#1122 ·
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 70/100
-
category/development priority/P2 scope/file-operations scope/testing type/enhancement
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
-
Enatega Customer and Rider app: Add-ons price is not visible to customer after order is placed. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100