Uploaded image for project: 'OpenShift Console'
  1. OpenShift Console
  2. CONSOLE-4185

Create an export as .csv option for VirtualizedTable

XMLWordPrintable

    • Icon: Ticket Ticket
    • Resolution: Unresolved
    • Icon: Undefined Undefined
    • openshift-4.18
    • None
    • None
    • None
    • False
    • None
    • False
    • CrossTeam Collaboration - 4.18

      This feature conditionally creates a button within the VirtualizedTable component that allows clients to download the data within the table as comma-separated values (.csv). 

       

      Both PRs are needed to test the feature.

      The PRs are 

      https://github.com/openshift/console/pull/14050

      and 

      https://github.com/openshift/monitoring-plugin/pull/133

       

      The monitoring-plugin passes a string called 'csvData', which contains metrics data formatted in comma-separated values. The console then consumes the 'csvData' in the component 'VirtualizedTable'. 'VirtualizedTable' renders the 'Export as CSV' button only if this property, 'cvsData' is present. Without the property the button 'Export as CSV' will not render. 

       

      The console's CI/CD pipeline > tide requires that issues have a valid Jira reference, presumably in this (OpenShift Console) board. This ticket is a duplication of

      https://issues.redhat.com/browse/OU-431

       

       

              jezhu@redhat.com Jenny Zhu
              jezhu@redhat.com Jenny Zhu
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated: