Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1929281

Summary: Update Tech Preview badge to transparent border color when upgrading to PatternFly v4.87.1
Product: OpenShift Container Platform Reporter: David Taylor <dtaylor>
Component: Management ConsoleAssignee: Joe Caiani <jcaiani>
Status: CLOSED ERRATA QA Contact: Yadan Pei <yapei>
Severity: low Docs Contact:
Priority: unspecified    
Version: 4.7CC: aos-bugs, jcaiani, jokerman, yapei
Target Milestone: ---   
Target Release: 4.8.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: No Doc Update
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2021-07-27 22:44:46 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

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