patternfly / chatbot

This repo contains the code for the PatternFly virtual assistant extension
MIT License
0 stars 24 forks source link

v6 chatbot - investigate why chatbot styles are being overridden in Red Hat Developer Hub #175

Open rebeccaalpert opened 2 months ago

rebeccaalpert commented 2 months ago

It looks like chatbot style sheets are being overridden by individual PF React component sheets in Red Hat Developer Hub. I discussed this briefly yesterday with @mcoker, @kmcfaul, and @dlabaj. It might be a webpack issue we can solve by adding a nullloader. However, their webpack configuration appears to be hidden. They are using Backstage. We should investigate further.

rebeccaalpert commented 4 weeks ago

Backstage does not support custom webpack configuration. We may not be able to fix this. I tried switching us to @patternfly/patternfly instead of core and we still wound up with multiple imports. I also tried changing to a different stylesheet and moving the location of the imports.

One example to look at to see this is the Jump Links. When we removed older versions of PatternFly, the number of stylesheets decreased from ~7 to ~3, but was still present.

rebeccaalpert commented 1 hour ago

Moving to Q1; Nicole has talked to some other teams that have more subject matter experience and they're looking at upgrading PF in the other plugins, etc.