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(leadspace): in storybook adding long copy to copy knob led to button being clipped away #12117

Merged

Conversation

bruno-amorim
Copy link
Contributor

@bruno-amorim bruno-amorim commented Nov 21, 2024

Related Ticket(s)

ADCMS-6827

Description

Adding long text to the leadspace copy knob leads to clipping the text & CTAs.

Issue:
image

Fixed:
image

NOTE

There's an apparent bug in all heading/title knobs in all components, when you try to modify it, we get the below error.
I've been trying to debug this error, but with @m4olivei 's help, we found out it's an issue that's been sitting there for a while now, so It would just be very time consuming for the tiny fix that was the original scope of this ticket
example3

@bruno-amorim bruno-amorim requested a review from a team as a code owner November 21, 2024 20:32
@bruno-amorim bruno-amorim requested review from m4olivei, marcelojcs, andy-blum and Valentin-Sorin-Nicolae and removed request for a team November 21, 2024 20:32
Copy link

netlify bot commented Nov 21, 2024

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

Name Link
🔨 Latest commit 202dbb5
🔍 Latest deploy log https://app.netlify.com/sites/ibm-dotcom-web-components/deploys/6740df2076857a0008e78562
😎 Deploy Preview https://deploy-preview-12117--ibm-dotcom-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.

Copy link

netlify bot commented Nov 21, 2024

Deploy Preview for ibm-dotcom-web-components-react-wrap ready!

Name Link
🔨 Latest commit 202dbb5
🔍 Latest deploy log https://app.netlify.com/sites/ibm-dotcom-web-components-react-wrap/deploys/6740df2097f17b00082787a3
😎 Deploy Preview https://deploy-preview-12117--ibm-dotcom-web-components-react-wrap.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
Member

@andy-blum andy-blum left a comment

Choose a reason for hiding this comment

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

While this fixes the medium leadspace, super, tall, and short still have the ability to overflow & clip

@bruno-amorim
Copy link
Contributor Author

@andy-blum This latest commit will address your last comment. Thank you!

Copy link
Contributor

@m4olivei m4olivei left a comment

Choose a reason for hiding this comment

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

I'm seeing a visual regression here for the default values. Most obvious in Super. Comparing current v2 to the deploy preview here:

Monosnap.screencast.2024-11-22.11-36-35.mp4

As a sidenote, I was surprised to realize that the Leadspace stories aren't represented in Percy.

@m4olivei m4olivei self-requested a review November 22, 2024 18:09
@m4olivei m4olivei added the Ready to merge Label for the pull requests that are ready to merge label Nov 22, 2024
@kodiakhq kodiakhq bot merged commit 86647b3 into carbon-design-system:main Nov 22, 2024
25 checks passed
@andy-blum
Copy link
Member

Closes #12114

Copy link
Contributor

Hey there! This issue/pull request was referenced in recently released v2.16.0.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Ready to merge Label for the pull requests that are ready to merge
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants