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

Web component: Leadspace - Open canvas in new tab, gives an error page for the user #4976

Closed
Praveen-sr opened this issue Jan 22, 2021 · 1 comment
Assignees
Labels
bug Something isn't working dev complete dev Needs some dev work package: web components Work necessary for the IBM.com Library web components package severity 1 Affects major functionality, no workaround storybook
Milestone

Comments

@Praveen-sr
Copy link

Detailed description

Issue:
Leadspace - On knobs, edit/change 'number of buttons' or 'Icon' and then Open canvas in new tab, gives an error page for the user

Additional information

image.png

@Praveen-sr Praveen-sr added bug Something isn't working severity 1 Affects major functionality, no workaround labels Jan 22, 2021
@RobertaJHahn RobertaJHahn added this to the Sprint 21-02 milestone Jan 22, 2021
@RobertaJHahn RobertaJHahn added dev Needs some dev work package: web components Work necessary for the IBM.com Library web components package storybook Airtable Done labels Jan 22, 2021
kodiakhq bot pushed a commit that referenced this issue Jan 22, 2021
### Related Ticket(s)

#4976 

### Description

This changes the `web-component` webpack to use `file-loader` instead of `url-loader`. The latter base64 encodes images, which interfere with Storybook when used in knobs.

### Changelog

**Changed**

- Web components webpack config now uses `file-loader`

<!-- labels for the corresponding package: -->
<!-- *** "package: services": Services -->
<!-- *** "package: utilities": Utilities -->
<!-- *** "package: styles": Carbon Expressive -->
<!-- *** "RTL": React / Web Components (RTL) -->
<!-- *** "feature flag": React / Web Components (experimental) -->
@kennylam
Copy link
Member

IgnacioBecerra pushed a commit to IgnacioBecerra/ibm-dotcom-library that referenced this issue Feb 22, 2021
…stem#4986)

### Related Ticket(s)

carbon-design-system#4976 

### Description

This changes the `web-component` webpack to use `file-loader` instead of `url-loader`. The latter base64 encodes images, which interfere with Storybook when used in knobs.

### Changelog

**Changed**

- Web components webpack config now uses `file-loader`

<!-- labels for the corresponding package: -->
<!-- *** "package: services": Services -->
<!-- *** "package: utilities": Utilities -->
<!-- *** "package: styles": Carbon Expressive -->
<!-- *** "RTL": React / Web Components (RTL) -->
<!-- *** "feature flag": React / Web Components (experimental) -->
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working dev complete dev Needs some dev work package: web components Work necessary for the IBM.com Library web components package severity 1 Affects major functionality, no workaround storybook
Projects
None yet
Development

No branches or pull requests

4 participants