Uploaded image for project: 'OpenShift Bugs'
  1. OpenShift Bugs
  2. OCPBUGS-56044

VirtualizedTable component is breaking if default sort column (sortColumnIndex) is not available

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Undefined Undefined
    • 4.20.0
    • 4.18.z
    • Management Console
    • None
    • Quality / Stability / Reliability
    • False
    • Hide

      None

      Show
      None
    • None
    • None
    • None
    • None
    • None
    • Proposed
    • Bug Fix
    • Hide
      Before this update, the `VirtualizedTable` hid the `Started` column on smaller screens, which broke default sorting and disrupted the `PipelineRun` list. This update adjusts the default sorted column based on screen size, preventing the table from breaking. As a result, the `PipelineRun` list page remains stable and displays correctly on smaller screens. (link:https://issues.redhat.com/browse/OCPBUGS-56044[OCPBUGS-56044])
      Show
      Before this update, the `VirtualizedTable` hid the `Started` column on smaller screens, which broke default sorting and disrupted the `PipelineRun` list. This update adjusts the default sorted column based on screen size, preventing the table from breaking. As a result, the `PipelineRun` list page remains stable and displays correctly on smaller screens. (link: https://issues.redhat.com/browse/OCPBUGS-56044 [ OCPBUGS-56044 ])
    • None
    • None
    • None
    • None

      In VirtualizedTable table component, we have sortColumnIndex prop where user can give the index of the column which needs to be sorted by default and in PipelineRun list page we have added Started time as default column but when screen size reduces, Started column will be hidden, that time  VirtualizedTable component is breaking.

      Slack thread: https://redhat-internal.slack.com/archives/C6A3NV5J9/p1747062357615279

              rhn-engineering-rhamilto Robb Hamilton
              rh-ee-lprabhu Lokananda Prabhu
              None
              None
              YaDan Pei YaDan Pei
              Jocelyn Sese Jocelyn Sese
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated: