patternfly / patternfly/react-data-view

DataView: sticky columns (Name,Actions) stop working after migrating column title to cell

Đang mở
#629 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.

  • #645 của @johnsonm325 — đã đóng, không merge
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

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

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

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.

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.

Đánh giá

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

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.