Skip to content

Refactor/to scss blog tag#252

Merged
shayla-develops-webs merged 6 commits intomainfrom
Refactor/to-scss-blog-tag
Jul 21, 2025
Merged

Refactor/to scss blog tag#252
shayla-develops-webs merged 6 commits intomainfrom
Refactor/to-scss-blog-tag

Conversation

@shayla-develops-webs
Copy link
Copy Markdown
Member

Web Dev Path
238

Have you updated the CHANGELOG.md file? If not, please do it.

yes

What is this change?

Migrated the tag component from styled components to CSS modules

Were there any complications while making this change?

no

How to replicate the issue?

n/a

If necessary, please describe how to test the new feature or fix.

When should this be merged?

after review

Image Reference

image

@netlify
Copy link
Copy Markdown

netlify Bot commented Jul 10, 2025

Deploy Preview for webdevpathstage ready!

Name Link
🔨 Latest commit 876a82c
🔍 Latest deploy log https://app.netlify.com/projects/webdevpathstage/deploys/687e7d3146de920008700f44
😎 Deploy Preview https://deploy-preview-252--webdevpathstage.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 project configuration.

cherylli
cherylli approved these changes Jul 10, 2025
Comment thread CHANGELOG.md Outdated
Comment thread components/blog/Tag/Tag.module.scss Outdated
@cherylli cherylli self-requested a review July 10, 2025 14:10
Copy link
Copy Markdown
Member

@cherylli cherylli left a comment

Choose a reason for hiding this comment

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

please disregard my previous review. I missed the hardcoded color values

Copy link
Copy Markdown
Member

@briangesteban briangesteban left a comment

Choose a reason for hiding this comment

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

Just as what Satoshi and Cheryl said, just need to change the static color to a CSS variable, so when we need to update the colors, we only need to update one file, which is the variables partials; also helps us implement theming in the future. Aside from that, it looks great!

variable for light background color in themes.scss
and applied it to the Tag component.
Update changelog to reflect the addition
of the BlogTag component.
@shayla-develops-webs shayla-develops-webs requested a review from a team July 10, 2025 23:18
Copy link
Copy Markdown
Member

@Satoshi-Sh Satoshi-Sh left a comment

Choose a reason for hiding this comment

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

Looks good to me. Thanks for your work, Shayla.

Copy link
Copy Markdown
Member

@briangesteban briangesteban left a comment

Choose a reason for hiding this comment

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

Looks good to me!

If you have sometime it's also better to update the changelog request of Satoshi, although it's not a big deal, it makes our changelog consistent (as we are talking about component names on those changes).

Thanks @shayla-develops-webs!

Copy link
Copy Markdown
Member

@cherylli cherylli left a comment

Choose a reason for hiding this comment

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

hi @shayla-develops-webs please resolve conflicts

Copy link
Copy Markdown
Member

@cherylli cherylli left a comment

Choose a reason for hiding this comment

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

thanks @shayla-develops-webs. please merge into main when you have a chance 🙂

@shayla-develops-webs shayla-develops-webs merged commit 4d6c353 into main Jul 21, 2025
3 of 4 checks passed
@shayla-develops-webs shayla-develops-webs deleted the Refactor/to-scss-blog-tag branch July 21, 2025 17:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants