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

[UXIT-1415] Refactor Dynamic Images #700

Merged
merged 5 commits into from
Oct 11, 2024
Merged

Conversation

mirhamasala
Copy link
Collaborator

@mirhamasala mirhamasala commented Oct 7, 2024

📝 Description

This pull request focuses on replacing the DynamicImage and StaticImage components with the next/image component to simplify image handling across the codebase. The most important changes include updating various components to use next/image, removing the obsolete DynamicImage and StaticImage components, and adjusting image properties accordingly.

  • Type: Refactor

🛠️ Key Changes

Image Handling Updates:

Component Removals:

Other Updates:

These changes help to streamline image handling, reduce redundancy, and improve maintainability across the project.

📌 To-Do Before Merging

  • Check how to handle Card when no image is provided (See /about reports vs. Fallbacks for FeaturedEcosystemProjects)
  • Test MarkdownContent

Copy link

vercel bot commented Oct 7, 2024

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

Name Status Preview Comments Updated (UTC)
filecoin-foundation-site ✅ Ready (Inspect) Visit Preview 💬 Add feedback Oct 10, 2024 2:55pm

Copy link

[FF] Rework Image Logic

@mirhamasala mirhamasala force-pushed the mm/refactor-dynamic-images branch from 4ffd7d3 to 0742d5c Compare October 10, 2024 12:35
@mirhamasala mirhamasala marked this pull request as ready for review October 10, 2024 14:49
@mirhamasala
Copy link
Collaborator Author

mirhamasala commented Oct 10, 2024

Reviewed live with @CharlyMartin & @barbaraperic - Thank you. 🙌🏼❤️🙌🏼

@mirhamasala mirhamasala mentioned this pull request Oct 10, 2024
1 task
@mirhamasala mirhamasala merged commit 2bd3853 into main Oct 11, 2024
5 checks passed
@mirhamasala mirhamasala deleted the mm/refactor-dynamic-images branch October 11, 2024 05:26
Copy link

sentry-io bot commented Oct 16, 2024

Suspect Issues

This pull request was deployed and Sentry observed the following issues:

  • ‼️ Error: TagGroup is not defined /events/fil-bangkok-2024 View Issue

Did you find this useful? React with a 👍 or 👎

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.

1 participant