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

Added validator for SVGs #17753

Merged
merged 6 commits into from
Jan 23, 2025
Merged

Added validator for SVGs #17753

merged 6 commits into from
Jan 23, 2025

Conversation

przemyslaw-zan
Copy link
Member

Suggested merge commit message (convention)

Internal: Added CI validator for editor SVG icons.


Additional information

For example – encountered issues, assumptions you had to make, other affected tickets, etc.

.circleci/template.yml Outdated Show resolved Hide resolved
@pomek
Copy link
Member

pomek commented Jan 16, 2025

As we discussed internally, could we extend an existing SVG validator (svgo) by a custom plugin to avoid doing the same thing in different ways?

@przemyslaw-zan przemyslaw-zan requested a review from pomek January 16, 2025 19:34
@@ -28,6 +30,7 @@ module.exports = {
},
{ name: 'removeTitle' },
{ name: 'removeComments' },
{ name: 'removeMetadata' }
{ name: 'removeMetadata' },
svgoViewBoxPlugin
Copy link
Member

Choose a reason for hiding this comment

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

It works as expected.

image

However, it turns out that the commercial repository has not executed this validator.

Fortunately, icons will land in a single repository soon so that we can deal with it.

Copy link
Member Author

Choose a reason for hiding this comment

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

I'm not sure how to reproduce this issue, could you provide reproduction steps?

@pomek pomek merged commit 46a5ae1 into master Jan 23, 2025
10 checks passed
@pomek pomek deleted the builder/1190 branch January 23, 2025 11:07
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