Bug 1929281 - Update Tech Preview badge to transparent border color when upgrading to PatternFly v4.87.1
Summary: Update Tech Preview badge to transparent border color when upgrading to Patte...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Management Console
Version: 4.7
Hardware: Unspecified
OS: Unspecified
unspecified
low
Target Milestone: ---
: 4.8.0
Assignee: Joe Caiani
QA Contact: Yadan Pei
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2021-02-16 16:02 UTC by David Taylor
Modified: 2021-07-27 22:45 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: No Doc Update
Doc Text:
Clone Of:
Environment:
Last Closed: 2021-07-27 22:44:46 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github openshift console pull 8166 0 None closed Bug 1928869: remove css overrides for search component and update pf dependency to 2021.2 2021-02-23 20:46:14 UTC
Red Hat Product Errata RHSA-2021:2438 0 None None None 2021-07-27 22:45:22 UTC

Description David Taylor 2021-02-16 16:02:44 UTC
Due to a change in base PF src/patternfly/components/Label/label.scss from BorderColor:transparent & BorderWidth:0 to other non-zero values, the Tech Preview badge's (https://github.com/openshift/console/blob/5464e1058c275f95a29688fbe2f5c192de0f78b7/frontend/packages/console-shared/src/components/badges/TechPreviewBadge.tsx#L8) scss needs to be updated.

Specifically, https://github.com/openshift/console/blob/master/frontend/packages/console-shared/src/components/badges/Badge.scss needs to be updated to include `:before` attribute:

.ocs-preview-badge {
  &.pf-c-label {
    background-color: #d93f00;
    border-radius: var(--pf-global--BorderRadius--sm);
    :before {
      border-color: transparent;
    }


https://github.com/patternfly/patternfly/pull/3817/files#diff-2c450c181adeb511f6c0e5b9bdaab0cc05d7ec94487293b9cac0329ff2e38a7eR13

Comment 2 Yadan Pei 2021-02-25 07:09:04 UTC
the reported issue has been verified in 1928869 https://bugzilla.redhat.com/show_bug.cgi?id=1928869#c2

Moving to VERIFIED

Comment 5 errata-xmlrpc 2021-07-27 22:44:46 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory (Moderate: OpenShift Container Platform 4.8.2 bug fix and security update), and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHSA-2021:2438


Note You need to log in before you can comment on or make changes to this bug.