Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(scrollgradient, stringformatter, truncatedlist, webterminal): csp #6346

Open
wants to merge 8 commits into
base: main
Choose a base branch
from

Conversation

AlexanderMelox
Copy link
Contributor

Closes #6191

This PR fixes CSP violations in the following components:

  • ScrollGradient
  • StringFormatter
  • TruncatedList
  • WebTerminal

What did you change?

Removed inline styles, and added them with useIsomorphicEffect

How did you test and verify your work?

Storybook

@AlexanderMelox AlexanderMelox requested a review from a team as a code owner November 1, 2024 19:49
@AlexanderMelox AlexanderMelox requested review from davidmenendez and amal-k-joy and removed request for a team November 1, 2024 19:49
Copy link

netlify bot commented Nov 1, 2024

Deploy Preview for carbon-for-ibm-products ready!

Name Link
🔨 Latest commit d20cd2b
🔍 Latest deploy log https://app.netlify.com/sites/carbon-for-ibm-products/deploys/673d0fe595d88a0008682721
😎 Deploy Preview https://deploy-preview-6346--carbon-for-ibm-products.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

Copy link

netlify bot commented Nov 1, 2024

Deploy Preview for ibm-products-web-components ready!

Name Link
🔨 Latest commit d20cd2b
🔍 Latest deploy log https://app.netlify.com/sites/ibm-products-web-components/deploys/673d0fe5fd7006000842a511
😎 Deploy Preview https://deploy-preview-6346--ibm-products-web-components.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

amal-k-joy
amal-k-joy previously approved these changes Nov 4, 2024
Copy link
Contributor

@amal-k-joy amal-k-joy left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looking good

@amal-k-joy amal-k-joy self-requested a review November 4, 2024 10:41
@amal-k-joy amal-k-joy dismissed their stale review November 4, 2024 11:12

ci checks failing

@AlexanderMelox AlexanderMelox added the hacktoberfest https://hacktoberfest.com/ label Nov 4, 2024
Copy link

codecov bot commented Nov 6, 2024

Codecov Report

Attention: Patch coverage is 87.17949% with 5 lines in your changes missing coverage. Please review.

Project coverage is 79.63%. Comparing base (98b30f3) to head (d20cd2b).

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #6346      +/-   ##
==========================================
+ Coverage   79.61%   79.63%   +0.02%     
==========================================
  Files         394      394              
  Lines       12871    12900      +29     
  Branches     4268     4273       +5     
==========================================
+ Hits        10247    10273      +26     
- Misses       2624     2627       +3     
Components Coverage Δ
ibm-products ∅ <ø> (∅)
ibm-products-web-components ∅ <ø> (∅)
---- 🚨 Try these New Features:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
hacktoberfest https://hacktoberfest.com/ status: blocked 🧱
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Address CSP in utility components
4 participants