Uploaded image for project: 'Red Hat Advanced Cluster Security'
  1. Red Hat Advanced Cluster Security
  2. ROX-31797

[Base Images Mgmt] Create BaseImagesTable to display and manage base images

    • Icon: Story Story
    • Resolution: Unresolved
    • Icon: Critical Critical
    • 4.10.0
    • None
    • None
    • None
    • 3
    • True
    • Hide

      Waiting on Core Workflows to add the GET and DELETE v2/baseimages endpoints.

      Show
      Waiting on Core Workflows to add the GET and DELETE v2/baseimages endpoints.
    • False
    • Not Selected
    • Rox Sprint 4.10D

      Create the BaseImagesTable component for displaying the list of configured base images.

      Implementation Details:

      • Create BaseImagesTable.tsx component in Containers/Vulnerabilities/WorkloadCves/BaseImages/
      • Three columns: Base image | Added by | Action
      • "Remove from list" button per row
      • Empty state when no base images configured
      • Row-specific spinner during deletion
      • Disable all buttons during delete operation
      • Props: {{ { baseImages: BaseImage[]; removeBaseImage: (name: string) => void; isRemoveInProgress: boolean; }

        }}

      Acceptance Criteria:

      • Table displays all base images with user info
      • Remove button triggers DELETE operation via callback
      • Shows spinner only on row being deleted
      • Disables all remove buttons while isRemoveInProgress is true
      • Empty state renders when list is empty
      • Does NOT make its own API calls (receives data from parent)

              schaudhr Saif Chaudhry
              schaudhr Saif Chaudhry
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated: