Bug 2117367 - Console core SDK package does not ship referenced .scss files
Summary: Console core SDK package does not ship referenced .scss files
Keywords:
Status: CLOSED DEFERRED
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Management Console
Version: 4.11
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
: ---
Assignee: Vojtech Szocs
QA Contact: Yadan Pei
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2022-08-10 19:02 UTC by Vojtech Szocs
Modified: 2023-03-09 01:27 UTC (History)
0 users

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2023-03-09 01:27:23 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github openshift console pull 11951 0 None open Bug 2117367: Include referenced .scss files when building core plugin SDK package 2022-08-10 19:22:47 UTC

Description Vojtech Szocs 2022-08-10 19:02:29 UTC
Some JavaScript files in Console core SDK package reference .scss stylesheets.

  $ cd /path/to/console/frontend/packages/console-dynamic-plugin-sdk
  $ yarn build
  $ grep -r "import '.*\.scss';" --include="*.js" dist/core/lib

These stylesheets should be included at the relevant paths within the dist/core/lib directory.

For example, if this JS file

  dist/core/lib/app/components/status/icons.js

references ./icons.scss via import syntax, there should also be

  dist/core/lib/app/components/status/icons.scss

with content copied from

  src/app/components/status/icons.scss

Comment 2 Shiftzilla 2023-03-09 01:27:23 UTC
OpenShift has moved to Jira for its defect tracking! This bug can now be found in the OCPBUGS project in Jira.

https://issues.redhat.com/browse/OCPBUGS-9458


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