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

chore: Removes next/image dependency from ui/component SKUMatrixSidebar #2639

Merged
merged 3 commits into from
Jan 29, 2025

Conversation

hellofanny
Copy link
Contributor

@hellofanny hellofanny commented Jan 28, 2025

What's the purpose of this pull request?

We should not use next/image dependency in our components package.

note: We agreed that this component does not fit within our components library, we should move it to core.

How it works?

Adds ImageComponent that can use to render the image. Then we can use the next/image in core.

How to test it?

  1. run the application locally or use this preview
  2. go to Headphone Default plp -> check if the SkuMatrixSidebar image is rendered as expected using next/image
image image

Starters Deploy Preview

[WIP]

References

SFS-2025

Copy link

vercel bot commented Jan 28, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated (UTC)
faststore-site ✅ Ready (Inspect) Visit Preview Jan 28, 2025 2:18pm

Copy link

codesandbox-ci bot commented Jan 28, 2025

This pull request is automatically built and testable in CodeSandbox.

To see build info of the built libraries, click here or the icon next to each commit SHA.

@hellofanny hellofanny marked this pull request as ready for review January 28, 2025 13:59
@hellofanny hellofanny requested a review from a team as a code owner January 28, 2025 13:59
@hellofanny hellofanny requested review from emersonlaurentino and lucasfp13 and removed request for a team January 28, 2025 13:59
@hellofanny hellofanny self-assigned this Jan 28, 2025
Copy link
Member

@eduardoformiga eduardoformiga left a comment

Choose a reason for hiding this comment

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

LGTM!

@hellofanny hellofanny merged commit 9d5231c into main Jan 29, 2025
8 checks passed
@hellofanny hellofanny deleted the chore/sku-matrix-image branch January 29, 2025 14:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants