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

Improve/Fix 'console.dashboards/overview/detail/item' Extension

    XMLWordPrintable

Details

    • HAC Infra - Sprint 225

    Description

      The extension `console.dashboards/overview/detail/item` doesn't constrain the content to fit the card.

      The details-card has an expectation that a <dd> item will be the last item (for spacing between items). Our static details-card items use a component called 'OverviewDetailItem'. This isn't enforced in the extension and can cause undesired padding issues if they just do whatever they want.

      I feel our approach here should be making the extension take the props of 'OverviewDetailItem' where 'children' is the new 'component'.

      Acceptance Criteria:

      • Deprecate the old extension (in docs, with date/stamp)
      • Make a new extension that applies a stricter type
      • Include this new extension next to the old one (with the error boundary around it)

      Attachments

        Activity

          People

            jcaiani@redhat.com Joseph Caiani
            aballantyne Andrew Ballantyne
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: