Skip to content

fix(#2956): 🚑 firebase icon not working#2957

Merged
PKief merged 1 commit intomaterial-extensions:mainfrom
lucas-labs:fix/issue-2956
Apr 3, 2025
Merged

fix(#2956): 🚑 firebase icon not working#2957
PKief merged 1 commit intomaterial-extensions:mainfrom
lucas-labs:fix/issue-2956

Conversation

@lucas-labs
Copy link
Copy Markdown
Member

Svgo broke the new firebase file icon during release v5.21.0.

The file was quite complex, using transforms and other stuff that svgo probably didn't like. This commit doesn't change the shape, just simplifies the svg markup.

Closes: #2956
Ref: 058ea1c, #2924

Description

Contribution Guidelines

Svgo broke the new firebase file icon during release v5.21.0.
The file was quite complex, using `transforms` and other stuff
that svgo probably didn't like. This commit doesn't change the
shape, just simplifies the svg markup.

Closes: material-extensions#2956
Ref: 058ea1c
@github-actions github-actions bot added the icons PR with new icons label Apr 3, 2025
@github-actions
Copy link
Copy Markdown
Contributor

github-actions bot commented Apr 3, 2025

Preview

Thank you for creating a pull request. This preview shows you how your icon will look on the different themes:

Generated preview

Check how your icon fits in a 16x16 grid with our Pixel Perfect Checker by following this link.

You can find more information on how to contribute in the contribution guidelines.

@lucas-labs lucas-labs requested a review from PKief April 3, 2025 14:35
Copy link
Copy Markdown
Member

@PKief PKief left a comment

Choose a reason for hiding this comment

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

Good catch, thank you very much for fixing it! :)

@PKief PKief merged commit 1cb2930 into material-extensions:main Apr 3, 2025
5 checks passed
@github-actions
Copy link
Copy Markdown
Contributor

github-actions bot commented Apr 3, 2025

Merge Successful

Thanks for your contribution! 🎉

The changes will be part of the upcoming update on the Marketplace.

@ciriousjoker
Copy link
Copy Markdown
Contributor

Sorry for breaking this. I'm pretty sure I originally checked to make sure the svgs work properly, but I probably re-exported them again at the end and I just assumed they would still work instead of checking again. Thanks for the quick fix!

@lucas-labs
Copy link
Copy Markdown
Member Author

@ciriousjoker don't worry, the svg was a valid svg, but before releasing we run a tool called svgo to optimize it. It was actually svgo who broke the file 😅

@ciriousjoker
Copy link
Copy Markdown
Contributor

Yes, but I checked and this also happens when running the extension locally, so I should have spotted it.

@PKief
Copy link
Copy Markdown
Member

PKief commented Apr 4, 2025

Yes, but I checked and this also happens when running the extension locally, so I should have spotted it.

Our SVG optimizer tool called SVGO only runs while doing a release:

It's not part of the local build process. You can also execute it locally by running "bun run preversion" to see the actual changes of it. But it's definitely not your fault. It's not required to run this command locally.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

icons PR with new icons

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Bug]: Firebase Icons disappeared

3 participants