Page MenuHomePhabricator

[native] Update `SWMansionIcon` component with cleaned up icons
ClosedPublic

Authored by atul on Aug 17 2022, 7:22 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sun, Jun 23, 11:38 PM
Unknown Object (File)
May 14 2024, 4:40 PM
Unknown Object (File)
Apr 20 2024, 2:06 PM
Unknown Object (File)
Apr 20 2024, 2:06 PM
Unknown Object (File)
Apr 20 2024, 1:59 PM
Unknown Object (File)
Apr 11 2024, 11:24 AM
Unknown Object (File)
Apr 4 2024, 1:10 AM
Unknown Object (File)
Apr 3 2024, 1:59 AM
Subscribers

Details

Summary

It took a while to clean up the source vectors (converting strokes to outlines, joining paths w/ union, subtract, intersect, difference properly, flattening things, getting alignment correct, getting things exported properly, etc).

Once that was all figured out, imported the cleaned up icons into IcoMoon and prepared for export. Retrieved the relevant TTF fonts and JSON config from IcoMoon and replaced the existing fonts/config in the project.

Everything continues to look as expected (or better), but a few icon names have changed. I'll add the icon name changes to this diff to avoid spamming Phabricator with a bunch of rename diffs.


We're now including the entire SWMansion icon pack (all 275 icons) so we should hopefully never have to look at this again. If we have additional icons we want to include in the future, they'll live in (the much smaller) CommIcons pack.

Test Plan

Tested the native app via the iOS Simulator and the icons appeared as expected. There are a few icons that didn't appear and had a ? in their place. I went through and replaced the old icon names with the corresponding new ones.

But other than that, it looks like this change went smoothly.

Diff Detail

Repository
rCOMM Comm
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

atul requested review of this revision.Aug 17 2022, 7:32 PM

replace old icon names w/ new icon names (the ones actually from the icon pack)

There are a few icons that don't appear and have a in their place. I'll go through and replace the old icon names with the corresponding new ones.

Did you already do this to make sure the icons don't have a ? in their place? From your latest update,

replace old icon names w/ new icon names (the ones actually from the icon pack)

it looks like you did, but you should probably update the Test Plan too now that it's been done.

atul edited the test plan for this revision. (Show Details)

it looks like you did, but you should probably update the Test Plan too now that it's been done.

Good catch, updated them this morning.

This revision is now accepted and ready to land.Aug 18 2022, 1:20 PM